This project contains sample projects for Java EE trainings
- book
-
JavaEE development script. Source of the trainings script prepared for EJB3 online trainings
- exercises
-
Training exercises; assignments together with sample solutions
- exercises-source
-
Initial project, starting kit for the exercises (including
pom.xmland catalog structure) - jee6-example
-
Basic whole stack example: from database to a REST webservice endpoint
- server-config
-
Server configuration files required to successfully run the sample projects
The examples are running on Hibernate (as the JPA provider) and MySQL. Can be run on TomEE as well as WildFly. For both MySQL datasource must be configured (with mysql-connector-java jar being placed in the lib folder of the application server). Configuration files can be found in server-config folder
While OpenJPA is the default provider shipped with TomEE, additional configuration steps are needed to run TomEE with Hibernate - as described via official TomEE documentation