Prof. (Dr. ) Harish Kumar MittalProfessor · Researcher · Educator

24CSH-301 / 24ITH-301 · Semester 5

Project Based
Learning in Java

Application Programming Interface (API) defines the operations one software component can use to communicate with another. Java Persistence API (JPA) lets Java code save and load objects as database rows. The standard is now called Jakarta Persistence. Representational State Transfer (REST) is an architectural style that organises a web service around resources, such as students or products, accessed through a consistent interface.

Study Core Java, advanced programming and database connectivity in Units 1 and 2, then practise with the laboratory worksheets. Chapter 3.1 introduces enterprise Java, Spring and Hibernate/JPA; Chapter 3.2 covers REST APIs and design patterns, with worksheets for Practicals 3.1–3.3.

Lecture, Tutorial, Practical and Skills-oriented work (L-T-P-S) label the four course components; 2-0-2-0 gives their scheduled hours in that order.

3 Credits 2-0-2-0 L-T-P-S Hybrid Course type

Course Mentor Prof. (Dr.) Harish K Mittal

01
CORE JAVAProgramming Concepts

Object-Oriented Programming (OOP) organises software around objects that combine state with behaviour.

Fundamentals, OOP, and exception handling

02
ADVANCED JAVAProgramming & Databases

Input/Output (I/O) means moving data into or out of a program, for example through a file or a stream. Java Database Connectivity (JDBC) is Java's standard interface for connecting to relational databases, issuing statements and reading results.

Collections, threads, I/O, lambdas, and JDBC

03
ENTERPRISE JAVADevelopment & REST

Spring, Hibernate/JPA, APIs, and design patterns

3curriculum units
8syllabus chapters
10 / 10lab worksheets available
5course outcomes

Master contents

Complete course structure

The course is organised into three units. Availability labels identify the chapters that can currently be studied through the eBook.

Available Planned

UNIT 1 · 10 + 10 HOURS

Core Java Programming Concepts

Content available
1.1

Java Fundamentals

Introduction to Java, C++ comparison, tokens, data types, control flow, strings, access modifiers, arrays, and applied algorithms.

Open unit
1.2

Object-Oriented Programming using Java

Classes, methods, inheritance, abstraction, polymorphism, encapsulation, and method overriding.

Start chapter
1.3

Exception Handling

Errors and exceptions, try-catch, throw and throws, exception types, and custom exceptions.

Start chapter

UNIT 2 · 10 + 10 HOURS

Advanced Java Programming and Database Connectivity

Content available
2.1

Collections Framework and Multithreading

Collections, lists, maps, sets, thread synchronisation, priority, and lifecycle.

Open unit
2.2

Wrapper Classes, I/O Streams and Lambda Expressions

Autoboxing, streams, serialisation, cloning, functional interfaces, method references, and stream operations.

Start chapter
2.3

JDBC

Create, Read, Update and Delete (CRUD) are the four basic operations used to manage stored records. Model-View-Controller (MVC) separates application data and rules, user-facing presentation, and request or input handling.

Database connectivity, drivers, CRUD operations, MVC, sequences, and date management.

Start chapter

UNIT 3 · 10 + 10 HOURS

Enterprise Java Development and RESTful Services

Chapters 3.1 and 3.2 available
3.1

Servlet/JSP, Spring Core, Hibernate/JPA

JavaServer Pages (JSP) is the original name of Jakarta Server Pages, a template technology that generates web content on the server. Inversion of Control (IoC) lets a framework create and manage application objects. In Spring, the container supplies these objects to the classes that need them.

IoC, dependency injection, Spring Boot configuration, JPA relationships, transactions, and exception handling.

Start chapter
3.2

REST APIs and Design Patterns

Hypertext Transfer Protocol (HTTP) defines how a client sends a request and a server returns a response on the web. JavaScript Object Notation (JSON) is a text format for exchanging values such as objects, arrays, strings, numbers and booleans.

REST architecture, HTTP methods, Spring Boot APIs, JSON, API clients, and creational and behavioural patterns.

Start chapter

Learning material

Available topics

Search the available lessons by topic and open any chapter to begin studying.

UNIT 1 · 18 TOPICS

Core Java Programming Concepts

Open Unit 1
Browse all 18 Unit 1 topics

UNIT 2 · CHAPTERS 2.1–2.3 · 21 TOPICS

Advanced Java and Database Connectivity

Open Unit 2
Browse all 21 Unit 2 topics

UNIT 3 · CHAPTERS 3.1–3.2 · 12 TOPICS

Enterprise Java and RESTful Services

Open Unit 3 →
Browse all 12 Unit 3 topics

Project-based practice

Laboratory worksheets

Ten worksheets are available across Units 1, 2, and 3. Choose an experiment below, or open a unit lab guide for the full sequence.

  1. 1
    Read the theory

    Review the relevant lesson before starting.

  2. 2
    Attempt the task

    Work through the worksheet and write your solution.

  3. 3
    Test and review

    Check the output and explain your approach.

Practice and evaluation

Assessment papers and solutions

Attempt a question paper, then compare your answers with the suggested solutions. Use the laboratory sets to practise programming under assessment conditions.

Unit 1 · 20 marks

Laboratory MST

Four practical sets covering text processing, matrices, object-oriented programming and custom exceptions.

Course alignment

Course outcomes

The course outcomes progress from understanding and application to analysis, evaluation, and enterprise application development.

Course Outcome (CO) states what a learner should be able to do after the course; CO1 to CO5 label the five syllabus outcomes.

  1. CO1

    Understand Java's fundamental principles, features, and significance in programming.

  2. CO2

    Apply object-oriented concepts using classes, methods, inheritance, abstraction, polymorphism, and encapsulation.

  3. CO3

    Analyse exception handling, multithreading, and collections in Java.

  4. CO4

    Evaluate I/O streams, wrapper classes, lambda expressions, JDBC, and design patterns.

  5. CO5

    Develop RESTful APIs and enterprise solutions using Spring and Hibernate.