Question

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

Someone asked me a question on whether I use core-Java or Enterprise Java. Now I have to ask is there such thing as core-java?

Was it helpful?

Solution

Core Java is not an official name in Java platform (it is the name of a book); also Enterprise Java is not an official name.

However these two terms tend to refer to two distinct parts of Java:

  1. Core 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). Core Java is used for general purpose programming and almost anything written in Java is based on the Core Java.

  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). But Enterprise Java is not strictly restricted to Java EE; someone using Spring Framework for example is still an Enterprise Java programmer.

OTHER TIPS

What you are calling Core Java is actually known as Java Standard Edition (SE) and the Enterprise Java is Java Enterprise Edition (EE).

Java SE is the base Java API that makes up 99.9% of the Java functionality that you know and love, that is, unless you're an enterprise developer creating java apps for large scale applications (think server farms).

Java EE is the API built on top of the SE API to provide the tools necessary to do large scale projects more easily.

Long story short, you probably want to be using the SE edition.

Licensed under: CC-BY-SA with attribution
scroll top