Tuesday, October 12, 2010

Hibernate Validator

This is an alternative to the spring validation framework. The difference is , spring validation framework is mainly for validating the forms at the web layer. Hibernate validator can be used to validate the bean at any of the layers e.g. web, business, data etc. Here is the tutorial on how to use it. Hibernate valuators are annotation based so only java 5 onwards its supported.
http://wheelersoftware.com/articles/hibernate-validator.html

Asynchronous method invocation

Its in Java EE 6. Its in EJB 3.1. Caller does not wait for the called object to return , that is the method invocation happens in asynchronous mode.
http://en.wikipedia.org/wiki/Asynchronous_method_invocation?wwparam=1284477244

Volatile

A variable which is declared as volatile will have its up to date value published to all the threads which are accessing it. Reading the volatile variable is less performance intensive as compared to writing to it.
http://www.ibm.com/developerworks/java/library/j-jtp06197.html?wwparam=1284476923

Java concurrency

This is introduced in java 5 and like collections util, there is concurrency utilities. The variables declared are atomic. This is mainly used in concurrent thread execution, background processing etc.

http://www.books24x7.com/book/id_12090/viewer.asp?bookid=12090&chunkid=656179286

Hessian and Burlap

These are the binary and xml protocols for webservices. Its mainly used by the mobile applications. The web application needs to implement hessian sevlet interface to make this type of webservice available.

http://hessian.caucho.com/?wwparam=1284415435


http://caucho.com/resin-3.1/examples/burlap-add/index.xtp

RESTful webservices

http://en.wikipedia.org/wiki/Representational_state_trasfer