Enterprise Java
-
Configure timeout for CDI conversations
CDI conversation scope is a nice feature when developing JSF applications. Imagine you have large data tables which take a…
Read More » -
Hibernate: save vs persist and saveOrUpdate
What is difference between save and saveOrUpdate or Difference between save and persist are common interview question in any Hibernate…
Read More » -
Twitter REST API from Scala and Java using signpost
If you’ve read some other articles on this blog you might know that I like creating visualizations of various datasets.…
Read More » -
Spring 3.1 Caching and @CacheEvict
My last blog demonstrated the application of Spring 3.1’s @Cacheable annotation that’s used to mark methods whose return values will be stored…
Read More » -
Apache Wicket: Remember Me functionality
It is quite common in web applications to have “Remember Me” functionality that allows user to be automatically logged in…
Read More » -
Maven Cargo plugin for Integration Testing
A very common need in the lifecycle of a project is setting up integration testing. Luckily, Maven has built-in support…
Read More » -
5 Tips for Unit Testing Threaded Code
Here’s a few tips on how take make testing your code for logical correctness (as opposed to multi-threaded correctness). I…
Read More » -
Apache Digester Example – Make Easy Configuration
Address Problem – Hard Coding , Need to create custom configuration for your application like struts configuration file to vary…
Read More » -
JBoss AS 7 classloading explained
This is a sample chapter taken from JBoss AS 7 Configuration Deployment and Administration book edited by Francesco Marchioni who…
Read More »