Java Enhanced Notes
Java Enhanced Notes
Steps to Connect:
Common Classes:
Servlets
Lifecycle Methods:
Key Interfaces/Classes:
Key Elements:
Implicit Objects: Predefined objects like request, response, session, out, etc.
Hibernate
Purpose: ORM (Object-Relational Mapping) framework to map Java objects to database tables.
Java JDBC, Servlet, JSP, Hibernate, and Security Notes
Core Concepts:
- Query/HQL (Hibernate Query Language): Similar to SQL but uses class names instead of table names.
Annotations:
Java Security
Techniques:
- Authentication and Authorization: Using frameworks like Spring Security or custom filters.
- Session Management: Use HTTPS, secure cookies, and proper session timeout.
- Encryption: Use libraries like JCA (Java Cryptography Architecture) for securing data.
Common APIs: