Wednesday, September 12, 2007

Migrating SEAM Applications from Glassfish V1 to Glassfish V2

I've come up with some simple steps for migrating a JBoss SEAM application from Glassfish V1 to Glassfish V2. Actually, you can configure all SEAM applications which you plan on deploying to Glassfish in this manner, and they will be deployable on either V1 or V2.

Keep in mind that I am also integrating Ajax4Jsf into my SEAM applications.

1) Update faces-config.xml (if needed) to ensure that you are using SeamFaceletViewHandler


2) Update web.xml

- Add context-param for org.ajax4jsf.VIEW_HANDLERS


- Add SUN Faces Listener


- If using Ajax4JSF, update the filter to include dispatchers


3) Ensure that all database drivers are installed on the new server.
4) If using Ajax4Jsf, you will want to ensure that you are packaging Apache Commons 3.2

No comments:

Post a Comment

Please leave a comment...