PacktLib: Seam 2.x Web Development

Seam 2.x Web Development

Credits

About the author

About the reviewers

Preface

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

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

Seam Page Flow

Simple navigation

Seam style navigation

A working example

Seam jPDL navigation

Summary

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

Testing Seam Applications

Overview of Seam application testing

TestNG

Component testing

Testing the user interface

Seam component testing

Mocking Seam components

Summary

RichFaces

Obtaining RichFaces

Configuring an application for RichFaces

RichFaces controls

Summary

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

Seam Conversations

Component scope

Seam component scope

What are conversations?

Conversation configuration

Natural conversations

Summary

Seam and AJAX

What is AJAX?

AJAX and the Seam Framework

Configuring Seam applications for Seam Remoting

AJAX4JSF

Summary

Security

User authentication

User roles

Auditing security events

CAPTCHAs

The Seam identity manager API

OpenID

Summary

Enterprise Features

Internationalization

URL rewriting

Seam events

PDF document generation

Email

The future of Seam

Summary

JBoss Tools

JBoss Tools

JBoss Tools

JBoss Tools

JBoss Tools

JBoss Tools

JBoss Tools