[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


explanation of core java, j2se, j2ee

Posted on 2006-06-06
Medium Priority
Last Modified: 2013-11-24
Hi all,
Can someone tell me the differences between the above 3? - examples of the different capabilities would be good too.
Thanks in advance!
no links plz.
Question by:teachmejava
LVL 16

Assisted Solution

suprapto45 earned 400 total points
ID: 16849115

Well, basically, Java is divided into 3 big area - J2SE, J2EE and J2ME. J2SE is normally used to develop desktop based application using SWING and AWT. Unlike J2SE, J2EE is mainly used for developing web based application such as JSP, Servlet and etc. Lastly but not least, J2ME is used to develop mobile area.

Currently, the most famous area are J2EE and J2SE while J2ME gains its popularity.

Each of them has their own capabilities. For example, J2SE is manly used to develop desktop based application. It has the SWING and AWT libraries which are rich for GUI. While J2EE should not use SWING as it is web based application. Instead, it has other capabilities such as Servlet, JSTL and etc.

If you could tell us what confusion you have now, maybe we can help you better to understand these areas.

LVL 30

Expert Comment

by:Mayank S
ID: 16849668
J2EE is for enterprise applications which will typically be deployed centrally over the Web or a network and will have multiple distributed users. J2SE is for desktop applications like chat-clients, mail-clients, etc. J2ME is for developing applications on mobile devices, PDAs, cell-phones, etc (a lot of your cell-phone games would've been developed using J2ME).

Accepted Solution

astorer earned 1600 total points
ID: 16869818
I don't think it is as blank and white as that.

J2SE is Standard Edition - it basically gives you a compiler and a few tools to write java programs which may (or may not) involve a Graphical User Interface.  There is no such thing as Core Java - it is probably meant to represent J2SE.

J2EE is Enterprise Edition.  This builds on top of the above by providing a large and complex set of APIs to support applications running in an enterprise where there my be support needed for many simultaneous users (for example with needs for resilience and scalability).
The key thing is that an Enterprise application will typically pick and choose which of those APIs to use.  It does not have to use them all.  The Javasoft website will list what those APIs are and when they should be used.  

Another point is that it is more than acceptable to write Enterprise Applications without using J2EE at all.  Other lightweight frameworks such as Spring and Hibernate enable complex enterprise apps to be developed without using J2EE.  This pretty much means that anything you want to do can be achieved with J2SE (with some extra tools).

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

LVL 30

Expert Comment

by:Mayank S
ID: 16869863
>> I don't think it is as blank and white as that.

What is blank and white :) ?

>> There is no such thing as Core Java - it is probably meant to represent J2SE

Yes, a common term for J2SE....




Expert Comment

ID: 16871264
Sorry, of course I meant to say black and whine.


Expert Comment

ID: 16874626
J2SE - Desktop Applications,
J2EE - Enterprise Application (Web, EJB Modules)
J2ME - Mobile version  of Java

Expert Comment

ID: 16877581
> J2SE - Desktop Applications,

That is not strictly true.  You can use J2SE for enterprise applications without using J2EE at all.
Sun may recommend that you use things like EJB for enterprise logic but Spring and Hibernate are not part of J2EE and are often used for enterprise applications.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses
Course of the Month20 days, 2 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question