RSS

Archivos diarios: 7 julio, 2011

Spring Web Flow basic example


Visit my new website http://java4developers.com

In this post we are going to see a Spring Web Flow simple example. For that, we need to use the Java code we talked about in JPA basic example with EntityManager , Spring and Maven and Criteria JPA 2.0 and database metamodel auto generation with Maven. Spring Web Flow allow us to create our own web application in an easy and fast way using flows. Transitions happens from some pages to others depending on which actions are ocurring, as clicking a specified button for example.

Read the rest of this entry »

 
13 comentarios

Publicado por en 7 julio, 2011 en J2EE, Spring Web Flow

 

Etiquetas: , , , , , , , ,

Criteria JPA 2.0 and database metamodel auto generation with Maven


In the previous post JPA basic example with EntityManager , Spring and Maven we use JPA through an entityManager instance.

In this post we are going how we can create a database metamodel in our project (At this point let’s be clear, I’m not talking about annotated Java classes with @Entity, but Java classes to prepare queries from them).For that purpose we are going to use the JPA 2.0 Criteria API.
Read the rest of this entry »

 
7 comentarios

Publicado por en 7 julio, 2011 en J2EE, JPA

 

Etiquetas: , , , , , ,