The JOnAS distribution comes with several example applications. In the following example, we will use a java client that accesses a Stateful Session bean and invokes the buy method of the bean transaction twice.
The Session Bean example application is located in the $JONAS_ROOT/examples/src/sb directory. It is composed of the following files:
-rw-r--r-- 4608 Apr 25 2003 ClientOp.java -rw-r--r-- 512 Apr 25 2003 jonas-sb.xml -rw-r--r-- 7680 Apr 25 2003 OpBean.java -rw-r--r-- 1536 Apr 25 2003 OpHome.java -rw-r--r-- 1536 Apr 25 2003 Op.java -rw-r--r-- 1536 Apr 25 2003 README -rw-r--r-- 1536 Apr 25 2003 sb.xml |
Check that all files are present before proceeding to the next section.