You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 15 Members of 2837 |
Enterprise Applicationslist select: jboss-seam-jpa--> Manager Modules --> jboss-seam-jpa.war and set the class loader option to Classes loaded with application class loader first, and then Apply
Enterprise Applicationslist select: jboss-seam-jpa--> Class loading and update detection link and set the class loader option to Classes loaded with application class loader first, and then Apply. If this setting won't take see the reference guide for more instructions.
For details on these steps and more examples on Websphere including how to get EJB3 applications working see the reference guide chapter Seam on IBM's Websphere.
Since jboss-seam-jpa.war is the non-EJB version of the hotel booking application (i.e., it's in examples/jpa/, not examples/jpa/jee5/), it should work without the IBM EJB3 Feature Pack. I was able to get it working by packaging /WEB-INF/lib/ejb3peristence.jar (from the Hibernate EntityManager project) into jboss-seam-jpa.war. EJB3 feature pack not required.
I'll second the above. I have the JPA example working using the same approach Eric noted above (including the persistence APIs in the WAR file)