Develop EJB (1) reprint using Eclipse3.0 + Lomboz3.0 + JBoss3.2.3

xiaoxiao2021-03-06  57

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} $ {serverRootDirectory} / server / $ {serverConfig} / deploy $ {serverRootDirectory} / server / $ {serverConfig} / deploy $ {serverRootDirectory} / server / $ {serverConfig} / deploy org.jnp.interfaces.NamingContextFactory jnp: // $ {serverAddress}: 1099 Org.jboss.main <

/ StartClass> $ {serverRootDirectory} / bin -c $ {serverConfig} org.jboss.Shutdown $ {serverRootDirectory} / bin -S JDK_TOOLS $ {classpathvariablename} / {classpathvariablename} / {classpathvariablename} / jar> $ {classpathvariablename}> $ {classpathvariablename} / $ {classpathvariablename} / Client / jboss-j2ee.jar $ {classpathvariablename} /lib/concurrent.jar $ {classpathvariablename} / lib / jboss- System.jar $ {classpathvariablename} /lib/dom4j.jar $ {classpathvariablename} /lib/xercesimpl.jar $ {classpathvariablename} /lib/xml-apis.jar $ {classpathvariablename} /lib/gnu-regExp.jar $ {classpathvariablename} /lib/getopt.jar $ {classPathVariableName} / server / $ {serverConfig} /deploy/jbossweb-tomcat50.sar/servlet-api.jar $ {classPathVariableName} / server / $ {serverConfig} / lib / Bcel.jar

"variable"> $ {classpathvariablename} / server / $ {serverconfig} /lib/jboss.jar $ {classpathvariablename} / server / $ {serverconfig} / lib / jboss-transaction .jar $ {classpathvariablename} / server / $ {serverconfig} /lib/jnpserver.jar $ {classpathvariablename} / server / $ {serverconfig} /lib/jpl-util.jar $ {classpathvariablename} /client/jboss-j2ee.jar $ {classpathvariablename} /client/jboss-client.jar $ {classpathvariablename} /client/jboss-common-client.jar $ {classpathvariablename} /client/jboss-jaas.jar $ {classpathvariablename} /client/jbosssx-client.jar $ {classpathvariablename} /client/jnet.jar $ {classpathvariablename} / client / jnp-client .jar $ {classpathvariablename} /client/log4j.jar $ {classpathvariablename} /server/default/lib/jnpserver.jar jdk_tools $ {classpathvariablename} /bin/run.jar

转载请注明原文地址:https://www.9cbs.com/read-118056.html

New Post(0)