Welcome

Configuring Vaadin without web.xml

There is always room for improvement in programming world. After my initial post about configuring Vaadin in 6 simple steps, one of my friends indicated that we could have used annotation based configuration to get rid of web.xml in our Vaadin configuration. Yes, he is right. It is possible to configure Vaadin with annotations without […]

Switching Application Required System Properties According to Deployment Environment

Any serious application depends on a number of configuration properties, such as JDBC connection properties, caching properties etc. They should change according to target deployment environment. People employ different methods to take those properties outside their web applications. Among them, one commonly used method is to create a properties file and collect any property, whose […]

Uncaught Exception Handling in Java Server Faces

First comes a little flashback on how we can deal with uncaught exceptions in web applications. As you probably know, there exists a general exception/error trapping mechanism for servlet/jsp based web applications. We simply add error-page definitions in web.xml file for uncaught exceptions or http status codes to show users custom error pages instead of […]

Experiences with Audit Logging through Hibernate Interceptor

In  our current project, we make use of Hibernate Interceptor in order to perform auditing to track operations performed with our domain objects. We at first simply followed instructions in Hibernate In Action book. Basically,  steps are as follows; Declare an Auditable interface, and methods in it for what kind of information you want to […]