Biography
Blog
Recent Posts | All Posts
March 31 2008
Dependency management was always one of the crucial Java project management tasks. It's where tools such as Maven and Ivy make all the difference and allow developers to maintain their project dependencies in an easy way. There are two... read moreFebruary 11 2008
Enumerated types (enums) are a way to define fixed set of constants, so helpful in many areas of software development. In the most common case, in your Java code written for Java 5 or newer, you will use enums for... read moreJanuary 02 2008
If you haven’t already, be sure to read Steve Yegge’s post on his experience of dealing with large code bases (it’s a bit long post but an excellent read). He explains the maintenance nightmare of his 500.000 lines of code game written in Java and quite correctly concludes that code size… read moreDecember 05 2007
There’s a quite interesting discussion in the blogosphere about proposed extension methods feature for Java 7. The problem tackled by this proposal is how to extend an API (interface) with new methods without breaking existing implementations. The example used in a discussion is a List interface and the sort() method.… read moreNovember 26 2007
I’ve always loved Groovy builders concept for handling (mostly creating) hierarchical documents. On the other hand I find StAX, pull-based processing API, to be one of my favorite methods for dealing with simple XML processing. It’s simple and fast, so what more can I ask for? Additionally, thanks to the… read moreXStream and Spring OXM (Object/XML Mapping framework)
November 16 2007
It all started when I tried to find a solution for customizing an XStream instance for my ActiveMQ XStream message transformer that would be better than currently used (extending a base transformer and providing a custom factory method that will do things like alias, converter, annotation, etc. settings). I wanted… read moreOctober 17 2007
OpenJDK community has a new project, Multi-Language VM (or just mlvm). It is announced by John Rose, from Sun, on the announcement list. The focus of the project will be to prototype JVM features beneficial for dynamic languages and remove “pain points” that current dynamic language developers have with standard… read moreSeptember 12 2007
I definitely think that dynamic languages for Java platform is an important topic. In that context, a Scripting API as a standardized scripting framework has its own role for Java developers. It is definitely a good thing it is included in JDK 6, but the lack of proper support for… read moreJuly 18 2007
In software development we are often encouraged to decouple things in order to achieve greater flexibility in our code. So we decouple model objects from views, interfaces from their implementation, etc. Here, I would like to write about different kind of decoupling, front-end from back-end. In many cases, projects tend to… read moreJune 15 2007
On 29 June, Eclipse community will be richer for the new Europa release. It is a coordinate release of 21 Eclipse Foundation projects. The main component of this release is certainly new 3.3 version of the Eclipse Platform. Others include prominent projects from domains of administration, modeling, development and tools,… read moreIntegrating ActiveMQ Web Console
June 07 2007
If you build an application that integrates ActiveMQ broker, it makes sense that you want to integrate its web console as well. It provides your users with basic monitoring and management operations. One road you can take is to integrate it as a WAR archive, but as you already have… read moreMay 30 2007
If you ever tried to work with SSL Socket connections in Java, you probably know that Java, by default, supports its own JKS and PKCS12 certificate formats. For those who need to work with OpenSSL it is usually suggested to convert keys and certificates to PKCS12 and then import them… read moreMay 30 2007
If you ever tried to work with SSL Socket connections in Java, you probably know that Java, by default, supports its own JKS and PKCS12 certificate formats. For those who need to work with OpenSSL it is usually suggested to convert keys and certificates to PKCS12 and then import them… read moreMay 25 2007
XStream 1.2.2 is released with JettisonMappedXmlDriver used for serialization and deserialization from JSON. It is the driver first presented in Java and JSON post. All modifications are submitted to Jettison and XStream projects respectfully and documented in an appropriate tutorial (http://xstream.codehaus.org/json-tutorial.html). From now on, XStream has a full support for… read moreScripting and asynchronous messaging
May 04 2007
One of the lessons we can learn from early success of the Web was making of ideal environment for use of scripts. There were two main components of the Web platform: Web server (Apache), as an infrastructural component that had to be fast and reliable Web application as a collection of… read moreRecent Posts | All Posts