Posts

SyntaxHighlighter

SyntaxHighlighter is a fully functional self-contained code syntax highlighter developed in JavaScript. To get an idea of what SyntaxHighlighter is capable of, have a look at the demo  page.

Hibernate native SQL with Spring Data

Adding Hibernate native SQL features into your Spring Data Repository JPA provides @NamedNativeQuery for you to use native SQL. However, the usage is not so convenient, especially when you need to map multiple entities in your native SQL. You have to define a set of SqlResultSetMapping mapping which is quite error prone... http://borislam.blogspot.hk/2012/07/adding-hibernate-native-sql-features.html

web application with Spring 3.1

This is the first of a series of articles about setting up a RESTfull web application using Spring 3.1 with Java based configuration... http://www.baeldung.com/2011/10/20/bootstraping-a-web-application-with-spring-3-1-and-java-based-configuration-part-1/

Observer pattern with Spring

... This pattern can be implemented using an adhoc solution or using java.util.Observer/Observable classes. But my projects are always developed with Spring whether they are web or desktop applications. So in current post I will explain how I implement Observer pattern with Spring... http://www.lordofthejars.com/2011/10/una-terra-promessa-un-mondo-diverso.html

XStream

Due to XStream's flexible architecture, handling of JSON mappings is as easy as handling of XML documents. All you have to do is to initialize XStream object with an appropriate driver and you are ready to serialize your objects to (and from) JSON... http://xstream.codehaus.org/json-tutorial.html

SPRING DATA - JPA

Spring JPA is part of the umbrella Spring Data project that makes it easy to easily implement JPA based repositories. Now available on O'Reilly's Open Feedback Publishing System is the book Spring Data: Modern Data Access for Enterprise Java which covers Spring Data JPA. Feedback is very much appreciated! http://www.springsource.org/spring-data/jpa

Spring MVC 3.1‏

http://www.lordofthejars.com/2011/06/tonari-no-to-to-ro-totoro-to-to-ro.html