UNIT 1 – Java EE & SERVLETS (Core Topics)
1. Java EE Architecture Java EE is a multi-tier architecture consisting of Client, Web, Business, and
EIS layers. Components include Servlets for handling requests, JSP for dynamic content, and EJB
for business logic. It provides enterprise-level features like scalability, security, and distributed
computing.
2. Servlet Life Cycle Servlets follow the life cycle: init() for initialization, service() for handling
requests, and destroy() before shutdown. The container manages the servlet life cycle
automatically.
3. Request & Response (GET/POST) HTTP request-response model enables communication
between client and server. GET is used for fetching data, visible in URL, while POST is used for
sending secure data within the request body.
4. Session Tracking Web is stateless, so session tracking maintains user data using Cookies, URL
Rewriting, and HttpSession API.
5. JSP Basics JSP creates dynamic web pages using directives, scriptlets, and implicit objects like
request, response, session, and out.
UNIT 2 – ENTERPRISE JAVA BEANS (Core Topics)
1. Stateless vs Stateful Session Beans Stateless beans hold no client state; ideal for short tasks.
Stateful beans maintain client data across requests.
2. Message Driven Beans (MDB) MDBs support asynchronous communication using JMS. They
process messages from queues/topics.
3. JMS Architecture JMS includes producers, consumers, queues, and topics to send
asynchronous messages. Ensures loose coupling.
4. Singleton Beans A single instance for entire application. Used for shared resources like caches
or configuration.
UNIT 3 – JPA & REST (Core Topics)
1. JPA Architecture JPA uses EntityManager for CRUD operations and Persistence Unit for
configuration. Provides ORM support.
2. ORM with Entities @Entity maps Java class to database table. @Id identifies primary key.
@Column customizes column mapping.
3. JPA Relationships OneToOne, OneToMany, and ManyToMany define associations between
entities.
4. Named & Dynamic Queries @NamedQuery defines static queries. Dynamic queries use
createQuery() and createNativeQuery().
5. REST with JAX-RS + HTTP Methods REST uses GET for fetch, POST for create, PUT for
update, and DELETE for remove. JAX-RS enables REST service creation.
UNIT 4 – SECURITY (Core Topics)
1. Java EE Security Model Ensures authentication (who you are) and authorization (what you can
access).
2. Identity Stores & Credentials Stores user credentials in databases or LDAP.
3. Authentication & Authorization Mechanisms Includes Basic, Form-based, and Token-based
authentication.
4. Integrity & Confidentiality Achieved using HTTPS, encryption, hashing.
5. JWT Token with Header, Payload, and Signature. Used for stateless authentication.
6. OAuth & OpenID Connect Allows social login and token-based access.
UNIT 5 – FRAMEWORKS (Core Topics)
JSF: 1. JSF Request Lifecycle – Six-phase lifecycle from restore view to render response. 2.
Managed Beans – Used to connect UI and backend logic. 3. UI Components & Validators –
Pre-built components and validation system.
Spring: 1. Spring MVC Lifecycle – Request passes through DispatcherServlet to Controller and
ViewResolver. 2. DispatcherServlet – Front controller routing all requests. 3. Spring Boot Essentials
– Auto-configuration, standalone apps, fast development.