Session
Refactoring to Seam
Brian Leonard, Senior Software Engineer, Sun Microsystems, Inc.
Track: Java
Date: Thursday, July 26
Time: 11:35am
- 12:20pm
Location: D139-140
This presentation, which is 60% demonstration, 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 refactor the JSF/EJB3.0 application to one which uses the Seam framework, ultimately eliminating the need for the JSF managed bean.
- We will take advantage of the Hibernate validator framework (a component of Seam), allowing us to eliminate the JSF validators.
- We will run our application in multiple browser tabs to demonstrate session "bleeding," and then solve it using Seam's conversational scope type.
- Finally, we'll demonstrate Seam's portability by running the application on both JBoss and GlassFish.





















