CLOUD COMPUTING AND DISTRIBUTED SYSTEMS
Archive
archives
ARCHITECTURE AND BUILDING DESIGN
Maven, where I start
More often than not today I start my Java projects using an Apache Maven archetype. Whether it be for an Apache CXF based web service, a simple web application or some sort of service most are started from an archetype. However pretty much every project I need to add my secret project ingredients, this typically starts with a couple of key plug-ins: - maven-checkstyle-plugin – I really like to know when my code is a mess, even if it does annoy some people. - maven-license-plugin – Again I like stuff neat so getting everything tagged under a license is pretty important. I have extracted a sample of my default configuration to illustrate how these plug-ins are configured in the pom.xml.
MARK WOLFE
SOFTWARE ENGINEERING AND PROGRAMMING
Installing Ruby with RVM on Ubuntu 10.10
Been installing RVM on anything that runs *nix lately, ran into some issues with using this great tool on Ubuntu 10.10 . After a bit of reading I discovered a couple of solutions, either I could build and install some of these libraries using RVM, or I could locate and install the dev versions of these libraries in Ubuntu. As I like my libraries updated for security issues and such like I took the later option.
CLOUD COMPUTING AND DISTRIBUTED SYSTEMS
Building Apache CXF web service clients namespace mapping
Recently I have been doing quite a bit of work around Apache CXF , both on the server side and the client side. Over the next few weeks I will post some of the tricks I have learnt. In this post I will summarise one of the cxf-codegen-plugin options I used to assist me while consuming WCF web services using Apache CXF. When dealing with WCF based services, and indeed any WSDL which uses more than one namespace it is handy knowing how to control name spaces and how these translate into packages in your java stubs.
ACCOUNTING AND AUDITING
Apache CXF Logging Configuration
Configuring logging in Apache CXF can be confusing at first, in my view this is further compounded by Apache Tomcat’s logging architecture. In my cxf based projects the first step is to use the logging configuration available in 2.2.8 or later . This enables you to configure your logger of choice for the entire CXF stack. Needless to say I really like this feature as I am not a big fan of java.util.logging as it’s configuration is not very intuitive.