Seam 2.x Web Development

Build robust web applications with Seam, Facelets, and RichFaces using the JBoss application server

Seam 2.x Web Development

Starting
David Salter

Build robust web applications with Seam, Facelets, and RichFaces using the JBoss application server
$23.99
$39.99
RRP $23.99
RRP $39.99
eBook
Print + eBook

Get unlimited access to this and 3,500 other courses today!

With unlimited access to a constantly growing library of over 3,500 courses, a subscription to Mapt gives you everything you need to get that next promotion or to land that dream job. Cancel anytime.

+ Collection
Free Sample

Book Details

ISBN 139781847195920
Paperback300 pages

Book Description

The Seam framework from JBoss allows developers to use JSF, Facelets, EJB, and JPA to write conversational web applications. But you will first have to learn how these standard technologies are integrated using Seam and how they can be built upon using additional Seam components. If you need to build a Java web application fast, but don't have time to learn all these complex features, then this book is for you.

The book provides a practical approach to developing Seam applications highlighting good development practices. It provides a complete walk through to develop Web applications using Seam, Facelets, and RichFaces and explains how to deploy them to the JBoss Application Server. You can start using key aspects of the Seam framework immediately because this book builds on them chapter by chapter, finally ending with details of enterprise functionality such as PDF report generation and event frameworks.

First, the book introduces you to the fundamentals of Seam applications, describing topics such as Injection, Outjection and Bijection. You will understand the Facelets framework, AJAX, database persistence, and advanced Seam concepts through the many examples in the book.

The book takes a practical approach throughout to describing the technologies and tools involved. You will add functionality to Seam applications after you learn how to use the Seam Generator RAD tools and how to customize and fully test application functionality. Hints and tips are provided along the way of how to use Seam and the JBoss Application Server.

Table of Contents

Chapter 1: Introduction to Seam
What is Seam?
Why use Seam?
Seam requirements
Installing JBoss Application Server
Starting the JBoss Application Server
Installing Seam
Testing our Seam installation
Summary
Chapter 2: Developing Seam Applications
Seam application architecture
Seam components
Object Injection and Outjection
Example application
Seam data validation
Building and testing the validating Seam calculator
Summary
Chapter 3: Seam Page Flow
Simple navigation
Seam style navigation
A working example
Seam jPDL navigation
Summary
Chapter 4: Facelets
What is Facelets?
Why Facelets? Why not JSP?
Obtaining and installing Facelets
Configuring a web application for Facelets
SeamGen
Creating the Vacation Planner application using SeamGen
Seam debug page
Summary
Chapter 5: Testing Seam Applications
Overview of Seam application testing
TestNG
Component testing
Testing the user interface
Seam component testing
Mocking Seam components
Summary
Chapter 6: RichFaces
Obtaining RichFaces
Configuring an application for RichFaces
RichFaces controls
<rich:modalPanel />
Summary
Chapter 7: Database Persistence
Overview of database persistence
How SeamGen helps with persistence
Persisting Java entities to the database
Retrieving Java entities from the database
Integrating Java entities with Facelets
Relationships between entities
Performing CRUD operations on entities
The Seam application framework
Summary
Chapter 8: Seam Conversations
Component scope
Seam component scope
What are conversations?
Conversation configuration
Natural conversations
Summary
Chapter 9: Seam and AJAX
What is AJAX?
AJAX and the Seam Framework
Configuring Seam applications for Seam Remoting
AJAX4JSF
Summary
Chapter 10: Security
User authentication
User roles
Auditing security events
CAPTCHAs
The Seam identity manager API
OpenID
Summary
Chapter 11: Enterprise Features
Internationalization
URL rewriting
Seam events
PDF document generation
Email
The future of Seam
Summary

What You Will Learn

  • Understand the fundamentals of Seam and why Seam is different from many other web frameworks
  • Develop web applications using the Facelets viewing technology as an advanced replacement for JSF
  • Test all aspects of a Seam application including testing web pages and Seam components
  • Utilize the RichFaces library for developing advanced, rich user interfaces including AJAX technologies for an improved user experience
  • Develop persistent applications using the Java Persistence API (JPA)
  • Build conversational web applications that can run over multiple browser windows and tabs without worrying about storing session data
  • Secure applications using role-based security, CAPTCHA, and OpenId
  • Easily use Facelets to render data as HTML/PDF/RTF/email
  • Use JBoss Tools to rapidly enhance your developer productivity

Authors

Table of Contents

Chapter 1: Introduction to Seam
What is Seam?
Why use Seam?
Seam requirements
Installing JBoss Application Server
Starting the JBoss Application Server
Installing Seam
Testing our Seam installation
Summary
Chapter 2: Developing Seam Applications
Seam application architecture
Seam components
Object Injection and Outjection
Example application
Seam data validation
Building and testing the validating Seam calculator
Summary
Chapter 3: Seam Page Flow
Simple navigation
Seam style navigation
A working example
Seam jPDL navigation
Summary
Chapter 4: Facelets
What is Facelets?
Why Facelets? Why not JSP?
Obtaining and installing Facelets
Configuring a web application for Facelets
SeamGen
Creating the Vacation Planner application using SeamGen
Seam debug page
Summary
Chapter 5: Testing Seam Applications
Overview of Seam application testing
TestNG
Component testing
Testing the user interface
Seam component testing
Mocking Seam components
Summary
Chapter 6: RichFaces
Obtaining RichFaces
Configuring an application for RichFaces
RichFaces controls
<rich:modalPanel />
Summary
Chapter 7: Database Persistence
Overview of database persistence
How SeamGen helps with persistence
Persisting Java entities to the database
Retrieving Java entities from the database
Integrating Java entities with Facelets
Relationships between entities
Performing CRUD operations on entities
The Seam application framework
Summary
Chapter 8: Seam Conversations
Component scope
Seam component scope
What are conversations?
Conversation configuration
Natural conversations
Summary
Chapter 9: Seam and AJAX
What is AJAX?
AJAX and the Seam Framework
Configuring Seam applications for Seam Remoting
AJAX4JSF
Summary
Chapter 10: Security
User authentication
User roles
Auditing security events
CAPTCHAs
The Seam identity manager API
OpenID
Summary
Chapter 11: Enterprise Features
Internationalization
URL rewriting
Seam events
PDF document generation
Email
The future of Seam
Summary

Book Details

ISBN 139781847195920
Paperback300 pages
Read More

Read More Reviews