Tips and Tricks

Deploying Static and Dynamic Content With Maven Wagon Plugin

One common performance requirement for large websites is that different domain names should be used to serve static and dynamic content. The reason behind this requirement is that usually browsers do not download more than two components in parallel per domain name, because of the HTTP 1.1 specification. Thus, separating static and dynamic content under […] Read more

Fixing JPA2 Sequence Generator Problem With Hibernate 3.5

I ran into a really weird problem when I was playing around with JPA2 by using Hibernate 3.5 as JPA2 implementation. I had implemented two entity classes called BaseEntity and Person. BaseEntity class contains the common properties of all entity classes. The Person class extends the BaseEntity class and adds some person specific properties in […] Read more

One day we decided to optimize the translation process of one of our web applications to reduce the number of resource files from three to two. Our web application supported two languages (Finnish and English), and the default resource file had the exactly same content than the resource file for the Finnish language. Of course […] Read more