Java EE 7 Sample With JPA Integration Tests Released

The v0.0.3 version of Java EE Boundary Control Entity project is available.

New in this version are automated JPA integration tests:

public class RegistrationIT {

    EntityManager em;
    EntityTransaction tx;

    public void initEM() {
        this.em = Persistence.createEntityManagerFactory("integration-test").createEntityManager();
        this.tx = this.em.getTransaction();


mvn archetype:generate -Dfilter=com.airhacks:javaee-bce-archetype


mvn clean install
mvn failsafe:integration-test

See you at Java EE Workshops at MUC Airport or on demand and in a location very near you:!


Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments