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
Category: Programming
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
Yahoo Search Restful Client using Jersey
Yahoo Search provides a RESTful interface for web search. Of course this service is been there for a while. I was just curious to use Jersey Client to play around with the Yahoo REST service. It opens up a world of possibilities for building applications around these services in Java. Let us invoke the web … Continue reading Yahoo Search Restful Client using Jersey
Programming SSL for Jetty based CXF services
It has been a wonderful week with my ramblings with CXF and SSL. But, it all ended up in good mood. Sometimes, it is so hard to find how to use certain features with CXF. I am a great fan of CXF because of its simplicity and intuitive feature set. It provides an array of … Continue reading Programming SSL for Jetty based CXF services
JavaOne 2008 presentations are online
For those who missed JavaOne this year, Sun has published the conference slides here a month later. I find these very useful especially for Java geeks as it provides an opportunity to learn some of the technical advancements around the Java platform and the momentum around the technology is healthy. My top contenders this year … Continue reading JavaOne 2008 presentations are online
Jersey Client API – made for each other
In my earlier blog entry on Jersey, I used HTTPClient API and curl command line utility as the clients. I had not mentioned about the Jersey Client API. It is part of the Jersey distribution. I would prefer using Jersey Client API as it is modeled around the concepts of JAX-RS spec. Let us quickly … Continue reading Jersey Client API – made for each other
Building RESTful web services using Jersey
Jersey is a JSR 311 reference implementation for the JAX-RS spec (The Java API for RESTful Web Services). The JSR development is nearing its completion, but for most part the RI is stable enough for developers to start playing with RESTful services. JAX-RS is an elegant API built around the powerful REST architecture and modeled … Continue reading Building RESTful web services using Jersey
ActiveMQ – shifting message brokering market landscape
Message brokering markets were once dominated by heavy weights and required huge investments by enterprises for implementing such solutions. Vendors made huge bucks out of it by selling such solutions and support. Is this still considered a niche market? I personally don't think so. I am definitely not against vendors offering such solutions, but the … Continue reading ActiveMQ – shifting message brokering market landscape
Effective Java v2 finally ships
Effective Java second edition finally started shipping this week. I dreamed of this day in one of my earlier blog post 🙂 As predicted, it finally made it this year during JavaOne. Even this year, Joshua had a session on "More 'Effective Java'" - third in a row since 2006. The book was published on … Continue reading Effective Java v2 finally ships