Integrating systems in a complex enterprise landscape can get tough. You have all kinds of interactions going from one system to the other. Many of them taking in and spitting out different data formats. Which means you have to not only worry about the routing between these integrations but also the transformations between them. Updated to use Camel 2.11., Spring 3.2.2 and ActiveMQ 5.7.0. Continue reading
Category Archives: Spring
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
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
Spring 2.5 Annotations
With release 2.5 of Spring we have a more complete support in Spring for annotation driven configuration. All of that XML configuration stuff can be set aside now. Release 2.0 had previously introduced some other annotations, @Transactional being my favourite. Continue reading