java

Release your entities

This post shows how to clean JPA entities out of Persistence Context overhead when you need to use them outside of container, serialize them and send them over RMI,  SOAP and other protocols to another JVMs. The Problem You may found yourself  in a situation where  you don’t have DTO’s,  there existing object-graph  is a [...]


Installing Java 7 on Debian

Here is just an example of how to install java 7 on your linux. I use current Debian and oracle (former sun) java 7. First i had to download the latest java from oracle site and then extrat it. I have to do it because at the moment the is no official debain package for [...]


Favorite Eclipse UML Plugin

What is your favorite Free or Open-Source UML Plug-in? Every year i try some of them and  remove them after few hours. As i remember, they where resource-hungry or just bad in reverse engineering Some weeks ago i tried ObjectAid UML Explorer Class Diagram and liked it. It could quick and easy create simple class [...]


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 Java EE 5 (JSR-244) Java EE 6 (JSR-316) JAX-RPC 1.1 JSR 101 JAX-RPC 1.1 Enterprise Web Services 1.2 JSR 109 Enterprise Web Services 1.3 [...]


Eclipse Ganymede and WSCompile incompatibility?

I found strange problem with WSCompile-1.6 task in Ganymede release of Eclipse (Version 3.4.1). The problem lies in WSCompile-Ant-Task. Build-script execution freezes on the wscompile task. I describe that problem more detailed on techjava.de Please feel free to comment here or there if you know what died changed in Ganymede in ant scripts handling since [...]


First Look at Java Persistence API (JPA)

The Java Persistence API page on java.sun.com describes the Persistence API as: The Java Persistence API 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 [...]