tags:

views:

271

answers:

5

What is the difference between J2SE & J2EE.. Many thanks...

A: 

Bing!

David Weng
Bing sucks.....
Marko
"Bing!" is no better than "google it" -- and both are discouraged. This site is so highly ranked in Google that it becomes a bit of a paradox -- the first google result for the question often ends up with an answer saying "do a search". :P
cHao
@cHao Yeah it's becoming an infinite loop!
Hamid Nazari
+6  A: 

J2SE (standard edition) is just the normal specification of Java. J2EE (enterprise edition) is Java with all sorts of add-ons for enterpris-y things like:

  • Enterprise JavaBeans;
  • Java Persistence API;
  • Servlets;
  • Java Server Pages.

(not an exhaustive list, more detail available on Wikipedia). You generally get J2SE when you download the SDK (for development) or JRE (for running Java applications).

On the other hand, you generally get all the J2EE goodies when you start using IBM Websphere Application Server, or JBoss, or another enterprise-class application server.

Oracle/Sun refer to these now as Java SE and Java EE and you can download the Oracle Java EE 6 SDK here. The JSR for Java EE 6 is here.

paxdiablo
How is this answer marked up so much when it's wrong in almost every detail?
JUST MY correct OPINION
Perhaps your opinion is incorrect :-)
Stephen C
J2EE (now called JEE) is more than this...
Kartoch
@StephenC: JavaBeans has nothing to do with JavaEE. I think he meant *Enterprise* JavaBeans (which share nothing with JavaBeans but a confusing portion of the name). In his answer he doesn't actually manage to get straight that Javas SE and EE are *specifications*, not implementations. And on and on and on.
JUST MY correct OPINION
+3  A: 
JUST MY correct OPINION
A: 

Best way to understand is to read the Java EE tutorials:

Kartoch
A: 

You can just know this for short: J2SE is for desktop applications and it is the core of Java. J2EE is for web applications which include JSP & Servlet, EJB, Webservice and they are kinda extensions. You can use them when install a Servlet container (Tomcat) or a JPA provider (Oracle Toplink, Hibernate) or an entire Web application which includes servlet container, JPA provider such as JBoss, GlassFish.

Truong Ha