Intro
Overall Presentation Goal
Speaker's Qualifications
Question
Agenda
Agenda
Java EE 5 Goal
How Was It Made Easier?
Question
How Much Easier Is It?
Annotations Everywhere
For Example - J2EE 1.4 Web Service
Java EE 5 Web Service
Java EE 5 Programming Model
Java EE 5 Programming Model
register.jsp: JSF In Action
register.jsp & BackingBean
Managed Beans Configuration
Managed Bean
EJB 3.0
Java Persistence API (JPA)
JPA - Object Relational Mapping
Our Entity Bean
JPA - Entity Manager
Our Action Bean
Agenda
JBoss Seam
JBoss Seam
Agenda
Seam Registration Application
Integrating The Seam Framework
Our Action Bean
Integrating The Seam Framework
Eliminating Your ManagedBean
User.java (1 of 2)
User.java (2 of 2)
RegisterAction.java
Agenda
Seam on GlassFish
Seam on GlassFish
Summary
Repeat these demos yourself
This session will walk the audience through the steps necessary to begin using the Seam framework (Web Beans - JSR 299). It will begin with a brief introduction to Java EE 5 through review of an existing JSF / EJB 3.0 application. We will then convert that application to one which uses the Seam framework, ultimately eliminating the need for the JSF managed bean. We'll also take advantage of the Hibernate validator framework (a component of Seam), allowing us to eliminate the JSF validators. Finally, we'll demonstrate Seam's portability by running the application on both JBoss and GlassFish.
Brian Leonard works as a senior software engineer with Sun Microsystems. He's been working with application servers before there was a J2EE standard, helping develop applications as well as the servers that run them. Until most recently, Brian's been focused on helping large enterprises implement and deploy highly-available architectures. In his current role, Brian is an evangelist for the Sun's Java development tools.