About Boris Lam
Boris is an experienced Java developer with in Hong Kong. His expertise is in Java EE technology, object-oriented application development, and the use of open source frameworks (e.g. Spring , Apache MyFaces). In recent years, he is primarily involved in framework development and architectural design in serveral Government related software development projects.
List/Grid Author Archives Subscribe to the RSS feed of Boris Lam

Spring Data, MongoDB and JSF Integration tutorial
Introduction to sample application (MongoShop Product Catalog) After this tutorial, a sample application (MongoShop Product Catalog) with the following functional requirement will be ...

Lightweight Web Application Framework: PrimeFaces (JSF) + Guice + MyBatis (Part 2)
In this part, I will continue to demonstrate the integration of JSF, Guice and MyBatis. DBCP connection pool and MYSQL database is used in persistence layer. Take a look at Part 1. Integrate ...

Lightweight Web Application: PrimeFaces (JSF) + Guice + MyBatis (Part 1)
Recently, my friend asks me how to build a lightweight java web application. Many Java web developer would choose Spring and hibernate to build a traditional web application. However, ...

Session Timeout Handling on JSF AJAX request
Session Timeout Handling on JSF AJAX request When we develop JSF application with AJAX behaviour, we may experience the problem in handling timeout scenario of Ajax request. For example, ...

Customizing Spring Data JPA Repository
Spring Data is a very convenient library. However, as the project as quite new, it is not well featured. By default, Spring Data JPA will provide implementation of the DAO based on ...

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 ...



