Release your entities

This post elaborates on an interesting Architecture bug (was made long time ago by unmet team) and the fix for it. To sum up it’s about entities purification out of the Persistence Context overhead when you need to use them outside of the container, serialize them and send them over RMI,SOAP and other protocols to other JVMs. The Problem You may found yourself in a situation where you don’t have DTOs (for whatever strange reason), there existing object-graph is large but you need to use entity objects outside of the managed scope....

February 22, 2012 · 6 min · Alexander Holbreich

Java EE 5 vs Java EE 6

This post visualizes changes between Java EE Standards 5 and 6. The comparison of standards is listed in four sections Web-Services, Web-Container, Enterprise Application technologies and Maintenance. Hope this helps someone. Web Service related changes Spec Java EE 5 (JSR-244) Java EE 6 (JSR-316) JSR-101 JAX-RPC v1.1 v1.1 JSR-109 Enterprise Web Services v1.2 v1.3 JSR-181 Web Service Metadata v1.0 v1....

January 29, 2011 · 4 min · Alexander Holbreich

First Look at Java Persistence API (JPA)

The Java Persistence API (JPA) provides a POJO persistence model for object-relational mapping. The Java Persistence API was developed by the EJB 3.0 software expert group as part of JSR 220, but its use is not limited to EJB software components. It can also be used directly by web applications and Java SE application clients. So JPA is about persistence of the java objects or entities. An Entity is a lightweight domain specific java object that may be stored to persistent storage (mostly Relational DB)....

January 13, 2007 · 4 min · Alexander Holbreich