JBoss Seam: Simplicity and Power Beyond Java EE [NOOK Book]

Overview

This is the eBook version of the printed book.

A new edition of this title is available, ISBN-10: 0137129394 ISBN-13: 9780137129393

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 ...

See more details below
JBoss Seam: Simplicity and Power Beyond Java EE

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

NOOK Book (eBook)
$19.99
BN.com price
(Save 44%)$35.99 List Price

Overview

This is the eBook version of the printed book.

A new edition of this title is available, ISBN-10: 0137129394 ISBN-13: 9780137129393

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 michaelyuan.com/seam/.

prenhallprofessional.com

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

Read More Show Less

Product Details

  • ISBN-13: 9780132712989
  • Publisher: Pearson Education
  • Publication date: 5/10/2007
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 432
  • Sales rank: 1,348,047
  • File size: 18 MB
  • Note: This product may take a few minutes to download.

Meet the Author

Michael Yuan is a product manager and technical evangelist at Red Hat Inc. working on Seam, JBoss Application Server, and other middleware products. He contributes code to the Seam project and writes about Seam in his blog (michaelyuan.com/blog/ ). Before joining JBoss, Michael was a software consultant for mobile end-to-end applications. He published three books on mobile technologies, including Enterprise J2ME and Nokia Smartphone Hacks.

After being a contributor to the pre-JBoss Portal project, Thomas Heute was hired by JBoss Inc. in 2004. He started as a software developer in the JBoss Portal team, and then became the colead of the JBoss Seam project in 2005, with the vision to bring EJB3 closer to JSF. At the end of 2006 Thomas came back to pursue his duty among the JBoss Portal team to work on various tasks.

Read More Show Less

Table of Contents

About This Book xv

About the Authors xvi

Acknowledgments xvii

Part I: Getting Started 1

Chapter 1: What Is Seam? 3

Chapter 2: Seam Hello World 11

Chapter 3: Recommended JSF Enhancements 31

Chapter 4: Rapid Application Development Tools 55

Part II: Stateful Applications Made Easy 75

Chapter 5: An Introduction to Stateful Framework 77

Chapter 6: A Simple Stateful Application 87

Chapter 7: Conversations 99

Chapter 8: Workspaces and Concurrent Conversations 117

Chapter 9: Transactions 127

Part III: Integrating We b an d Dat a Component s 135

Chapter 10: Validate Input Data 137

Chapter 11: Clickable Data Tables 149

Chapter 12: Bookmarkable Web Pages 157

Chapter 13: The Seam CRUD Application Framework 169

Chapter 14: Failing Gracefully 183

Part IV: AJAX Support 195

Chapter 15: Custom and AJAX UI Components 197

Chapter 16: Enabling AJAX for Existing Components 211

Chapter 17: Direct JavaScript Integration 225

Part V: Busines s Processe s and Rules 243

Chapter 18: Managing Business Processes 245

Chapter 19: Stateful Pageflows 267

Chapter 20: Rule-Based Security Framework 277

Part VI: Testin g Sea m Application s 289

Chapter 21: Unit Testing 291

Chapter 22: Integration Testing 303

Part VII: Productio n Deploymen t 311

Chapter 23: Java EE 5.0 Deployment 313

Chapter 24: Seam Without EJB3 319

Chapter 25: Tomcat Deployment 333

Chapter 26: Using a Production Database 345

Chapter 27: Performance Tuning and Clustering 351

Appendix A: Installing and Deploying JBoss AS 365

Appendix B: Using Example Applications as Templates 371

Index 387

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Anonymous

    Posted May 15, 2007

    To know why...

    The seam supplied documentation is good, but you are left wanting more... like why?. This book answered a lot of questions about Seam and improved my productivity with Seam. I enjoyed the way the book was written and found it an easy read.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted May 22, 2007

    concise code examples

    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?

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)