Java Training
๐ก Java Core Syllabus (Beginner to Intermediate)
1. Introduction to Java
- History and features of Java
- Java Virtual Machine (JVM), JRE, JDK
- Setting up Java environment
- Structure of a Java program
- Compilation and Execution process
2. Data Types and Variables
- Primitive data types
- Type casting
- Variables, constants
- Operators and expressions
3. Control Flow Statements
- if, if-else, switch
- Loops: for, while, do-while
- break, continue, return
4. Object-Oriented Programming (OOP)
- Classes and Objects
- Constructors (default, parameterized, copy)
- this keyword
- Method overloading
- Access modifiers
5. Inheritance
- extends keyword
- Method overriding
- super keyword
- final keyword
- Types of inheritance (single, multilevel, hierarchical)
6. Polymorphism
- Compile-time (Method overloading)
- Run-time (Method overriding)
- Dynamic method dispatch
7. Abstraction
- Abstract classes and methods
- Interfaces and multiple inheritance
8. Encapsulation
- Getters and setters
- JavaBeans conventions
9. Packages and Access Modifiers
- Built-in and user-defined packages
- Importing packages
- Access control (public, private, protected, default)
10. Exception Handling
- try, catch, finally, throw, throws
- Checked vs Unchecked exceptions
- Custom exceptions
11. Arrays and Strings
- Single & Multi-dimensional arrays
- String, StringBuilder, StringBuffer
- String manipulation and methods
--------------------------------------------------------------------------------------------------------------------------------------------------------
Advance
1. JDBC (Java Database Connectivity)
๐ Basics
- JDBC Architecture
- JDBC Drivers (Type 1โ4)
- Steps to connect to a Database
________________________________________________________________________________________________________________________________________________________________
โ
2. Spring Framework (Core Spring)
๐ Introduction
- What is Spring?
- Advantages of Spring over traditional Java EE
๐ฑ Core Concepts
- Inversion of Control (IoC)
- Dependency Injection (DI)
- Constructor-based vs Setter-based
- Spring Beans, Bean Scopes, Bean Life Cycle
- Autowiring and Annotations (@Component, @Autowired, @Qualifier)
________________________________________________________________________________________________________________________________________________________________
โ
3. Spring Boot (Microservices Development)
๐ Getting Started
- What is Spring Boot?
- Spring Boot vs Spring
- Spring Initializr (start.spring.io)
- Project Structure and Dependencies
๐ง Core Features
- Auto-configuration
- Spring Boot Starters
- Embedded servers (Tomcat, Jetty)
- application.properties / application.yml
๐งฉ Building REST APIs
- REST Controller: @RestController, @RequestMapping, @GetMapping, etc.
- JSON handling with Jackson
- Exception Handling (@ExceptionHandler, @ControllerAdvice)
- Validation with @Valid and @NotNull
๐งต Connecting to MySQL
- Configuring database connection
- Spring Data JPA (Repository pattern)
- @Entity, @Table, @Id, @GeneratedValue
- CRUD operations using JpaRepository
๐ฆ Packaging and Deployment
- JAR/WAR creation
- Running Spring Boot apps
- Dockerizing a Spring Boot app
________________________________________________________________________________________________________________________________________________________________
โ
4. JSP (Java Server Pages)
๐ Basics
- JSP lifecycle
- Directives: page, include, taglib
- Scriptlets vs Expressions vs Declarations
๐ง Tag Libraries
- JSP Standard Tag Library (JSTL)
- Custom tags
๐ Implicit Objects
- request, response, session, application, out, config
๐ MVC Architecture
- Using JSP as View with Servlet as Controller
- JSP with JSTL for dynamic pages
________________________________________________________________________________________________________________________________________________________________
โ
5. MySQL (Database)
๐ Basics
- SQL syntax (CRUD)
- Data types, Primary key, Foreign key
- Joins: INNER, LEFT, RIGHT, FULL
- Indexing and Performance
๐ Working with Java
- Creating schemas and tables
- Writing queries used in JDBC or Spring Data JPA
- Transactions, constraints
๐ Security and Best Practices
- SQL Injection prevention
- User privileges and roles
- Connection pooling
____________________________________________________________________________________________________________________________________________________________
๐งฉ Final Integration: Full Stack Mini Project
Build a simple web app using:
- Frontend: HTML/CSS + JSP
- Backend: Spring Boot + REST APIs
- Database: MySQL (CRUD operations)
- Persistence: Spring Data JPA
- Deployment: Package as a JAR or deploy on Tomcat
________________________________________________________________________________________________________________________________________________________________