File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes HFEJB: Where are Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "HFEJB: Where are "RI" and "DeployTool" Installation Instructions; & other questions" Watch "HFEJB: Where are "RI" and "DeployTool" Installation Instructions; & other questions" New topic

HFEJB: Where are "RI" and "DeployTool" Installation Instructions; & other questions

Al Diovanni

Joined: Jul 14, 2004
Posts: 12
I'm reading HFEJB and I would like to install/use "RI" (which I think is now called Sun JAVA System Server, right ?) and the DeployTool.

I have J2SE 1.4; and I have J2EE 1.4 (and according to my teacher I can use J2EE 1.4 and I don't have to also download 1.3 and point to 1.3 because 1.4 is upward-compatible).

I looked through the 1.3 and 1.4 specs and I could not find installation instructions on RI/J2EE/DeployTool.

Also is "RI" (page xxiv) and the J2EE command (page 31) and the DeployTool command (page 32) already in the J2EE download-product or do you have to download it separately: I tried the commands in the SDK bin but they all failed.

Also within a "CMD" Shell, I tried the "$" before my command (e.g., %cd), but it didn't work: what does "$" means and what do you have to do to use it ?

Can you let me know please ? Thanks.

Al Diovanni
SCJP 1.4
Pursuing SCBCD 1.3
Darya Akbari
Ranch Hand

Joined: Aug 21, 2004
Posts: 1855
Hi Al,

I recommend to follow what HFEJB says and NOT your teacher, with all respect to your teacher.

RI stands for Reference Implementation and IS NOT Sun's Java System Application Server.

RI is the reference for any J2EE application server vendor (like Sun itself or JBoss or Borland or IBM or Weblogic or other). All these vendors have to comply with the RI to be awarded the J2EE application serverness by Sun who has the copyright on J2EE.

HFEJB use the RI instead of any other vendor application server, because its free and already there, coming with your J2EE installation and well is the reference for all others.

You find it with the deploytool under your %J2EE_HOME%\bin directory. So you don't need an installation instruction because its already there.

Good Luck ,

Darya Akbari
Ranch Hand

Joined: Aug 21, 2004
Posts: 1855

know that the HF people are not related to Microsoft and hence do not use the Windows operation system but instead using Unix. Hence the $ sign you see in their examples is because the code provided is under Unix.

Nevertheless you can use all examples provided by HFEJB also under Windows as I do. The only thing you have to care is to set your environment variables right and to take care that in the classpath setting shown in HFEJB's example you use a semicolon (;) instead of a colon (:).

The important environment variables you have to care about are:
  • PATH

  • Regards,
    With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    subject: HFEJB: Where are "RI" and "DeployTool" Installation Instructions; & other questions
    It's not a secret anymore!