This document describes the setup for the Descriptor Systems Programming Enterprise JavaBeans (EJB3) for Eclipse/JBoss5 Workshop
Important: Please print this document and as you install the software, mark up the document with the actual directory paths where you installed the software. Then leave a copy of the marked-up document for the instructor.
With the exception of the operating system, all of the required software is available at no charge for download (some packages may require you to register on a website).
If you have questions or difficulties with the installation, you can contact Joel Barnum at 319-362-3906 or email at .
Instructor machine hardware is the same as students, plus any additional requirements listed below.
Instructor machine software is the same as students, plus any additional requirements listed below.
Create a folder in the root directory of drive C: named java. You will install the required software into this directory.
Download JDK 5.0 Update 17 (or other later version) for Windows from http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase5-419410.html . The filename should be jdk-1_5_0_17-windows-i586-p.exe. Warning: Be sure to download the JDK, not the JRE.
Run the EXE to install, accepting all of the defaults EXCEPT change the installation directory to C:\Java\jdk1.5.0_17.
You should end up with a directory named c:\java\jdk1.5.0_017.
Download JBoss 5.0.0 GA from http://www.jboss.org/jbossas/downloads . The filename should be jboss-5.0.0.GA.zip. Do NOT download the jdk6 version.
To install, unzip to the c:\java folder.
You should end up with a directory named c:\java\jboss-5.0.0.GA.
Download Eclipse Helios SR2 IDE for JEE Developers for Windows from http://www.eclipse.org/downloads/packages/release/helios/sr2 .
Be sure to get the IDE for Java EE Developers, not the IDE for Java Developers. Also, download the 64-bit version of Eclipse if your operating system is a 64-bit OS.
The filename should be eclipse-jee-helios-SR2-win32.zip (32-bit) or eclipse-jee-helios-SR2-win32-x86_64.zip (64-bit).
To install, unzip to the c:\java folder.
You should end up with a directory named c:\java\eclipse.
Set Windows environment variables:
Test the JDK installation. Open a command-prompt window by choosing Run from the Windows Start menu and entering cmd.
In the command-prompt window, enter the following:
java -fullversion
You should see the version number of the JDK. If you don't see the version number, close the command-prompt window and recheck the PATH environment variable and test again.
Test JBoss by using Windows Explorer to navigate to the c:\java\jboss-5.0.0.GA\bin folder and double-clicking the run.bat file. A command-prompt window should appear. Wait for a few moments until no more output shows up in the command-prompt window.
Then open Internet Explorer and browse to http://localhost:8080 - you should see a JBoss Web page.
You can close the command-prompt window.
Test Eclipse by using Windows Explorer to navigate to the c:\java\eclipse folder and double-clicking on eclipse.exe. Eclipse should start and ask for a "workspace folder" - just press OK and wait for the Eclipse startup to complete.
You can then close Eclipse.
Download the Student Exercise Archive from http://www.descriptor.com/setupguides/ejb3/setup/eclipseganymede-jboss5/j2eeclass.zip. Unzip the archive to the root directory on Drive C:. You should end up with a subdirectory named c:\j2eeclass.
Repeat the Student software setup on the instructor machine.
Download and install the Courseware Viewer program.
Download the Viewer installation program from: http://www.descriptor.com/viewer/binaries/setup.exe
Run the installation program, accepting all defaults.
Download the presentation materials from http://www.descriptor.com/setupguides/ejb3/setup/j2eeclass-screenshow.zip
Unzip this archive to the root directory on the same drive where you installed the Student Exercise Archive. You should end up with a subdirectory like c:\j2eeclass\courseware.
Test the Courseware Viewer. From the Windows Start menu, choose Descriptor Systems - Courseware Viewer. Then use the File - Open menu to open the c:\j2eeclass\courseware\j2eeclass.crs file. You should see the screen show.