| Author |
a question about j2ee server
|
hello
Greenhorn
Joined: Jun 26, 2007
Posts: 4
|
|
|
I'm a j2ee begin learner and the reader of headfirst ejb.when I have read chapter1 ,I downloaded java EE 5 SDK Update 2. I cann't find the deploytool descripted in the book,although the sdk has a server.does the server in j2ee sdk is the RI server refered to in the book .what is the relation and difference among RI , the server in the sdk and the server named glassfish.thank you.
|
 |
Freddy Wong
Ranch Hand
Joined: Sep 11, 2006
Posts: 959
|
|
If you're reading the Head First EJB, then you need to download J2EE 1.3 and not Java EE 5. You can download it from this link: http://java.sun.com/j2ee/sdk_1.3/
|
SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
|
 |
hello
Greenhorn
Joined: Jun 26, 2007
Posts: 4
|
|
thank you for your answer.after having read your reply,I installed the j2ee1.3. when I enter the j2ee install directory ,and run j2ee -verbose the system shows :"error:set java_home before running this script",although I have set java_home before I run j2ee server.what is the reason?how to solve this problem?thank you
|
 |
Freddy Wong
Ranch Hand
Joined: Sep 11, 2006
Posts: 959
|
|
Actually I'm not sure as I never install J2EE 1.3 before. But from the error message it seems that you haven't set the JAVA_HOME. If you use Windows, you can try this in the command prompt. set JAVA_HOME=<installation_path> If you use Linux, you can try this in the shell. export JAVA_HOME=<installation_path>
|
 |
manisha verma
Greenhorn
Joined: Jun 28, 2007
Posts: 10
|
|
alternatively you can use the command by running cmd from your run. I mean command prompt set classpath=.;<java installation location on your computer\lib;<J@EE server installation location>\lib\j2ee.jar set JAVA_HOME=<java installation location on your computer> set J2EE_HOME=<J2ee server intallation location on your computer>
|
 |
 |
|
|
subject: a question about j2ee server
|
|
|