• Common Hibernate JPA Data Services Component

    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 [...]

  • Testing XFire with TestNG

    So after an entire weekend of frustration with tutorials such as http://xfire.codehaus.org/JSR+181+Annotations and http://docs.codehaus.org/pages/viewpage.action?pageId=44565 I think I have come up with a way to test XFire services deployed through Tomcat during my Maven build.
    So I created an annotated version of an Echo Service:
    package com.baselogic.service;

    import javax.jws.WebMethod;
    import javax.jws.WebParam;
    import javax.jws.WebResult;
    import javax.jws.WebService;
    import javax.jws.soap.SOAPBinding;

    @WebService(name = “EchoService”,
    targetNamespace = “http://service.baselogic.com”)
    public interface EchoService [...]