-
Notifications
You must be signed in to change notification settings - Fork 0
YourNote 201: Java EE
Zhamri Che Ani edited this page Apr 30, 2026
·
1 revision
- Java EE is a platform for building large-scale, enterprise web applications.
- Today, it is known as
Jakarta EE
Built on top of Java SE, it provides:
- Web development tools
- Database integration
- Security
- Scalability features
Java EE is about:
Multi-user + Scalable + Secure + Distributed applications
Examples:
- banking systems
- university systems
- e-commerce platforms
- Handle HTTP requests
- Backend logic
- UI layer
- Display data
- Business logic (advanced / enterprise level)
Note:
EJB is less popular now, but still an important concept.
- Database interaction
- Replace raw JDBC
Example:
@Entity
public class Student {
@Id
private Long id;
}- Build web services
- Used in modern apps
Typical 3-tier architecture:
- Presentation Layer → JSP
- Business Layer → Servlet / EJB
- Data Layer → Database (JPA/JDBC)
This is the foundation of enterprise systems
Java EE apps run on servers like:
- Apache Tomcat (Servlet container)
- GlassFish
- WildFly
Students must know:
difference between web server vs application server
Applications are packaged as:
- WAR (Web Archive) → Servlet/JSP apps
- EAR (Enterprise Archive) → large enterprise systems
Java EE provides:
- authentication (login)
- authorization (roles)
Example:
- Admin vs User access
- Transactions Used in:
- banking
- payment systems
Ensures:
- data consistency
- rollback if error
Java EE supports DI:
@Inject
StudentService service;Makes code cleaner and modular