What is the difference between Java and J2EE?

  1. CoJ2SE_J2EEre Java usually refers to Java SE which consists of the Java Language, the JVM and JDK (which itself contains the compiler some tools and a pretty large library).
  2. Enterprise Java refers to Java applications written for enterprises; the leading technology here is Java EE which consists of a set of APIs (EJB, JMS, JPA, JTA, JSF etc.) and the application servers (Glassfish, Tomcat, JBoss/WildFly etc.) which implement these APIs (or a part of them).
  3. Java SE is used for general purpose programming and almost anything written in Java is based on the Core Java.
  4. J2EE is the API built on top of the SE API to provide the tools necessary to do large scale projects more easily.
  5. Java SE stands for Java standard edition and is normally for developing desktop applications, forms the core/base API.
  6. Java EE stands for Java enterprise edition for applications which run on servers, for example web sites.
  7. Java is OOP language. Using java you can write standalone command line programs. When combined with tooling libs like Swing you can build GUI based desktop application.
  8. J2EE is a set of specifications which targets the enterprise technologies like JMS, WS, Servlets, JSP, EJB’s etc. Most of these specification are implemented using Java. Using J2EE technology stack you can write complex business application.

One thought on “What is the difference between Java and J2EE?

  1. Hosting

    I have some experience in programming in Java but wondering if someone could explain what is the difference between Enterprise Java vs Core Java?

    Reply

Enter Your Comment

Your email address will not be published. Required fields are marked *