• Post Reply Bookmark Topic Watch Topic
  • New Topic

Difference between J2EE, J2SE and J2ME

 
Bhuvaneshwari madhav
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Can anybody explain me the difference and purpose of J2EE, J2SE and J2ME.
Thanks,
Bhuvana
 
Bill Siggelkow
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
J2EE is Java 2 for the Enterprise -- this edition consists of the Enterprise APIs such as JMS, EJB, JSPs/Servlets, JNDI.
J2SE is Java 2 Standard Edition -- this edition consists of the core libraries basically all of the packages like java.lang, java.util, etc. This edition is the heart of Java and both J2EE and J2ME depend on J2SE.
Java 2 Micro Edition -- this edition is for programming Java on devices such as handhelds, cell phones, set top boxes, toasters, etc. J2ME can use *most* of J2SE but not necessarily all of the J2SE libraries.
For complete details, go to http://java.sun.com
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The main difference between the three is the characteristics of the application you will engineer using the technology.
J2EE is, as the name suggests, targeted at large, distributed, enterprise-wide system architecutres. It assumes your application spans across (at least) a LAN, a WAN, talks to disparate database systems, supports several types of clients( web, PDA, hand-held ), and perhaps talks to legacy applications. J2EE provides features and facilities in terms of APIs that enable developing such sprawling systems. J2EE components such as EJB, JMS, JNDI, Java Connector architecture, RMI, Servlets, JSP etc. while serving an unique purpose in the grand schem of things, come together in a magical way and work seamlessly to provide a single unified platform.
J2ME is at the other extreme of the system-size scale. The targeted host platform here is are small electronic devices. Now we are talking about a small, confined and restricted host environments where resource is extremely expensive. J2ME provides small footprint APIs to develop software systems for small devices.
J2SE is the plain vanilla Java. This comprises of common ( often called "core") APIs that can be used either in J2ME or J2EE systems. J2SE transcends dissimilar applications and provide the least common denominator set of language features and class libraries.
Hope my explanation helps clear your doubts.
 
timothy zimmerman
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basically J2EE is focused on enterprise development and deployment. It contains API for EJB, Servlet, JSP. J2ME is the micro edition used to write applications for handheld devices such as phones or PDA. J2SE is the standard edition which contains classes that provide the basic foundation. It's API includes applet, util, swing and others used to make basic java applications.
 
Eric Pressler
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isn't JDBC also a part of J2EE and not J2SE?
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, JDBC is a part of J2SE. All the supported classes appear as a part of jafa.sql package.
See - http://java.sun.com/j2se/1.3/docs/api/index.html
 
Eric Pressler
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the info.
 
JeanLouis Marechaux
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the 3rd letter...

Sorry
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!