Archive for May 2011

Handling alien Java types in XML messages

Most of times we find ourself in situations where the XML instance doesn't fully comply with the available Java types. Let's define a near real world problem to understand this. Problem: Need to process XML message coming from some XYZ source we don't.
Saturday, May 14, 2011
Posted by Unknown

Converting JSF <h:dataTable/> to <annaRascla:RajniKant/> table ...

By RajniKant table I mean a readonly table that has all the features (sorting, pagination, searching etc). Most developers who are struck with JSF RI implementation know already how difficult it is to provide all these mentioned features. Suddenly.
Posted by Unknown

Building RESTful WS with JAX-RS (Jersey) and Tomcat

This post is dedicated to my friend jagdish salgotra who wanted me to write something on RESTful web services and to all starters in this area. In the REST(REpresentational State Transfer) world, information on the server side is considered a resource,.
Sunday, May 8, 2011
Posted by Unknown

Saving ENUM values as String in database using JPA

First of all nothing very fancy or technical about this post :) Let's say you have an enum declaration as shown below and you want to store these values as String (not the evil ordinals) in the database: public enum UserSex { MALE, FEMALE, UNKNOWN } To.
Sunday, May 1, 2011
Posted by Unknown
Tag : ,

Popular Post

Labels

JAX-RS (1) JPA (1) RESTful (1) enums (1) java (2) mysql (1) request 2 (1) sphinx (1) tomcat (1) web service (2) ws (2)