• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Getting J2EE for use on Mac OS X

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everyone:
I'm trying to learn EJB with "Head First EJB". I want to set up my Macintosh OS X system with everything I need to do all the exercises in the book. My system came with J2SE 1.4.1 on it.
When the book says to get J2EE SDK, does that mean I have to get some JAR files to add to my system? I went to java.sun.com, but there I don't see a binary for my precise system. There is a binary for Linux. Is this what I need?
Could someone tell me what precisely is in the J2EE? What exactly are the EJB 2.0 compliant servers? I have jakarta-tomcat 4.1.27 application server. Is this complaint? It does have a JSP servlet container.
The book advices getting J2EE 1.3. And further states that it included the JAR file with the entire J2EE API (including the classes needed for EJB development), and the practice Reference Implementation (RI) server.
How do I deploy J2EE 1.3 on my system? In other words where do I put the various component pieces?
Thanks for your help.
 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
you should get j2ee.jar and as you know java technology is not OS dependent.
Tomcat is a container for JSPs/Servlets so you cannot use it with EJBs.
I suggest you get JBoss because it's freeware and it's a fully functional application server. This has all the jars you need for developing and deploying j2ee applications. As a development environment I suggest IntelliJ or Eclipse.
Good luck and welcome to the J2EE world
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"snoopydog",
Please take a moment for reading our naming policy and adjust your display name accordingly.
Thanks.
 
Al Ferguson
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sergui thanks. I'll look into JBoss. I already did get Eclipse as IDE. Is JBoss J2EE server as well as an EJB container?
I wanted to use the J2EE RI for the exercises in the book. The book in the section "Intro to EJB" shows a terminal window where j2ee is started. I think that j2ee is the reference implementation(RI). This isn't pure java running under the JVM, so doesn't that mean that it has to be written to some specific OS? Does this exist for the Macintosh OS X 10.3.2 and where do I get it on sun's website?

:roll:
 
Author
Posts: 367
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since you have 10.3, install Xcode and the J2EE components. I wrote
a quick tutorial on how to do it. I don't really recommend Xcode as a day to day environment, but if you started there you would be able to start from a fully functional system. Either way, by installing the J2EE components, you get JBoss 3.2, ant and XDoclet all on your system to play with. Even if you download your own stuff later, it's a good place to start...
 
Al Ferguson
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone:
I'm looking for a quick and simple answer to my question. Is j2ee reference implementation talked about in "Head First EJB" available for my OS, which is Mac OS X 10.3.2? If it is, what is it called, and where do I get it, and how do I install it? What is entailed? I want to use the recommended material as presented in the book as I learn EJB.
Afterward, I don't mind delving into better offerings for j2ee complaint servers and EJB containers. But in the beginning I want to follow along with what is in the reference book I'm using. That means using what they use.
Thanks everyone for your help.
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe the book uses the J2EE 1.3 version of the RI/SDK.
You can download it from http://java.sun.com/j2ee/sdk_1.3/1.3_01/
However, there is no Mac OSX specific download, so you may have to simply try whether the Linux download works on your OS.
 
You don't know me, but I've been looking all over the world for. Thanks to the help from this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic