A basic necessity in almost every software project is the log of SQL statements and for this purpose there is a plethora of options. However, despite the many alternatives, the log is often not made the best way:

The error occurs when you try to generate a report made with Jasper/iReport using an image. The error message is something like: Caused by: java.lang.NoSuchMethodError: com.lowagie.text.Image.getPlainWidth ()F</ strong>.

I will leave here workarounds for some PrimeFaces bugs when using dataTable with features resizable or draggable. Some of these bugs have been corrected, but if for some reason you like me works with any version of PrimeFaces containing the error and can not update it will be of great help.

When you start working with EJB one of the first things to learn is about the different types of beans, which at 3.1 specification are: Stateful Session Beans (SFSB), Stateless Session Beans (SLSB), Singleton Sessions Beans and Message-Drive Beans. With this comes one of the most common questions: “What is the difference between Stateful and Stateless beans?”. Well, this post is not one to explain these differences, if you need that follows a good link.