Monthly Archives: December 2008

Using Hibernate and Jdbc DAOs in the same Transaction

I think it is very hard to build any enterprise application without using at least a little bit of straight Jdbc. Even if an application uses Hibernate heavily, there will be situations where using straight Jdbc makes most sense. We use HibernateDaoSupport (using GenericDAO pattern) and JdbcDaoSupport Spring … Continue reading

Posted in Hibernate | Tagged , , | Leave a comment

Requirements – Product Owner and Customer

One very important thing that I have learnt from my consulting experience (dealing directly with Clients for building solutions) and in my experience of building exterprise products is: When you are given a set of requirements, always understand the requirements in terms of what problem … Continue reading

Posted in Agile | Tagged , , , | Leave a comment

Akismet WP plugin woes..

I just found out that my Akismet WordPress plugin has been eliminating some valid comments on my blog by “hard-delete” instead of a “soft-delete”. I cannot believe this. I just lost over 30 comments some of which may have been some … Continue reading

Posted in misc. | Tagged , | Leave a comment

Missing “friend” class access specifier in Java?

I am in the process of rearchitecting a fairly large legacy web application. Almost all of the classes in the old code base are public classes with the key classes containing mostly public (and sometimes static) methods. I am tasked to modularize this application … Continue reading

Posted in Java | Tagged , , | 2 Comments

Essentials for OSGi-based middleware development

Here are the things every Java developer working on OSGi-based middleware must know, IMO: Essentials: Design-by-Contract & SOA Component/Package Versioning OSGi Bundle Lifecycle Bundle Manifest directives Core OSGi services Spring DM (especially for simplification of the usage of OSGi services and writing … Continue reading

Posted in Java, OSGi, Uncategorized | Tagged , , | Leave a comment