Créer un Blog avec JBoss Seam, Hibernate JPA et JSF puis Déploiment sur Tomcat dans le Cloud – Partie III

Seam Tomcat Deployment

In this part III of the tutorial, we’ll build the entity classes from the database we created in Part I and configure the Seam project we created in Part II so as to make it fully compatible with Apache Tomcat.

Creating The Model Layer

We’ll use Hibernate‘s reverse engineering tool (hbm2java) embedded in Seam-gen to create the entity classes from the database we created in part 1.

Seam Generate Entities

Figure 3.1 - Generating entities from database in JBoss Seam

Right-click the project blog in project explorer and select New > Seam Generate Entities.

Continue reading

Créer un Blog avec JBoss Seam, Hibernate JPA et JSF puis Déploiment sur Tomcat dans le Cloud – Partie I

Tired of simple hello world tutorials? Here’s an intermediate-level tutorial in which we’re going to make a blog cms application using JBoss Seam incorporating JSF 1.2 + Facelets, Hibernate JPA 1.0 and we’ll deploy it to Tomcat.