• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Purpose of j2ee SDK installation

 
Senthil Kumar Sekar
Ranch Hand
Posts: 45
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34198
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Senthil Kumar Sekar
Ranch Hand
Posts: 45
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks....
 
Akshay Sahu
Greenhorn
Posts: 26
Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Senthil Kumar Sekar
Ranch Hand
Posts: 45
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 26
Java Netbeans IDE
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic