Author: Weng Chi original email: wcy@email.com forum:
Www.javaresearch.org
[Press] To help domestic J2EE beginners, write this article, expect to help the majority of Java enthusiasts. If there is a reprint, please contact the author.
This article configures a standard J2EE entry to the J2EE environment. This person steps yourself to explore the development environment that has been configured with J2EE. CLOUDVIEW to start the Cloudscape database can be described as full, mainly because it is not taken care. Greatly out
After intermittent research, I will share my experience now to everyone. First, confirm that you download J2SE1.3.1_02 JDK version and J2SDKee.1.3.1 These software can go to Sun's website to find http://java.sun.com Currently J2SE's highest version
It is J2SE1.4. Then install the above software. My installation directory is in H: disk. Before installation, if you have a different version of JDK, please uninstall it first, then install it. After installation,
Set the settings under ClassPath.Windows as follows: set java_home = h: /jdk1.3.1.2set j2ee_home = h: /j2sdkee1.3.1set classpath = h: /jdk1.2.2/jre/lib/i18n.jar; H: / JDK1.2.2 / jRE / lib / jaws.jar; h: /jdk1.2.2/jre/lib/plugprov.jar; h: /jdk1.2.2/lib/dt.jar; h: /jdk1.2.2/lib/tools .jar; h: /j2sdkee1.3.1/lib/ejb10Deployment.jar; h: /j2sdkee1.3.1/lib/j2ee.jar; h: /j2sdkee1.3.1/lib/jhall.jar; h: /j2sdkee1.3.1/lib /J2EETOOLS.jar;h:/j2sdkee1.3.1/lib;
The above is the directory on my machine. If you are installed on a different directory, change your own start J2EE to successfully start J2EE, and execute the J2EE.bat file in the H: /J2SDKee1.3.1/bin directory. Start J2EE Service Open Browser Typing Address http: // localhost: 8000 / index.html You can see the homepage to explain it.
Next, start the Cloudscape database comes with the J2EE, this is also simple to put H: /j2sdkee1.3.1/lib/system/cloudutil.jar; h: /j2sdkee1.3.1/lib/cloudscape/cloudclient.jar; h: /j2sdkee1.3.1 /LIB/Cloudscape/rmijdbc.jar;h:/j2sdkee1.3.1/lib/system/cloudscape.jar; joining, in the command line mode down to the h: /j2sdkee1.3.1/bin directory to hit Cloudscape -start Start the Cloudscape database
Key issues out how to call out the graphics management interface of the Cloudscape database! You will generally have an error in the command line mode. What is the reason? First, you have to see if your JDK version is right, is it 1.3.1_02 or more or 1.4. Second, the key in the key, the original Sun's J2EE in J2EE is working under the Cloudscape4.0.0.6 he came with (I really don't know what SUN is doing something :)) This is a sentence on the IBM website. : The Java 2 SDK, Enterprise Edition v. 1.3.1 Includes Cloudscape 4.0.6 But incrudes a Version of CloudView Which Will NOT Function with the 4.0.6 system. So the comrade door will go to the next one! There are also two JAR files here. The download address is CloudView.jar and JD.jar put the two files in the Cloudscape directory under J2SDKee1.3.1, I also need to add two classpaht path h: /j2sdkee1.3.1/cloudscape/cloudview406.jar; h: /j2sdkee1.3.1/cloudscape/jh.jarok! Master together! Now look at how to start CloudView, type java -dcloudscape.system.home =% j2ee_home% / cloudscape com.cloudscape.tools.cview here - DCLOUDSCAPE.SYSTEM.HOME is set to set the data inventory, this path can be When establishing a database, change% J2EE_HOME% / Cloudscape is the default work directory of Cloudscape can also remove the path after -dcloudscape.system.home, but remember, to build the database in a change path, otherwise J2EE Server can't find it! Ok, then you will find a graphical interface, I have a telescope look at you! :) Next, you can develop the first J2EE program, there are many examples on the Internet, and an article is quoted here. J2 programming starts you can quickly develop a J2EE program :)
and also:
http://www.chinaitlab.com/www/news/Article_show.asp?id=1882
Http://www.chinaitlab.com/www/news/Article_show.asp?id=16287