What are the mejor differences between core java and j2ee? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What are the mejor differences between core java and j2ee?

Java and J2ee

30th Aug 2020, 7:31 PM
Bibhash Ghosh
Bibhash Ghosh - avatar
6 Answers
+ 7
"Core Java" generically refers to the Java language, JVM runtime, and some basic services and packages. It's also been referred to as Java SE (Standard Edition). Jakarta EE (Enterprise Edition) is the new name for Java EE, which was previously named J2EE. It's a massive collection of various libraries, application services, and specifications used for enterprise architecture, microservices, and application integration. It's still using the same language and runtime as "Core Java". Many JEE implementations will involve any or all of the following: - GlassFish - WebSphere - EJB - Object Containers - JPA - Persistence API / Query Language - JTA - Distributed Transactions - JMS - Messaging Middleware - CDI - Context and Dependency Injection - Servlets - HTTP Services - JSP / JSF - Web UI Rendering - JAX - RESTful Services - JSON / XML Bindings - RMI - RPC - etc Cross Cutting Concerns such as: - security - logging - caching - concurrency - deployment - scalability - configurations - etc
30th Aug 2020, 10:01 PM
David Carroll
David Carroll - avatar
+ 5
Core Java is used to develop desktop applications and is the basic requirement to learn J2EE. You will learn about web containers, servlets, JSP, JSTL and lot more in J2EE which is generally used to develop Enterprise applications.
30th Aug 2020, 8:16 PM
Avinesh
Avinesh - avatar
+ 2
I'm glad I could help clarify. ๐Ÿ˜‰๐Ÿ‘Œ
31st Aug 2020, 5:38 PM
David Carroll
David Carroll - avatar
+ 1
>"... aren't java ee applications made up with jsp files?" - wยก1d3r๐Ÿ’ค Not quite. Is that what they're teaching in schools? A project using JSP for serving dynamic web content wouldn't qualify as a characteristic for JEE. At least I wouldn't consider it so. It's such an insignificant part of the solution used for implementing enterprise architecture. Most of the JEE projects I've worked on over the years involved little, if any, JSP. Relatively speaking, JSP has always been a tiny/optional piece of JEE. Afterall... JSP is just a view template engine you can use for web applications built in Java. I believe it's actually quite legacy compared to Facelets, Velocity, FreeMarker, Thymeleaf, etc. I don't know what the new flavor is these days. I've been able to avoid the Java nightmare since 2015 and don't plan on ever getting involved in another Java project. It's like stepping back into the dark ages of programming. ๐Ÿคฃ๐Ÿ˜‚
31st Aug 2020, 4:33 PM
David Carroll
David Carroll - avatar
0
wยก1d3r๐Ÿ’ค Eh? What do you mean?
31st Aug 2020, 11:27 AM
David Carroll
David Carroll - avatar
0
Java EE / Spring app is partially executed on server in container
31st Aug 2020, 6:16 PM
zemiak