JBoss Seam: Simplicity and Power Beyond Java EE

  Author:    Michael Juntao Yuan, Thomas Heute
  ISBN:    0131347969
  Sales Rank:    337162
  Published:    2007-01-19
  Publisher:    Prentice Hall PTR
  # Pages:    208
  Binding:    Paperback
  Avg. Rating:    4.0 based on 10 reviews
  Used Offers:    9 from $23.46
  Amazon Price:    $26.39
  (Data above last updated:  2008-11-18 08:31:05 EST)
  
  
Sort customer reviews by:
  
Show All Reviews on Page      Hide All Reviews on Page
   
  
JBoss Seam: Simplicity and Power Beyond Java EE
  

Discover JBoss Seam: the Unified Framework for Simpler, More Powerful Web Development

JBoss Seam integrates EJB 3.0 and JSF components under a unified framework that simplifies and accelerates Java EE web development. Now, JBoss Seam’s project leader and technology evangelist take you inside this powerful new technology, showing exactly how to put it to work.

Michael Yuan and Thomas Heute show how JBoss Seam enables you to create web applications that would have been difficult or impossible with previous Java frameworks. Through hands-on examples and a complete case study application, you’ll learn how to leverage JBoss Seam’s breakthrough state management capabilities; integrate business processes and rules; use AJAX with Seam; and deploy your application into production, one step at a time. Coverage includes

How JBoss Seam builds on–and goes beyond–the Java EE platform

• Using the â??Stateful Frameworkâ??: conversations, workspaces, concurrent conversations, and transactions

• Integrating the web and data components: validation, clickable data tables, and bookmarkable web pages

• Creating AJAX and custom UI components, enabling AJAX for existing JSF components, and JavaScript integration via Seam Remoting

• Managing business processes, defining stateful pageflows, and implementing rule-based security

• Testing and optimizing JBoss Seam applications

• Deploying in diverse environments: with Tomcat, with production databases, in clusters, without EJB 3, and more

* Download source code for this book’s case study application at http://michaelyuan.com/seam/.

www.prenhallprofessional.com

www.jboss.com

About This Book

About the Authors

Acknowledgments

Part I: Getting Started

Chapter 1: What Is Seam?

Chapter 2: Seam Hello World

Chapter 3: Recommended JSF Enhancements

Chapter 4: Rapid Application Development Tools

Part II: Stateful Applications Made Easy

Chapter 5: An Introduction to Stateful Framework

Chapter 6: A Simple Stateful Application

Chapter 7: Conversations

Chapter 8: Workspaces and Concurrent Conversations

Chapter 9: Transactions

Part III: Integrating Web and Data Components

Chapter 10: Validate Input Data

Chapter 11: Clickable Data Tables

Chapter 12: Bookmarkable Web Pages

Chapter 13: The Seam CRUD Application Framework

Chapter 14: Failing Gracefully

Part IV: AJAX Support

Chapter 15: Custom and AJAX UI Components

Chapter 16: Enabling AJAX for Existing Components

Chapter 17: Direct JavaScript Integration

Part V: Business Processes and Rules

Chapter 18: Managing Business Processes

Chapter 19: Stateful Pageflows

Chapter 20: Rule-Based Security Framework

Part VI: Testing Seam Applications

Chapter 21: Unit Testing

Chapter 22: Integration Testing

Part VII: Production Deployment

Chapter 23: Java EE 5.0 Deployment

Chapter 24: Seam Without EJB3

Chapter 25: Tomcat Deployment

Chapter 26: Using a Production Database

Chapter 27: Performance Tuning and Clustering

Appendix A: Installing and Deploying JBoss AS

Appendix B: Using Example Applications as Templates

Index

                  Reader Reviews 1 - 10 of 10                 
  
  
Review
Date
Review
Rating(5 High)
Review
Helpful
to:
Customer Review Reviewer
Info
Permanent
Link
Reader Reviews Below Sorted by Newest First
08-19-08 4 (NA)
(Hide Review...)  Very good book
Reviewer Permalink
Very good book. It gives good knowledge about how to write
applications in this framework. Many working examples are also
appreciated.

In the beginning authors explain what is Seam, and it is understood,
as Seam is much different than any other framework with similar
functionality. Seam is not meant for using it as "white box". It is
rather "black box", designed for just using it, without knowing inside
details. Because of this debugging Seam code is tedious task, and in
fact unnecessary. There is chapter in the book explaining how to use
debugging mechanism built in Seam, so called "debug pages". One can
check session state, stacktrace or JSF components tree. Very helpful
for anyone writing web applications in this framework.

There is also chapter about business processes and business rules.
Yes, this is also built in Seam. As an example in the book is ticket
system. User logs in, lists tasks and assigns them to herself.
Developer does not need to care about storing users tasks in database,
it is enough to set component scope to BUSINESS_PROCESS. This is very
interesting functionality, and although it is explained quite well in
the book, I would like it to be explained even better.

There is good testing support in Seam and this is also well described
in the book. Seam provides tools to do in tests what is normally done
by container, like dependency injection, database and transactions
mocking etc.

Another chapter is about running Seam applications on non-ejb3
containers (like Tomcat).

The book covers many topics, not only about Seam itself, but also
about how to use Seam, test, how to deploy applications on non-seam
container, how to connect to another than default database etc. The
book is targeted for real users, for people working with the
framework.

What I miss is more insight into how Seam internally works. Such
knowledge is not necessary to write working apps, but I just like to
know such things.

Some knowledge about JSF and EJB3 is also very useful when reading
this book. I would like some of this stuff explained, but on the other
hand it is book about Seam not about EJB3/JSF.

I think reading this book is very good for someone who wants to write
applications in Seam, even advanced ones. Seam is interesting
technology, much different than pure JSF+EJB3, and it's worth
learning, even for someone not using it at work, just to see new
possibilities.
(Review Data Last Updated: 2008-11-18 08:34:32 EST)
03-30-08 2 (NA)
(Hide Review...)  Too short
Reviewer Permalink
Compared to other computer books this book is to shallow and does not cover the depths of Seam. I would like a more continous example throughout the book instead of a collection of small, rather trivial examples.
(Review Data Last Updated: 2008-08-20 05:14:59 EST)
03-26-08 4 (NA)
(Hide Review...)  Very good introduction to Seam and what WebApp dev should be!
Reviewer Permalink
It's not a cookbook with ready made recipes. It gives a shallow but complete overview of the Seam framework features. That is important because if you don't know it exists you will never try to use it. Examples: XHTML validation tags for Hibernate, conversation state, and much more.

It's a must read to get a good start with Seam and to learn what WebApp development should have been from the beginning.
(Review Data Last Updated: 2008-03-31 19:35:09 EST)
12-13-07 5 (NA)
(Hide Review...)  Excellent book on seam
Reviewer Permalink
Its a great book.. It difficult to learn Seam without this book.
It may be slightly dated, with Seam 2.0 coming out recently.
But per the author, there are not significant changes in the code
ie mainly config changes.
(eg they recommend JPA with tomcat instead of embedded server option
with tomcat)

