Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure Jboss3.0.7 in Jbuilder7

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces how to configure Jboss3.0.7 in Jbuilder7. It is very detailed and has a certain reference value. Friends who are interested must read it!

Configuration of jboss3.0.7 in Jbuilder7 XML:namespace prefix = o ns = "urn:schemas-microsoft-com:Office:office" / >

1. Download and install J2sdkpjpjsdkee

Download and install j2sdk and j2sdkee from Sun's website. Http://www.sun.com/

2. Set environment variables

Java_HOME = c:j2sdk (the directory where j2sdk is installed)

J2EE_HOME = c:j2sdkee (the directory where j2sdkee is installed)

Add ClassPath = ClassPath

C:j2sdk1.4.1_02lib ools.jar

C:j2sdk1.4.1_02jrelibjaws.jar

C:j2sdk1.4.1_02libdt.jar

C:j2sdkee1.3.1libEJB10deployment.jar

C:j2sdkee1.3.1libj2ee.jar

C:j2sdkee1.3.1libjhall.jar

C:j2sdkee1.3.1libj2eetools.jar

C:j2sdkee1.3.1lib

Add Path = path

CRV j2sdk1.4.1mm 02in

3. Test the installation and configuration of j2sdk and j2sdkee

Create the test file test.java in any directory

Import java.util.Date

Public class Test

{

/ / Constructor

Public Test () {}

/ / the method to display the current time

Public String getDate ()

{

Date date=new Date ()

Return date.toString ()

}

}

Then compile the source file at the command prompt

Javac Test.java

If the compilation produces the Test.class file correctly, the j2sdk is installed correctly.

Enter in any directory

J2ee-verbose

Start the j2ee server and J2EE server startup complete appears

Indicates that the j2ee service starts normally

J2ee-stop

Stop the j2ee service.

The above indicates that j2sdkee is installed correctly.

4. Download Jboss

Sourceforge.NET/sourceforge/jboss/jboss-3.0.7_jakarta-tomcat-4.1.24.zip "> http://aleron.dl.sourceforge.net/sourceforge/jboss/jboss-3.0.7_jakarta-tomcat-4.1.24.zip

This version is a collaborative version of jboss and tomcat.

JBoss needs to download JBossOpenTool For JBuilder 7 to work with jBuilder

Address: DOWNLOAD/JBuilder_JBossOT.jar "> http://weisoft.myrice.com/download/JBuilder_JBossOT.jar

5. Install Jboss

Extract the jboss-3.0.7_jakarta-tomcat-4.1.24.zip file and install it. No configuration parameters are required for jboss.

Copy the JBuilder_JBossOT.jar file to libext in the installation directory of jBuilder7

6. Configure jBoss in jBuilder7

A. Restart jBuilder7.

B, Tools > Configure Server

Select Jboss 3.x in User Home and select Enable server in Server Settings on the right.

General pages

Home Directory is set to the installation directory of Jboss, and others use the default settings.

Main Class = = org.jboss.Main

VM Parameters =-ms64m-mx64m-Dprogram.name=run.bat

Server Parameters =-c default (all,default,minimal)

Working directory = = Jboss installation directory in

Custom pages

Jboss installation directory = = installation directory of Jboss

Tomcat installation directory in Jbuilder = = C:/JBuilder7/jakarta-tomcat-4.0.3

Jboss Configuration to use: default

C, Tools > Configure Libraties

Under User Home, new a Library setting name = Jboss libs and click OK.

Add jboss-j2ee.jar to the Class of Library Setting (in default under the server directory under the installation directory of jboss. )

At this point, the collaborative development environment of jboss and jbuilder has been established, and you can start the development of EJB.

Note: in the newly created project, you need to select the server of the server page as Jboss 3.x in the project properties.

These are all the contents of the article "how to configure Jboss3.0.7 in Jbuilder7". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report