I made a classic error today in the public API of a Java service. I somehow convinced myself that wrapping an “internal” exception in a public (“external”) API service-level exception would ensure that client would still only be dependent on the external exception. This was however not the case after I sensibly preserved the cause of the… [Read more…]
When deploying a Java application to a Microsoft Windows system, you might also like to take advantage of the Windows Services management console to start and stop the application. Windows Services also provide a simple means of ensuring your application is restarted after a machine reboot. In addition, services can be run under a specific… [Read more…]
Overview As of version 6, Java Standard Edition (“Mustang”) now offers web service capabilities out of the box in much the same way as RMI. Mustang includes: JAX-WS 2.0 – a means of declaring a POJO to be a web service using annotations such as @WebService and @WebMethod. JSR 224 – Java API for XML-Based… [Read more…]
October 29, 2009
Comments Off