aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Getting J2EE for use on Mac OS X Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Getting J2EE for use on Mac OS X" Watch "Getting J2EE for use on Mac OS X" New topic
Author

Getting J2EE for use on Mac OS X

Al Ferguson
Greenhorn

Joined: Jan 12, 2004
Posts: 3
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.
Sergiu Truta
Ranch Hand

Joined: Dec 16, 2003
Posts: 121
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


...watch me...as I'm walking the path...
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
"snoopydog",
Please take a moment for reading our naming policy and adjust your display name accordingly.
Thanks.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Al Ferguson
Greenhorn

Joined: Jan 12, 2004
Posts: 3
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:
norman richards
Author
Ranch Hand

Joined: Jul 21, 2003
Posts: 367
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

Joined: Jan 12, 2004
Posts: 3
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
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting J2EE for use on Mac OS X