Tag Archives: Datasource

Java EE7 and Maven project for newbies – part 7 – #jpa2 and Unit testing using #arquillian / #WildflyAs 8.1 #maven #jboss – using a real Datasource (#postgresql)


Java EE7 and Maven project for newbies – part 7

Resuming from the previous parts

Part #1, Part #2, Part #3, Part #4, Part #5 , Part #6

In the previous post (num 6) we discovered how we can unit test our JPA2 domain model, using Arquillian and Wildfly 8.1 In the previous post we made a simple configuration decision, we used the internal H2 database that is bundled with Wildfly 8.1 and the already configured Datasource (called ExampleDS). But what about a real DBMS? In this post we are going to extend a bit the previous work, use the same principles and
  • test towards a running PostgreSQL in our localhost
  • use some of the really nice features of the ShrinkWrap API, Arquillian Offers.