REST (REpresentational State Transfer) is an architecture style that describes how to use HTTP to access web services. JAX-RS (JSR 311) is a Java API to support implementation/access of REST web services using Java. This style was first documented by Ron Fielding. Continue reading
Spring Batch 2.0 – Part III – From Database to Flat File
In Part-II of this series on Spring Batch, I went through an example of reading from a flat file and persisting into the database. In this article I will go through the reverse. Read 200,000 rows from the database and export it into a comma separated flat file. Continue reading
Spring Batch 2.0 – Part II – Flat File To Database
Part I of my Spring Batch blog ran through an example of a basic Spring Batch job. Now lets put together one that reads 200,000 rows from a flat file and inserts them into the database. Continue reading
Spring Batch 2.0 – Part I – Simple Tasklet
There is always a healthy debate when talking Java and batches. When I heard Spring Batch, I had to try it out. Continue reading
Ubuntu + Apache2 + php + Zend
At times I get so tired of Java that I just yearn for a different set of frameworks (or should I say an environment where there is a good , concise language and less frameworks to choose from). Continue reading
Google Web Toolkit (GWT)
Tried out Google Web Toolkit (GWT). Sharing some thoughts and also my eclipse project. Continue reading
Spring Security – The new and improved ACEGI
Ah! Good ol ACEGI. Or should I say the good old new ACEGI aka Spring Security. In one of my previous posts I blogged about configuring good ol ACEGI. Since I last looked at it ACEGI is now Spring Security. Configuration nightmare has been reduced greatly. Continue reading
J2ME/JavaME Visited Again
It seems like an eternity since I last tried J2ME or JavaME as its known now. It was Sept 2003, when I was working at a product development company and was building a component using J2ME. I even managed to get an article published at http://my.advisor.com/articles.nsf/aid/12697. Continue reading
Android for Mobile Apps
Android is a complete open sourceĀ stack that allows one to build mobile applications. The stack includes an operating system, middle-ware and common applications. It also provides us with a Java API to develop our own custom mobile applications. It does not discriminate between common applications vs custom applications. Everything that the common applications can do so can yours (making calls, sending SMS, etc.). Continue reading
Spring LDAP Template
Just like you have JDBC/Hibernate/iBatis templates in Spring, we also have an LDAPTemplate. You can download the spring LDAP library fromĀ http://springframework.org/ldap. The template pattern used here lets us avoid common pitfalls such as not cleaning up resources after using an API (in JDBC its the connection, statement and resultset). Why bother when the template can do this for you! Same holds true for LDAP queries. Continue reading