1. Download the required software:
J2EESDK1.4SDK
http://java.sun.com/j2ee/1.4/download.html
Download j2eesdk-1_4-windows.exe
Eclipse3.0:
http://www.eclipse.org/
Download Eclipse-sdk-3.0-win32.zip
Lomboz3.0:
http://www.objectLearn.com/index.jsp
Download Lomboz.3.zip and EMF-SDO-Runtime-
2.0.0
.zip
JBoss
3.2.3
:
http://www.jboss.org/index.html
Download jboss-
3.2.3
.zip
2. Configuration
Install J2EESDK1.4SDK, assume that it is installed in the C: / Sun / Appserver directory
1 Add environment variable ClassPath:
(C: / Sun / AppServer / JDK / LIB / Tools.jar; C: / Sun / Appserver / JDK / LIB / DT.JAR;
C: /sun/appserver/lib/j2ee.jar
Add it in the environment variable PATH
C: / sun / appserver / jdk / bin; c: / sun / appserver / bin
2 Install Eclipse3.0
Unzip Eclipse-sdk-3.0-win32.zip, assume that the D: / Eclipse3 directory is solved, run Eclipse.exe
.
3 Install Lomboz
Put the file Lomboz.3.zip and EMF-SDO-Runtime-
2.0.0
After .zip decompression, copy to D: / Eclipse3 / Plugins and D: / Eclipse3 / Plugins and D: / Eclipse3 / D: / Eclipse3 / Features Directory, run Eclipse.exe again, select File-New-Other in the menu , Appear below the interface:
figure 1
4 installation jboss
Will jboss-
3.2.3
.zip decompression to D: /JBoss-3.2.3 directory
5 Configure Eclipse3.0
Select Windows-Preferences in the menu, configure Eclipse Figure 2 in Figure 2, follow the interface below. Note: 1. After extracting lomboz.3.zip and emf-do-runtime-2.0.0.zip to the Eclispe directory, you need to restart Eclipse after deleting the configuration / org.eclipse.Update / placeform.xml in the Eclipse directory so that Eclipse can Find the settings of EMF and Lomboz.Lomboz can refer to http://www.objectLearn.com/support/docs/installation/install.jsp 2.
For JBoss3.2.5, you need to add (modify) com.ObjectLearn.jdt.j2ee_3.0.1 / servers / jboss325.server $ {serverRootDirectory} serverHome> $ {serverRootDirectory} / server / $ {serverConfig} / deploy webModulesDeployDirectory> $ {serverRootDirectory} / server / $ {serverConfig} / deploy ejbModulesDeployDirectory> $ {serverRootDirectory} / server / $ {serverConfig} / deploy earModulesDeployDirectory> org.jnp.interfaces.NamingContextFactory jndiInitialContextFactory> jnp: // $ {serverAddress}: 1099 jndiProviderUrl> Org.jboss.main <
/ StartClass> $ {serverRootDirectory} / bin startWorkingDirectory> startVmParameters> -c $ {serverConfig} startProgramArguments> org.jboss.Shutdown stopClass> $ {serverRootDirectory} / bin stopWorkingDirectory> stopVmParameters> -S stopProgramArguments> JDK_TOOLS jar> $ {classpathvariablename} / {classpathvariablename} / {classpathvariablename} / jar> $ {classpathvariablename}> $ {classpathvariablename} / $ {classpathvariablename} / Client / jboss-j2ee.jar jar> $ {classpathvariablename} /lib/concurrent.jar jar> $ {classpathvariablename} / lib / jboss- System.jar jar> $ {classpathvariablename} /lib/dom4j.jar jar> $ {classpathvariablename} /lib/xercesimpl.jar jar > $ {classpathvariablename} /lib/xml-apis.jar jar> $ {classpathvariablename} /lib/gnu-regExp.jar jar> $ {classpathvariablename} /lib/getopt.jar jar> $ {classPathVariableName} / server / $ {serverConfig} /deploy/jbossweb-tomcat50.sar/servlet-api.jar jar> $ {classPathVariableName} / server / $ {serverConfig} / lib / Bcel.jar jar>
"variable"> $ {classpathvariablename} / server / $ {serverconfig} /lib/jboss.jar jar> $ {classpathvariablename} / server / $ {serverconfig} / lib / jboss-transaction .jar jar> $ {classpathvariablename} / server / $ {serverconfig} /lib/jnpserver.jar jar> $ {classpathvariablename} / server / $ {serverconfig} /lib/jpl-util.jar jar> serverclasspath > $ {classpathvariablename} /client/jboss-j2ee.jar jar> $ {classpathvariablename} /client/jboss-client.jar JAR> $ {classpathvariablename} /client/jboss-common-client.jar jar> $ {classpathvariablename} /client/jboss-jaas.jar Jar> $ {classpathvariablename} /client/jbosssx-client.jar jar> $ {classpathvariablename} /client/jnet.jar jar> $ {classpathvariablename} / client / jnp-client .jar jar> $ {classpathvariablename} /client/log4j.jar jar> $ {classpathvariablename} /server/default/lib/jnpserver.jar jar> clientclasspath> jdk_tools jar> $ {classpathvariablename} /bin/run.jar jar>