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:!

Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition the podcast:

Stay in touch:


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