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

Purpose of j2ee SDK installation

 
Ranch Hand
Posts: 45
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks....
 
Greenhorn
Posts: 26
Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Netbeans IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Doody calls. I would really rather that it didn't. Comfort me wise and sterile tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic