Quantcast
Dejan Bosanac

Biography

Dejan Bosanac is a software developer, technology consultant and author. He is focused on the integration and interoperability of different technologies, especially the ones related to Java and the Web. For any further information, visit his web site nighttale.net or contact him at <script type="text/javascript"> <!-- var name = "dejan"; var domain = "nighttale.net"; var display = ""; var subject = ""; var ending = "."; var style = ""; document.write('<a class="' + style + '" href="mailto:' + name + '@' + domain + '?subject=' + subject + '">'); if (display) { document.write(display); } else { document.write(name + '@' + domain); } document.write('' + ending); // --> </script>

Articles

Blog

Indexing repositories

April 01 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 more

Customizing Enums

February 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 more

Dealing with large code bases

January 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 more

Extension methods proposals

December 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 more

Groovy StAX builder

November 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 more

XStream 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 more

Multi-Language VM

October 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 more

Scripting API for everyone

September 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 more

Asynchronous job execution

July 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 more

Eclipse Europa

June 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 more

Integrating 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 more

(Not yet)Commons SSL

May 31 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 more

(Not yet)Commons SSL

May 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 more

XStream 1.2.2

May 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 more

Scripting 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 more
Dejan Bosanac