使用Eclipse3.0+lomboz3.0+jboss 3.2.3 开发EJB
姜进成
1. 下载所需要的软件:
j2eesdk1.4SDK
http://java.sun.com/j2ee/1.4/download.html
下载j2eesdk-1_4-windows.exe
Eclipse3.0:
Eclipse.org/">http://www.Eclipse.org/
下载Eclipse-SDK-3.0-win32.zip
lomboz3.0:
http://www.objectlearn.com/index.jsp
下载lomboz.3.zip和emf-sdo-runtime- 2.0.0 .zip
jboss 3.2.3 :
jboss.org/index.html">http://www.jboss.org/index.html
下载jboss- 3.2.3 .zip
2. 配置
安装j2eesdk1.4SDK,假设安装在C:SunAppServer目录下
①添加环境变量ClassPath:
.; C:SunAppServerjdklib tools.jar; C:SunAppServerjdklib dt.jar;
C:SunAppServerlibj2ee.jar
再在环境变量Path添加
C:SunAppServerjdkin; C:SunAppServerin
②安装Eclipse3.0
将Eclipse-SDK-3.0-win32.zip解压缩,假设解到D:Eclipse3目录下,运行Eclipse.exe 。
③安装lomboz
把文件lomboz.3.zip和emf-sdo-runtime- 2.0.0 .zip解压缩后,按照解压后的目录对应拷贝到D:Eclipse3plugins和D:Eclipse3 D:Eclipse3features目录下,再次运行Eclipse.exe,在菜单中选择File-new-other,出现下面的界面:
图1
④安装jboss
将jboss- 3.2.3 .zip解压缩到D:jboss-3.2.3目录下
⑤配置Eclipse3.0
在菜单中选择windows-preferences,按照下面的界面配置Eclipse
图2
图3
基本配置完成了,接下来我们将动手编写一个EJB应用。
<script type="text/javascript"> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>