Accessing RESTful services configured with SSL using RestTemplate

SSL enabled RESTful services are quite easier to develop and test using Jersey, Grizzly and RestTemplate. Jersey (resource development) Grizzly Web Server (resource configuration and deployment) Spring 3 RestTemplate backed by Commons HTTP Client (resource access) In a moment, you will notice how all these nicely fit the bill. Let us start with the POM … Continue reading Accessing RESTful services configured with SSL using RestTemplate

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

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

LoanDB – loan originations system reference implementation

LoanDB is a loan originations system reference implementation. This project will be developed using Java technology frameworks such as Spring (Web Beans in future?), Hibernate (JPA), CXF (JAXWS) and Jersey (JAXRS). The concepts are based on my original toy implementation for the loan processing NetBeans tutorial. The tutorial was primarily focused on developing JPA and … Continue reading LoanDB – loan originations system reference implementation

Handling multiparts in Restful applications using Jersey

Multipart API in Jersey was made available by Craig in the recent 1.0.1 release. This API provides a simple mechanism to read and write body parts from within a restful application. Lets walk through a simple project resource which processes two parts, one JAXB bean and other an image. Add the following jersey maven dependencies … Continue reading Handling multiparts in Restful applications using Jersey

Spring Framework 3 reaches milestone1

Spring Framework 3.0 M1 was released last week during the SpringOne Americas event, which looks very promising with EL and REST becoming top themes. Lot of coverage on the event has been blogged, and you can find one of my favorite entry by Solomon here. Juergen outlines some of the new features implemented in this … Continue reading Spring Framework 3 reaches milestone1

Jersey 1.0 final ships – production quality RI for JSR 311 API

Today, Paul announced in his blog about the availability of Jersey 1.0. I have been waiting for this release like many others. The Jersey team delivered a pretty solid implementation and this implementation has been tested by the user community to a greater extent. This project can be considered as a blueprint for similar JSR … Continue reading Jersey 1.0 final ships – production quality RI for JSR 311 API