Borland JBuilder integration and configuration with jboss

zhaozj2021-02-16  83

Borland Jbuilder is a very convenient Java IDE development tool, while JBoss is a good open source application server that uses some Open Tools to integrate them well. Hereinafter, JBuilder 6.0 and JBoss3.0 are described as an example. 1. Download the JBOSS homepage http://www.jboss.org download JBoss integration Tomcat software package and download the decompression installation until the configuration and test success. Detailed description "JBoss3.00 and Tomcat 4.03 installation and configuration" 2. Download JBuilder6 or JBuilder7 from http://www.provelgra.com/javagroup.html, JBuilder6 or JBuilder7 integral with JBoss 3, then decompress, follow the following methods To integrate: (1) Copy the jbossentwizard_3x_v2.2_jbuilder_6.jar file to the lib / ext directory of jbuilder6. (2) Start JBuilder, in the Application Servers page in the Tools / Enterprise Setup menu, select JBossenterprise Server 3x, accept the license by pressing license, and then activate it. Select the appropriate installation path in JBossStallation Directory, ie% jboss_dist%, select the appropriate deployment path in JBoss DeploymentDirectory, usually% jboss_dist% ServerDefaultDeploy, and finally press OK. (3) Restart JBuilder, if JBoss has not been selected as an application server after restart, you can select JBoss 3X in the ProjectProperties / Servers menu and press OK. (4) When you need to deploy a JAR, EAR or WAR file, simply select Tools / Enterprise Deployment to process. 3. After generating an EJB component in JBuilder and deploys to JBOSS, you can develop EJB Test Client in JBuilder to test, but when testing the client, you will have javax.naming.noinitialcontextexception, mainly because you can't find it. ContextFactory, then you can create a directory in the corresponding classes jndi.properties documents, fill out the following statement: java.naming.factory.initial = org.jnp.interfaces.NamingContextFactoryjava.naming.provider.url = localhost: 1099java.naming. Factory.url.pkgs = org.jboss.naming: org.jnp.interface then testing the client should run normal.

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

New Post(0)