J2EE is the edition of the Java 2 platform targeted at developing multi-tier enterprise applications. J2EE consists of a set of specifications, APIs and technologies defining enterprise application development.
J2EE technology providers expose tools, frameworks and platforms that handle a good deal of the details of enterprise application infrastructure and behavior. | J2ME is the edition of the Java 2 platform consisting of a set of specifications, APIs, technologies and a virtual machine for embedded electronics within the consumer space.
|
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. |