• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
ORACLE OCP
SCJP 1.4
SCWCD 1.4
Pursuing SCBCD 1.3
 
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Darya Akbari
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Al,

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:
  • J2SE_HOME
  • J2EE_HOME
  • PATH


  • Regards,
    Darya
     
    Don't get me started about those stupid light bulbs.
    reply
      Bookmark Topic Watch Topic
    • New Topic