Release your entities

Posted by & filed under Java, Software, Software Development.

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… Read more »

Java WebServices JSR overview

Posted by & filed under Software, Software Development.

Here give a short overview of important JSR of Java Community Process which define and standardises  WebServices development on Java Platform. JSR-175: A Metadata Facility for the JavaTMTM Programming Language. Also known as Java Annotations e.g. @Deprecated or @Override. JSR-181: Web ServiceMetadatata for the Java Platform. This is just a set of Annotations for using… Read more »

How to test J2EE Applications

Posted by & filed under Software Development.

Most java developers use (ok, ok maby just know about ) Junit. JUnit provides an effective and easy way to unit test client-side Java applications. Here is an very short example, just to see how easy you can build client-side Junit tests: {[.junit1 /enzymes/s_java.php]} JunitEE But Junit has some limitations, therefore, testing in each application… Read more »