How can I get started with EJB and JBoss quickly?
The best way to get started is to go through a tutorial targeted at the application server you intend to use. For JBoss, there are two tutorials that we suggest, which are well explained and comprehensive: JBoss which is from the JBoss website, and the O’Reilly JBoss Workbook. The following gives a step-by-step description of how to run a simple EJB example on the cluster machines. We use the O’Reilly JBoss Workbook example for this purpose. A cached copy of the workbook and examples is available at /afs/ece/class/ece749/ejb/ejbwJboss.Files.zip. This link shows commands and output that was captured while working through example 4.1 of the workbook. NOTE: I am using asl.lab.ece.cmu.local and the bash shell for demonstration puposes. Similar instructions apply for other shells and machines. Also, I am using the cluster installation of JBoss. You can use a separate installation by unzipping the JBoss binary in your workspace.