Feast your eyes on all chapters!

March 18, 2008

I am thrilled (and tremendously relieved) to announce that the full manuscript of Seam in Action has been released through the Manning Early Access Program (MEAP). This release entails a completely revamped first chapter and editorial improvements through chapter 7 based on the feedback from a very dedicated group of reviewers. I am expecting to have at least one more MEAP release that incorporates the feedback into the remaining chapters of the book.

If you are one of those folks who crave in depth information about Seam right now are willing to absorb the rough spots, then your wait is over! As one reviewer put it, "You did an amazing amount of work on this book." Yes, I agree.

For those of you who demand that last mile to be completed before reading it, you won't have to wait too much longer. The book has officially entered into production! I am dedicating what little energy I have left, supplemented by my relief team at Manning, to complete this book and get it into your hands before the lazy days of summer arrive.

Note: Keep in mind that these are early release chapters. They have not yet been through the rigorous technical and copy editing process that you can expect to be done for the final manuscript.

So what's new?

Chapter 11 shows how quickly you can weave security into a Seam application. At the most basic level, you only have to write a single method on a POJO class and you have both authentication and role-based authorization. You can block off access using either annotations or a special EL function. Going deeper, you are given a crash course on the Drools rule engine and then learn how to use it to add rule-based security at the page, business method, and entity levels. Finally, to keep out those pesky spammers and bots, you learn that CAPTCHA is virtually a zero effort integration in a Seam application.

Security is critical, but it can be dry for some. But everyone loves Ajax! Chapter 12 demonstrates the two flavors of Ajax that you can use in a Seam application. The first honors the JSF component model by using Ajax-enabled UI components from the RichFaces/Ajax4jsf library. These components allow you to adopt Ajax without having to suffer from cross-browser JavaScript and CSS nightmares that keep you up at night. If you would rather do things your own way and prefer to navigate around the JSF component model, you can interact directly with Seam components on the server-side using the JavaScript Remoting library. This approach is best if you are planning on designing a single-page application, perhaps even using GWT as a front-end rather than JSF.

If the last three chapters are a full course meal, then chapter 13 is definitely dessert. In this chapter, you discover how to make your application pop. It starts by learning how to accept file uploads with a simple JSF input binding. You then discover the versatility of Facelets templates by using them create and serve PDF documents and compose and send email messages with attachments. You round it off by learning what themes and i18n messages have in common and how they can be used to customize the look and feel of your application.

That is where the book ends and the bonus online material picks up. Chapter 14 takes you into the world of business processes and shows you that they aren't nearly as scary as they seem. In fact, you learn in this chapter that if you are on FaceBook, you may be playing a role in a business process more often then you think. When was the last time you added a friend? Seam treats business processes with the same consistent approach that is used across the framework and therefore they aren't any more complex than single-user conversations. If you want to see what the excitement is all about, start with this chapter first.

You already saw chapter 15 as part of the last release, which details how to integrate Seam and Spring using Seam's Inversion of Control (IoC) bridge. For those of you who won't pick up another framework if you have to let go of Spring, this is definitely the chapter for you.

Enjoy your feast!

Posted at 12:41 PM in Java, Seam, Seam in Action | Permalink Icon Permalink

7 Comments from the Peanut Gallery

1 | Posted by Thomas Moerman on March 18, 2008 at 03:09 PM EST

I have read three quarters of the book by now through the Manning Early Access program and all i can say is this is THE book on Seam i have been waiting for. Incredible depth, fluent narrative, highly recommended.

2 | Posted by Kenneth Mark on March 21, 2008 at 06:56 AM EST

Bought the electronic version few days ago and although I'm still in the middle of it, this book already answered lot of mines questions about Seam. Finally found THE book that will let me understand Seam. I've tried many others and none fulfill what Seam in Action offers. Great work !

3 | Posted by Jason Porter on March 25, 2008 at 04:18 PM EST

Looking over the table of contents, in the rich section do you talk about ICEFaces at all, or are all of the examples in the book based around RichFaces?

4 | Posted by Sebastien Michea on March 25, 2008 at 06:46 PM EST

We developed few applications in Seam and Ajax4JSF was such a pain... I'm eager to read chapter 12

5 | Posted by Dan Allen on March 25, 2008 at 09:47 PM EST

Jason,

For the most part, I use RichFaces in the examples simply to choose something other than the standard JSF components. Regardless of which component palette you choose, Seam works exactly the same since it honors the JSF component life cycle.

Only in chapter 12 is there really a focus on specific features of RichFaces/Ajax4jsf. I would very much like to include a couple of examples of ICEFaces in that chapter, but I am bursting at the seams as far as page count goes, so it is going to be tricky (I will still try, though).

As a concession, one way or the other, the example code will include both a RichFaces and ICEFaces version of the application.

6 | Posted by Jason Porter on March 26, 2008 at 11:11 AM EST

@Dan:

Excellent! I understand the page limit, and I'm very happy with the above mentioned concession if that's all that makes it into the final product. Thanks so much for getting back and responding.

7 | Posted by rk on March 30, 2008 at 02:20 AM EST

excellent piece, really helping me get started quickly with Seam.

RK http://www.RentalAndRealEstate.com http://theindiastockmarket.blogspot.com/

Got Something to Say?

Comment Form
Personal Info

Remember personal info?

Body