Release your entities

How to repair architecture bug when JPA entities are leaking to Frontend

February 22, 2012 · 6 min · Alexander Holbreich

JBoss 7 setup on debian linux

This is a short step-by-step setup guide for JBoss 7.0.2 on Linux ((Debian). Nowadays there is still no official Debian package for JBoss 7 out there, so we have to do a couple of steps manually. 1. download and prepare Start by download the currently available version (7.0.2) of the JBoss 7. #Web Profile version download. wget http://download.jboss.org/jbossas/7.0/jboss-as-7.0.2.Final/jboss-as-web-7.0.2.Final.tar.gz Extracting files to the final location using tar. tar zxvf jboss-as-web-7.0.2.Final.tar.gz -C /usr/local/ Now your JBoss 7 is placed inside /usr/local/jboss-as-web-7....

November 10, 2011 · 3 min · Alexander Holbreich

Installing Oracle Java 7 on Debian

How to install java 7 on your Linux. Below you will find Oracle (former Sun) java 7 installed on Debian Linux At the moment there is no official debian (and linux at all) package (de) for java 7 and apt-get is not working for us, like previously with open jdk. Firstly we have to download the latest java from oracle site and then extract it. wget http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-linux-x64.tar.gz tar zxvf jdk-7-linux-x64.tar.gz -C /usr/lib64/jvm/ Then we have to do some configuration....

November 9, 2011 · 1 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.0 JSR-173 Streaming API for XML v1.0 v1.0 JSR-224 JAX-WS v2.0 v2....

January 29, 2011 · 4 min · Alexander Holbreich

Java WebServices JSR overview

In this article I give a short overview of the important JSR of Java Community Process which defines and standardizes WebServices development with Java Platform. JSR-175 : A Metadata Facility for the Java Programming Language. Also known as Java Annotations e.g. @Deprecated or @Override. JSR-181 : Web Services Metadatata for the Java Platform. This is just a set of Annotations for using with JAX-WS WebServiceces. Think of Annotations @WebService, @WebMethod…...

October 20, 2010 · 2 min · Alexander Holbreich

JBoss 5 GA on Debian linux

This short tutorial describes how to configure JBoss Application Server (Jboss GA 5.1.0) on a Debian Linux (Debian GNU/Linux 5.x “Lenny”). The article starts with the installation of Java JDK and continues with JBoss installation and basic configuration according to standard file system hierarchy. Also init.d. scripts configuration is given here. Installing Java SDK Nowadays installing Java environment on Debian is an easy task. I’ve used JDK 1.6. Don’t confound JDK with JRE, because bare Java Runtime Environment is not enough for running JBoss....

January 29, 2010 · 6 min · Alexander Holbreich

Will new Java Browser Plug-in make java applets sexy again?

Everybody knows the drawbacks of Java Applets. Long loading times, browser freezing, and stability problems. That fact does not make java applet popular1. Most of those problems lie in the quality of the java browser plug-in itself, which was not really good and was not improved over a longer time. Sun has ground up rewritten the browser java Plug-in. Following was done in this rebuild. Improved scripting support (So javascript integration is better) Improved reliability Supports more powerful applets (applets can ask for more memory) Better windows vista support (signed applets) Enterprise features (run one applet in a particular JRE version) The last point sounds very interesting to me....

November 1, 2007 · 1 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