Enterprise Java
-

Using @NamedEntityGraph to load JPA entities more selectively in N+1 scenarios
The N+1 problem is a common issue when working with ORM solutions. It happens when you set the fetchType for…
Read More » -

Spring 4: CGLIB-based proxy classes with no default constructor
In Spring, if the class of a target object that is to be proxied doesn’t implement any interfaces, then a…
Read More » -

Java EE7 and Maven project for newbies – part 7
Resuming from the previous parts Part #1, Part #2, Part #3, Part #4, Part #5 , Part #6 In the…
Read More » -

Hibernate and UUID identifiers
Introduction In my previous post I talked about UUID surrogate keys and the use cases when there are more appropriate…
Read More » -

Tracing SQL statements in JBoss AS 7 using a custom logging handler
Using an ORM to abstract from your specific database and to let it create and issue all the SQL statements…
Read More » -

Spring Integration Java DSL sample – further simplification with Jms namespace factories
In an earlier blog entry I had touched on a fictitious rube goldberg flow for capitalizing a string through a…
Read More » -

Codename One & Java Code Geeks are giving away free JavaOne Tickets (worth $3,300)!
Would you like to go to JavaOne? Besides being a cool conference its loads of fun with shows and events…
Read More » -

How to use Salesforce REST API with your JavaServer Pages
Abstract: This tutorial gives an example of a JSP and how to integrate it with the Salesforce REST API. We…
Read More » -

Java EE Pitfalls #1: Ignore the default lock of a @Singleton
EJB Singleton Beans were introduced by the EJB 3.1 specification and are often used to store cached data. This means,…
Read More »


