Last week, JetBrains announced their new statically typed language Kotlin at the JVM Language Summit. Kotlin joins the elite group of statically typed languages : Scala, Gosu, Ceylon, Fantom, targeted to run on the JVM. Scala is the most mature in this statically typed landscape. Fantom supports static and dynamic typing, so it may not … Continue reading Project Kotlin, a new JVM language to rescue Java developers?
Category: Open Source
Lambdas in Java, Plan B in action
Recently, Brian Goetz published modified draft of the Lambda proposal. This draft is mature in terms of the direction where Lambda is heading for in the Java world and introduces some breaking changes from earlier draft to align with this direction. While there are few things that need to be sorted out, this draft is … Continue reading Lambdas in Java, Plan B in action
Sakila Restful Search using CXF FIQL
There are two features that are very cool in the recent CXF 2.3 release that deserves its mention in the release notes/features document as they prove to be quite useful and powerful in certain use cases. Advanced search capabilities and Atom Logging features make CXF a compelling choice for developers looking for this support in … Continue reading Sakila Restful Search using CXF FIQL
Hate JAXB annotations: MOXy and JAXBIntroductions comes to the rescue
JAXB is the defacto OXM binding framework for the Java platform which performs marshalling (serializing Java to XML) and unmarshalling (deserializing XML to Java) using the standard Java APIs. I must admit that JAXB is a smart addition to the Java Web services technologies stack. It reminds me of days where I used to write … Continue reading Hate JAXB annotations: MOXy and JAXBIntroductions comes to the rescue
Handling Generified Collections in Jersey JAX-RS
It is quite possible many developers have run into this problem with Jersey, not really a problem, but limitations of a programming language. I remember from school days where C++ Templates had quite a few reference books and it always kept me away from using STL containers 🙂 In Java, we have Generics since 1.5 … Continue reading Handling Generified Collections in Jersey JAX-RS
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
CXF 2.2 voting begins
I have been waiting for this release for quite some time mainly because it fully supports JSR 311 API and its very own Client API. It could become one stop solution for developers building and deploying SOAP & REST web services. Major features of this release include : ~ JAX-RS 1.0 support ~ WS-SecurityPolicy support … Continue reading CXF 2.2 voting begins