Open Session in View Pattern for Spring and JPA
Mar 8th
The Open Session in View Pattern is well publicised in Hibernate circles as the best practice approach to presenting data in the Web tier of an application. In this article I’ll demonstrate how simple it is to configure a Spring application to do the same thing with the Java Persistence API (JPA).
How to Access the Size of a Collection in a JSP Page Using JSTL-EL
Jan 9th
A common and frustrating problem that many programmers encounter when first working with JSPs is how to access the size of a Collection using the JavaServer Pages Standard Tag Library (JSTL) and the Expression Language (EL). This article discusses this problem and illustrates a best practice solution.
The Problem
The JSTL and EL greatly reduce the amount [...]
