I’ve recently had a requirement to do some Enterprise Integration stuff and tried out Spring Integration for it. I’ve found it to be simple, easy-to-use, and flexible. So, I thought of sharing it with you all. Here’s the requirement: A daemon program should look for XML files in a particular directory every ‘n’ minutes and […]


HTTP header fields are components of the message header of requests and responses in the Hypertext Transfer Protocol (HTTP). They define the operating parameters of an HTTP transaction, carry information about the client browser, the requested page, the server and more. Here’s how the HTTP headers can be added to your web service calls made […]


If you want to create any of these projects listed below using Eclipse IDE, OSGi Application Project OSGi Bundle Project OSGi Composite Bundle Project OSGi Fragment Project Blueprint File you need to have IBM Rational Development Tools for OSGi Applications installed. Why do we need these tools?     Create and edit OSGi bundles, composite bundles, […]


SOAP headers can be added to a Web service request in different ways, if you use Apache CXF. They way I prefer is the one I’ve mentioned here – as it doesn’t require changes to wsdl or method signatures and it’s much faster as it doesn’t break streaming and the memory overhead is less. The […]


It always feel nice to get recognized for something you do, and I’m happy it happened today. My post – Aspect Oriented Programming with AspectJ and Spring AOP – A simple example to create logging aspect – got a mention in SpringSource News & Announcements for this week (This Week in Spring: September 6th, 2011). […]


I’ve got a couple of pdfs to share with you all in this post. Here are those: 1. eBay Marketplace Architecture – Architectural Strategies, Patterns and Forces – Randy Shoup, eBay Distinguished Architect 2. How to do 100K+ TPS at less than 1ms latency – Martin Thompson & Michael Barker You can view these pdfs […]


Just happened to see a powerpoint presentation – Building LinkedIn‘s Next Generation Architecture with OSGi  – while looking for real-life case studies of OSGi implementations. Hope you find this interesting! Download it here – LinkedIn’s Next Generation Architecture with OSGi Building LinkedIn’s Next Generation Architecture with OSGi View more presentations from LinkedIn


Here’s the source code for this example: Download Calculator.java CalculatorImpl.java LoggingAspect.java AOPMain.java spring-appcontext.xml Related articles Using Spring’s PropertyPlaceholderConfigurer to load configurable parameters from properties files – An example (singztechmusings.wordpress.com) Apache CXF-based Web Services: How to log/print the payload XML of incoming SOAP request using InInterceptor? (singztechmusings.wordpress.com)


Well, this time I was trying to do something with OSGi and Maven in Eclipse and I looked out for some interesting stuff that could guide me, and here’s a pdf doc that I found to be useful: Working with Maven, Eclipse and OSGi About OSGi From an article by Sunil Patel @ http://www.javaworld.com/javaworld/jw-03-2008/jw-03-osgi1.html, “The […]


What’s Groovy? If you know about Groovy already, you may skip this introduction. For those of you who are not aware of it yet, it’s one of the most popular Dynamic language for the Java platform (JVM). It is dynamically compiled to Java Virtual Machine (JVM) bytecode and interoperates with other Java code and libraries. […]