Migrating from EJB2 with shared libraries to EJB3 environment

Darth BuilderCurrently I’m working on a major technical upgrade, that involves the upgrade of several infrastructure components including WebSphere Application Server, WebSphere Portal Server and JBoss EAP. This requires all a “fresh” installation of all the applications that reside on these components. All JEE containers currently in the system are being upgraded, so it opens a window of opportunity to get a huge overhaul of the system.

(NB. As I have to rebuild the entire application stack multiple times a day, I’ve been referenced as Lord Builder or Darth Builder by my highly esteemed colleagues)

Continue reading “Migrating from EJB2 with shared libraries to EJB3 environment”

Using JAX-WS without code generation

Something gave me the weird idea to try the new features of JAX-WS on a current project. The main idea was, to get rid of the code generators that must be ran whenever some minor change is done in the web service.

So instead of designing the WSDL along with the matching schema definition for the connector classes, I decided to start of by designing the interfaces and the connector classes, then just create the implementation with the corresponding annotations on the server side, that will be deployed automatically. The WSDL is generated from the annotations and the connector classes, there is no need to write them manually.

Continue reading “Using JAX-WS without code generation”