Seam(and specifically seam-gen) still has some significant bugs/issues
to iron out(but workaround exists).
(Review Data Last Updated: 2008-03-27 03:39:41 EST)
08-27-07 3 1\1
(Hide Review...)  Good for Learning, Not as Good for Reference
Reviewer Permalink
This is a very good book for learning about SEAM, a web framework that I would consider one of the best for its simplicity and power. However, what this book is best at is teaching you the basics of SEAM (though is some areas, such as stateful navigation rules, it doesn't go deep enough).

Where this book lacks most is as a reference book. The reason for this is that many concepts are introduced well before the chapters that talk about them. When looking back at these concepts, I find myself having to find the first place the concept is introduced because the chapter about that assumes that you have read the earlier introduction.

Overall this is a good book for learning the basics of SEAM. However, it is not a good in-depth reference. Nevertheless, SEAM is an excellent technology and there are not yet many good books on it. This book will bring you up to speed on SEAM pretty quickly so I still recommend it.
(Review Data Last Updated: 2007-12-14 18:43:44 EST)
07-19-07 5 1\1
(Hide Review...)  EXCELLENT INTRODUCTION TO SEAM!
Reviewer Permalink
I needed to develop a project and fast. I purchased this book because I needed to get Seam up and running quickly. I found it very clearly written: with helpful examples and source code. It also provides a introduction to AJAX and has a few chapter on how to integrate AJAX with JSF and Seam. Very interesting! I recommend this book 100 percent!
(Review Data Last Updated: 2007-08-27 21:16:12 EST)
07-11-07 5 1\1
(Hide Review...)  Excellent introduction to Seam
Reviewer Permalink
This book is a great introduction to Seam, almost (but not quite) addressing it as a complete framework. I would actually like to see it treated as a single entity a little more - there are still times when you need to have a moderate understanding of what's going on in JSF vs. EJB3 for example, even though there are other times when thinking in those mindsets is a little misleading.

My main reason for giving 4 stars instead of 5 is that there aren't a huge number of "best practices" given and, especially for a new framework like Seam, some idea as to good habits (other than "read the examples,") would be welcomed in places. Still, it can be hard to do that for a new technology, which I do appreciate.

All told, a valuable addition to your Java library, especially at Amazon prices.
(Review Data Last Updated: 2007-07-19 22:14:32 EST)
07-08-07 5 (NA)
(Hide Review...)  Simplicity and Power Beyond Java EE is the item of choice for any serious Java EE programmer.
Reviewer Permalink
Jboss Seam blends EJB 3.0 and JSF components under one framework: for Java developers this means an easier tool for taking full advantage of Java EE web development routines - and for libraries catering to professional Java programmers, it means a top pick which goes further than the Java EE platform itself. From integrating web and data components and pages to creating AJAX and custom UI components and optimizing Jboss Seam, Jboss Seam: Simplicity and Power Beyond Java EE is the item of choice for any serious Java EE programmer.
(Review Data Last Updated: 2007-07-11 22:46:37 EST)
05-22-07 5 7\7
(Hide Review...)  concise code examples
Reviewer Permalink
Yuan and Heute offer the Java programmer a very tempting route away from using the standard Java Enterprise Edition. As they point out, EE version 5 is an uncomfortable mixture of EJBs and JSF. The EJBs exist on the server side and encapsulate business logic. While the JSF is used, also on the server side, as a model-view-controller framework for Web work. In general, separating the MVC from the business logic is correct. But if you have to code EJBs and JSF together, then things get awkward. Code gets verbose and hard to structure.

The book's alternative is Seam, which is meant to be a filler between EJBs and JSF. One nice aspect is that Seam is inherently stateful. For a Web user session, this is vital, and it's nice from the text to see state built into Seam, without you having to shoehorn it in.

Perhaps the most persuasive parts of the book are the code examples. Granted, the authors wrote these to be as concise and elegant as possible. But if you accept that most authors of computer books do this, then you can quickly appreciate the contrast between the code here and comparable code in texts on EJBs and JSF. The latter code examples are much longer and more intricate. The brevity of code writing that Seam affords you can greatly help in two ways. Quicker to write. And quicker to debug.

Having said this, I am undecided about one aspect of the text. Involving what is called "dependency bijection". It is meant as a lightweight way for POJOs to interact with each other. As opposed to using framework interfaces or abstract classes. But the extensive use of interfaces (and abstract classes) has led to the successful development of extensible packages like Eclipse. (And I'm sure readers can cite other examples.) Is it the case that interface implementations do have limitations, perhaps in the context of Web servers and business logic?
(Review Data Last Updated: 2007-07-10 20:47:30 EST)
04-12-07 2 0\9
(Hide Review...)  Informative
Reviewer Permalink
This book seems to be a compilation of Michael Yuan's notes which are very informative. I learned a lot and will use it later as a reference.

Rather than walk you through each code example step-by-step, he at times refers to one and then cuts off the discussion. I was hoping the book would be easier to read for beginners to JSF, EJB3, Java 5 and Seam.

For beginners, I recommend "Beginning JBoss® Seam: From Novice to Professional" by Joseph Faisal Nusairat

You should also read the free JBoss Seam online documentation.

I strongly recommend JBoss Seam as a new, powerful development environment.

(Review Data Last Updated: 2007-05-22 05:48:54 EST)
  
                  Reader Reviews 1 - 10 of 10                 
  
  
  
  
  
  

Because the data used to generate this site come from outside sources, VeryWellSaid.com cannot guarantee the completeness or accuracy of the data.
Search VeryWellSaid™
Google
Web VeryWellSaid™
New subjects are added every week.
View Subjects Below by:
* Top Selling
 (click category name, left)
* Top-Rated Top Sellers
 (click 'Top Rated', right)
In the news...  
Dubai\UAE Top Rated
Influenza\Bird Flu Top Rated
Iraq Top Rated
Supreme Court Top Rated
All Books Top Rated
Arts Top Rated
Photography Top Rated
Digital Photography Top Rated
Digital Cameras Top Rated
Biography Top Rated
Business Top Rated
Management Top Rated
Marketing Top Rated
Sales Top Rated
Stocks Top Rated
Bonds Top Rated
Real Estate Top Rated
Trading Top Rated
Commodities Trading Top Rated
Time Management Top Rated
Starting A Business Top Rated
Children's Top Rated
Comics Top Rated
Computers Top Rated
PC Top Rated
Mac Top Rated
Programming Top Rated
Design Patterns Top Rated
.Net Top Rated
C# Top Rated
Vb.Net Top Rated
Asp.Net Top Rated
Java Top Rated
Python Top Rated
PHP Top Rated
Perl Top Rated
Javascript Top Rated
Ajax Top Rated
CSS Top Rated
Open Source Top Rated
SQL Top Rated
Databases Top Rated
Oracle Top Rated
MySql Top Rated
Sql Server Top Rated
IIS Top Rated
Apache Top Rated
Linux Top Rated
Windows Server Top Rated
Project Management Top Rated
HTML Top Rated
UML Top Rated
IT Certifications Top Rated
Cisco Certifications Top Rated
MCSE Top Rated
MCSD Top Rated
Cooking Top Rated
Italian Cooking Top Rated
Vegetarian Cooking Top Rated
Wine Top Rated
Engineering Top Rated
Entertainment Top Rated
Health Top Rated
Nutrition Top Rated
Dieting Top Rated
Sex Top Rated
History Top Rated
Military History Top Rated
British History Top Rated
Middle East History Top Rated
Land Battles Top Rated
Naval Warfare Top Rated
Air Warfare Top Rated
9/11 Top Rated
Terrorism Top Rated
Home Top Rated
Mortgage\Home Equity Loan Top Rated
Cars Top Rated
Car Buying Top Rated
Sports Cars Top Rated
Cat Top Rated
Humor Top Rated
Horror Top Rated
Law Top Rated
IP Law Top Rated
Legal History Top Rated
Fiction Top Rated
Oprah's Book Club Top Rated
Medicine Top Rated
Cancer Top Rated
Stroke Top Rated
Heart Disease Top Rated
Fertility Top Rated
Diabetes Top Rated
Pharmacology Top Rated
Back Problems Top Rated
Menopause Top Rated
Thyroid Top Rated
Pain Top Rated
Organic Chemistry Top Rated
Immune System Top Rated
Mystery Top Rated
Nonfiction Top Rated
Outdoors Top Rated
Running Top Rated
Radio Control Models Top Rated
Guns Top Rated
Parenting Top Rated
Divorce Top Rated
Professional Top Rated
Reference Top Rated
Religion Top Rated
Romance Top Rated
Science Top Rated
Physics Top Rated
Chemistry Top Rated
Astronomy Top Rated
Psychology Top Rated
Science Fiction Top Rated
Sports Top Rated
Teens Top Rated
Travel Top Rated
USA Top Rated
Europe Top Rated
France Top Rated
Italy Top Rated
England Top Rated
China Top Rated
All Books Arts Biography Click Here For An A-Z Index Of All 213 Best-Seller Subjects Business Children's Comics
Computers Cooking Engineering Entertainment Health History Home Horror Humor Law Fiction Medicine Mystery
Nonfiction Outdoors Parenting Professional Reference Religion Romance Science Sci-Fi Sports Teens Travel
In Association with Amazon.com

Cache miss
(not cached)