I was wondering if anyone could point me to some simple codes along with configuration setups that uses specifically ORM data access of JPA, EntityManagerFactory, EntityManager etc. to do a database transaction in the Spring Framework. I already have some existing entity POJOs which is been used using JPA to do database transactions under the JBoss Seam Framework. I want to use those entities in the Spring Framework code. By the way do I need to have all these on an application server like to do a simple run? Or I can just execute the code with a client app?