Home

  

Product

  

Buy

  

Support

 First Line 
 FAQs 
 Tutorials 
 Registered Users 
 User Guide 
 Knowledge Base 

News

  

Press

  

Downloads

  

Contact

  

Company

  

Partners

  

Resources

 
 
6. Running JCodeBox as a JBuilder plug-in

  
 6.1 Overview

 6.2 Configuration

 6.3 Export Options

  6.1 OverviewTo top of page

 If you use the Borland JBuilder IDE, you can access all of the features of JCodeBox without leaving your IDE by running JCodeBox as a JBuilder plug-in. This means that you can still benefit from using JCodeBox to iteratively design/build/deploy your enterprise/web applications but in additional you can also benefit from tighter integration between JCodeBox and the JBuilder environment (i.e. When you are happy with the application you have created in JCodeBox, you can export it directly into a JBuilder project for further maintenance and fine tuning).

JCodeBox allows you to export all source and configuration files (i.e. Java, JSP, XML, etc) and will even set-up the correct source paths and required libraries in your JBuilder project.

  6.2 ConfigurationTo top of page

 Configuring JCodeBox to run as a JBuilder plug-in is very straightforward and consists of the following steps:

  • Install JCodeBox
  • Copy the JCodeBox.lax file (from your JCodeBox installation directory) to the JBuilder defaults directory
  • Copy the jcb.jar file (from the lib sub-directory in your JCodeBox installation directory) to the JBuilder lib/ext directory
  • Copy the log4j.jar file (from the lib sub-directory in your JCodeBox installation directory) to the JBuilder lib/ext directory
  • Optionally, copy any JDBC driver files (i.e. jconn2.jar) to the JBuilder lib/ext directory (you can also add them to the path in the jbuilder.config file)
  • Re-start JBuilder for the changes to take effect

  6.3 Export OptionsTo top of page

 To invoke JCodeBox from JBuilder select JCodeBox from the JBuilder Tools menu. Then use JCodeBox as normal to iteratively design/build/deploy your enterprise/web application. When you are happy with the results and would like to export your application to JBuilder, select the Export application menu option on the Define Application dialog (in JCodeBox). This will display the Select Export Items dialog which is divided into four parts:

  • Source paths

  • This section allows you to select which source paths should be created/configured in JBuilder.

  • Packages

  • This section allows you to select which packages should be exported to JBuilder. All of the source files within the selected package will be available for editing in JBuilder.

  • Files

  • This section allows you to select which files (i.e. JSP, XML, etc) should be exported to JBuilder.

  • Required libraries

  • This section allows you to select which required libraries should be created/configured in JBuilder.

Once you are happy with your selections, press the OK button and JCodeBox will export/configure the selected items to JBuilder.

[an error occurred while processing this directive]