Common Hibernate JPA Data Services Component

April 10th, 2009

I have been using Hibernate JPA, with a Java Generics based data access layer for some time now. But each time I go to a new project, I find that I have to do quite a bit of rework just to integrate this component. So what I wanted to do, is find a way to [...]

  • Share/Bookmark

Read full article | No Comments »

PersistenceException issue with Cobertura and the hibernate3-maven-plugin

March 16th, 2009

I have been using the hibernate3-maven-plugin for some time with a good deal of success in unit testing my data access layers through dbunit. I always separate my data access into a separate module, called data-services, for many reasons. Mostly so I can separate my testing to just database integration testing, and not unit testing [...]

  • Share/Bookmark

Read full article | No Comments »

Maven ignores unit test with JUnit and TestNG

January 16th, 2009

Today I was trying to use JUnit 4, and JUnit 3 in a Maven archetype I was creating. I had previously added TestNG dependencies to this project. I then added JUnit in addition to the TestNG. I run mvn test and no unit tests where run. Strange! I did not get any errors even using [...]

  • Share/Bookmark

Read full article | No Comments »

Deploying webapp to multiple containers

May 8th, 2008

In my efforts to integrate Jetty, tomcat and selenium into my Maven build for continuous integration tests, I have run into some strange issues. It seems that if I run my webapp-2.2.war in my standalone Tomcat 5.5 installation, or in my Maven integrated Jetty, I can refer to my application at my root context of [...]

  • Share/Bookmark

Read full article | No Comments »

Testing CXF within embeded Tomcat using Spring

May 1st, 2008

I converted from XFire to CXF which is really XFire 2 I guess. Now I am using Maven, DBUnit, TestNG, H2 and embedded Tomcat for continuous integration testing. Now I wanted to be able to test my webservice contracts as well, and Spring has helped me to accomplish that. In my webservices war, I first [...]

  • Share/Bookmark

Read full article | No Comments »