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 … Read moreSakila Restful Search using CXF FIQL
Project Coin includes the following proposals that will make into Java 7. – Binary literals and underscores in literals – Strings in switch – Simplified Varargs Method Invocation – Improved Type Inference for Generic Instance Creation (Diamond) – Improved Exception Handling for Java – try-with-resources (ARM) I have briefly touched upon try-with-resources construct in my … Read moreRest of Project Coin explored, advantage Java 7
In Flux, we have made improvements in recent versions to handle database or network failures and recover from such failures gracefully without needing to restart Flux. Sometimes, it would be nice to notify administrators about these failures and they can act upon them in case of an unscheduled outage. Flux is dependent on the database … Read moreHandling Flux Database outages using BoneCP Connection Pool
Try-with-resources (originally known as Automatic Resource Management) is one of the Project Coin proposals that made its way into recent JDK 7 builds. Traditionally, developers had to manually terminate any resources (Files, Database connections, etc) they use in their applications and sometimes it was painful to keep track of those things and failing to do … Read moreIntroducing Try With Resources, can project Coin become crown jewel of Java 7?
A video is worth 10000 words! Download today and experience it yourself. Enjoy!
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 … Read moreHate JAXB annotations: MOXy and JAXBIntroductions comes to the rescue
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 … Read moreHandling Generified Collections in Jersey JAX-RS
I recently came across this interesting question on Job Scheduling in Java in the widely popular experts-exchange website. Unfortunately, you require subscription to see “expert” answers, unlike Stack Overflow. Here is my take on this FAQ: 1) Is it possible to use Sun’s own java.util.TimerTask for my complex report scheduling? Timer facility has limited capabilities … Read moreJob Scheduling in Java, why Flux?
Last week, I migrated the tutorial “Developing a loan processing application using Apache CXF & JPA in NetBeans” from NetBeans wiki to Google Sites. The NetBeans wiki migration late last year screwed up the contents of both the tutorials that I had contributed to NetBeans. Considering the future of NetBeans infrastructure, I decided to move … Read moreCXF + JPA Tutorial moved to Google Sites
JAX-RS runtime allows applications to supply entity providers which maps services between representations (via @Produces and @Consumes) and their Java types. The entity provider interfaces MessageBodyReader and MessageBodyWriter defines the contract that supports the conversion of a stream to a Java type and vice versa. Lets write a simple JAXRS provider for handling a SOAPMessage … Read moreSOAP over RESTy Client