• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

J2EE SDK

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I was curious if Sun ONE Application Server 7 had J2EE SDK and that I can write my Java and EJB code from command line by using this SDK.
I know that I can do all this thru Sun ONE Studio but I want just command line to code.
If I can do this, do I need some special setting?
Thanks,
Rajeev.
 
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Rajeev,
Why don't you just download the J2EE SDK from Sun Website and set the classpath to your system... Then you can surely use simple command line to compile and run the applications....
 
Rajeev Asthana
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ko Ko Naing:
Hi Rajeev,
Why don't you just download the J2EE SDK from Sun Website and set the classpath to your system... Then you can surely use simple command line to compile and run the applications....


I'd appreciate if you can provide me the link for the download...(cause there are many downloadables there I'm not sure which to download)
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There you go
http://java.sun.com/j2ee/sdk_1.3/1.3_01
 
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
very straight forward, Install, click next next next next next.
to compile your fist ejb code, the only thing HF EJB hasn't mentioned and was mentioned in the j2ee setup page is:
set J2EE_HOME to where you install your j2ee
set JAVA_HOME to where you install j2se
set PATH to the bin directory of your j2ee and j2se.
then add j2ee.jar to your classpath. That's it.
The book uses unix notation, you just have to use windows notation if you are using windows. I am running redhat 9 and I simply copy the exact same lines from the book and they run.
 
Rajeev Asthana
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you all!!!
It is such a great community !!!
Way to go!
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic