Step by step in JBuilder5 integrated Oracle 9ias development web application (1)

zhaozj2021-02-17  51

The first part: Installing the configuration article Developing WebApp in OC4J, only first packet EAR package can be deploy, if we use it to debug the program, it is very troublesome. Can I integrate OC4J under JBuilder for development, automatically package, release? Borland has provided us with a plugin that can be easily achieved. Let me install the step of installing this plugin, I hope to help you. The first step, you have to download this plugin to the Borland website, address is: http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=17029 In addition, you can also http: // codecentral. Borland.com/codecentral/ccweb.exe/listing?id=17123 Find the for JB6 plugin. In the second step, unpack, first unwave the ZIP file you downloaded, there are some installation instructions, etc. There is also a ZIP file OC4J1022JB5.ZIP to solve it in a temporary directory. Enter this temporary directory, you will find that there is also an OC4J.ZIP file in this, which is 1.0.2.2 (the latest now is a 1.0.2.2.2.1 version, you can replace it with a new version). Step 3, install, we will run in the command line: Installoc4j -jbhome D: / jbuilder5 -password 12345 -port 80 Note that the port here cannot use 8888, because the system is 8888, you have to change one, otherwise it will Dead (I don't know why). Here I changed to 80 ports. Wait for a while, the installer automatically installs OC4J in your jbuild5 directory, such as D: / JBuilder5 / OC4J. Then, the JBuilder is automatically configured, plus support for OC4J. If you succeed, you can start the OC4J directly to JBuilder5 / OC4J, see if it is normal? Java -jar orion.jar starts normally, enter http: // localhost / to see the OC4J Welcome page in IE. Step 4, configure your JBuilder. Start JB, enter the menu Tool - Enterprise Setup - Application Server page, you should find a property page for an Oracle 9ias 1.0.2.2. There is your installation path, administrator password, and default publishing goals. Here is to establish a publishing goal, click New, pop-up window, enter Container Name: Jiwei, Password: 778899, and other silence values. After being created, click Default to make it a default release. Also, under Tool - Configure Libraries, you have to add the Orion.jar file. Click New, in the pop-up window, enter Name: OC4J, Library Paths: Select the JBuilder5 / OC4J / J2EE / HOME / Orion.jar file. OK. The installation is complete. The second article will explain a specific release method of WebApp with an example. What is wrong, please contact us: yancheng@sharetop.com

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

New Post(0)