Step 3: install and configure jBuilder 7
Here I installed weblogic
Do not install jBuilder in a directory with spaces, such as Prograih Files or a Chinese directory. Otherwise, errors may occur during compilation. The installation is very simple and you don't have to talk about it. Here we will focus on configuration Tips 1: We think jBuilder may be very slow to run, because jbuilder uses 32 MB memory by default. If your memory is large enough, you can increase it by a bit, the specific method is as follows,
Find the jBuilder. config file in the jbuilder installation directory BIN, edit it, and change the parameters after Vmparams,
My configuration is
Vmparam-Xms64M
Vmparam-Xmx64M
Start jBuilder. Under About Jbuilder under Help, you can see that Java heap has been added and runs much faster. At least you can compile large files later. Tip 2: When running jBuilder, it is inconvenient to compile the code. The selected code is always different from what you actually see. This is because of the font. The solution is as follows, in the Display under Editor Options of Tools, change the font Family in Editor Font to the new.
Configure weblogic Service
JBuilder can be used to integrate weblogic, so that the EJB developed under jBuilder or the website packaged into WAR can be directly released to weblogic!
Select Configure Servers under tools
In the following user Home, you can see "webLogic Application Server 6. x-7.0, click it, Server Settings will appear on the right, Enable server is checked, in the General below select home directory and Working directory: I am "D: /bea/wlserver6.1"
Click Custom item
Select JDK installation directory: D:/bea/jdk131"
BEA home directory: the installation directory is "D:/bea". Enter the password and the Domain name and Server name you set when installing weblogic, if the directory is selected correctly, the version number of your weblogci is automatically displayed in the following version. Click OK!
Next, let's conduct an experiment to see if weblogic is integrated with jbuilder!
First, create a new project, select Application, enter your project name in name, and click Finish.
When creating a project, check whether the Server uses Weblogic.
Select "new" and select "Web" under the existing Object Gallery. Because we want to publish a WEB Application, select "Web Application ".
Name the website package. Specify its working directory and select Generate war. Click OK.
Next, we need to create a new JSP file. Click "CREATE" on the same Page. on the WEB Page, select "assumerver Page" and click "Next" by default. It will automatically create a JAVABEAN,
First, we need to compile the automatically generated BEAN into a class, select it, right-click it, and select Rebuild compile from the menu that appears.
Compile your Web Application and it will automatically generate the WAR package. Click this package to release it.
Publish website
0. Enter http: // 127.0.0.1: 7001/tds/index. jsp in the browser to view the page.
1 PS: WAR is the entire web appliction compressed package. Simply put, the point is that the entire website can be packaged and published using weblogic, of course weblogic also supports directory Publishing!
I will write it here today. I hope you can understand it and I will be satisfied with it!