wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Purpose of j2ee SDK installation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Purpose of j2ee SDK installation" Watch "Purpose of j2ee SDK installation" New topic
Author

Purpose of j2ee SDK installation

Senthil Kumar Sekar
Ranch Hand

Joined: Aug 08, 2010
Posts: 45

Hi All,
Iam new to J2EE.
I have a basic question.Iam aware that jdk is required to compile,run etc., the java classes.
I have a basic question.What is the purpose of installing j2ee sdk.Is this mandatory if i have Eclipse installed in my pc for the development?

Thanks.

Regards
Senthil Kumar Sekar
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30050
    
149

JEE has classes in it like HttpServletRequest that are not in the basic JDK. If you installed a JEE plugin with Eclipse it probably comes with the classes. Otherwise, you need to install it.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Senthil Kumar Sekar
Ranch Hand

Joined: Aug 08, 2010
Posts: 45

Thanks....
Akshay Sahu
Greenhorn

Joined: Sep 04, 2009
Posts: 26

Senthil Kumar Sekar wrote:Hi All,
Iam new to J2EE.
I have a basic question.Iam aware that jdk is required to compile,run etc., the java classes.
I have a basic question.What is the purpose of installing j2ee sdk.Is this mandatory if i have Eclipse installed in my pc for the development?

Thanks.

Regards
Senthil Kumar Sekar


J2EE requires a separate environment for Servlets, JSPs, EJBs, as their API is not recognized by JSE JDK.
If you do not have the runtime environment for these frameworks, then you cannot execute them.

Installation of JEE would mean installation of Sun Servers on your system.
Instead of that, you can also download any vendor-specific server and place it in your system. And pass the location of it to eclipse.
Eclipse will then take care of all the JEE requirements for you.


Akshay Sahu
OCBCD (EJB 3), OCJP (Java SE 6), MCTS (MS SQL Server 2005)
Senthil Kumar Sekar
Ranch Hand

Joined: Aug 08, 2010
Posts: 45

Please clarify my below points

1) What is Glass Fish,Sun application server?
2) When i download sdk for jee from Sun site,i get any of these depending on the version of jee i download.
3) So,Its enough to install any app server like Sun App. Server,JBoss etc., to get sdk for jee to be installed.
4) After installing any app. server, i just need to add the server in eclipse which will take care of the sdk and run time.Is it?
Akshay Sahu
Greenhorn

Joined: Sep 04, 2009
Posts: 26

Senthil Kumar Sekar wrote:Please clarify my below points

1) What is Glass Fish,Sun application server?
2) When i download sdk for jee from Sun site,i get any of these depending on the version of jee i download.
3) So,Its enough to install any app server like Sun App. Server,JBoss etc., to get sdk for jee to be installed.
4) After installing any app. server, i just need to add the server in eclipse which will take care of the sdk and run time.Is it?


1. JEE SDK is nothing more than an app server which contains jar files for supporting the execution of servlets, jsps and ejbs.
2. The same support will be provided by any container like Tomcat (Only JSP, Servlets, Struts), JBOSS, BEA Weblogic, IBM Websphere.
3. Just install those servers or if portable version is available, then keep them somewhere and pass that location to eclipse.
4. After configuring the server at eclipse, whenever you create a new web, ejb project, just use your app server as your execution server.
5. Eclipse will deploy your projects in that server and you can use it without installing JEE SDK.
6. So finally it is clear that for executing JEE projects, it is not mandatory to install Sun JEE SDK.

Regards,
Akshay Sahu
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Purpose of j2ee SDK installation
 
Similar Threads
J2EE
question about J2EE
why jarsigner
Why J2EE so popular?
Accessing Microsoft classes from Sun jvm