Category Archives: Java EE
-
Having JAXB1 and JAXB2 in the same classpath
Leave a comment30 August 2012 by ludovicianul
If you just add JAXB1 and JAXB2 jars into the same classpath you may end up with the following exception: …
Continue reading -
How to display images from the database in your jsp pages – the easy way
225 September 2011 by ludovicianul
The easiest and elegant way to read images from the database and display them in the UI is through a …
Continue reading -
How to increase Tomcat heap size in Eclipse
115 September 2011 by ludovicianul
If you get a lot of java.lang.OutOfMemoryErrors while running your web application on Tomcat from Eclipse, it means that you …
Continue reading -
How to inject Spring beans into Servlets
58 September 2011 by ludovicianul
This can be achieved in 3 simple steps: 1. Implement HttpRequestHandler First of all your servlet class must implement the org.springframework.web.HttpRequestHandlerinterface …
Continue reading -
The Generic DAO pattern in Java with Spring 3 and JPA 2.0
207 September 2011 by ludovicianul
One thing that annoys me the most is code duplication. The DAO layer is the perfect candidate for this kind …
Continue reading
