RestTemplate, the Spring way of accessing RESTful services

The central API for accessing RESTful services in Spring 3 is RestTemplate. It is like any other template mechanism provided by Spring for the client side access. The default implementation uses the java.net package for creating HTTP requests. RestTemplate can be backed by Commons HttpClient using ClientHttpRequestFactory. Using Commons HttpClient as the backend implementation supports … Continue reading RestTemplate, the Spring way of accessing RESTful services

Jersey 1.0.3 improves WADL support

Jersey 1.0.3 was released this week. This release has quite a few interesting new features and improvements to some of its existing functionality. Paul's blog entry gives the specifics of this release. One of the cool features in this release is the ability to inject WadlApplicationContext in resources. This provides access to the WADL JAXB … Continue reading Jersey 1.0.3 improves WADL support

CXF 2.2 in Action – services design simplified

I was playing with CXF 2.2 over the weekend. I would like to share my experience in building a simple blogger service using CXF which provides seamless access to SOAP and REST web services. You would soon realize how services design and development has become easier with this new CXF release. Lets dive into the … Continue reading CXF 2.2 in Action – services design simplified

Garbage First (G1) GC debuts with Java SE 6 update 14

Tony Printezis provided some insight into G1 in JavaOne last year. Now, we can see G1 in action with the latest JDK 6 builds. HotSpot JVM features this new collection mechanism in the recent Java SE update 14 early access builds (since b02). It is not enabled by default as this is still an experimental … Continue reading Garbage First (G1) GC debuts with Java SE 6 update 14

Handling multiparts in Restful applications using CXF

Sergey recently implemented multipart support for CXF JAXRS implementation which is available in 2.2-SNAPSHOT. He talks more about the feature in his blog here. It certainly provides a simpler programming model like any other CXF frontends, which I always liked with the CXF project and prime reason for its growing popularity among developers. It supports … Continue reading Handling multiparts in Restful applications using CXF

Java SE 6 Update 12 early access features 64-bit Java Plug-In

Support for 64-bit Java plug-in finally available with Update 12 early access. This feature request was a 4 year old RFE in Sun's bug database. I just installed this plug-in on my 64-bit vista. Its nice to see your 64-bit browsers verify Java by clicking here. Sun is planning to open source Java Web Start … Continue reading Java SE 6 Update 12 early access features 64-bit Java Plug-In