0% found this document useful (0 votes)
58 views2 pages

MID 1 Assignment

This document provides assignments for students related to Spring Framework concepts. It includes 3 questions about implementing Spring features for different use cases: 1. Developing an online store inventory management system using Spring IoC container configuration, dependency injection, and auto-scanning. 2. Creating a task management application with Spring Boot, utilizing autowiring, bean scopes, logging, and AOP. 3. Building a student enrollment system using Spring Data JPA with Spring Boot to implement CRUD operations, pagination, sorting, named queries and transactions. The assignments aim to help students understand fundamental Spring concepts and apply features like IoC, dependency injection, auto-scanning, Spring Boot, JPA and best practices
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views2 pages

MID 1 Assignment

This document provides assignments for students related to Spring Framework concepts. It includes 3 questions about implementing Spring features for different use cases: 1. Developing an online store inventory management system using Spring IoC container configuration, dependency injection, and auto-scanning. 2. Creating a task management application with Spring Boot, utilizing autowiring, bean scopes, logging, and AOP. 3. Building a student enrollment system using Spring Data JPA with Spring Boot to implement CRUD operations, pagination, sorting, named queries and transactions. The assignments aim to help students understand fundamental Spring concepts and apply features like IoC, dependency injection, auto-scanning, Spring Boot, JPA and best practices
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Gayatri Vidya Parishad College of Engineering for Women

Madhurawada, Visakhapatnam
(Affiliated to JNTUK, Approved by AICTE, New Delhi)

Name of the Faculty: Mrs. K. Rohini Department: CSE


Subject taught: API AND MICROSERVICES Subject Code: R204105M
Academic Year: 2023-24(1st Sem) Regulation: R20
Branch: IV-I CSE-2 & CSE-AI&ML Date : 15-09-2023

ASSIGNMENT-I
Q. No: 1:

UNIT I: Spring 5 Basics


Use Case: Online Store Inventory Management
Implement the concepts learned in Unit I to create a Spring-based online store inventory management
system. Configure IoC container using Java-based configuration, apply dependency injection (constructor
or setter injection) for managing product instances, and use auto-scanning to dynamically discover and
register new products.
Constraints/Requirements:
1. The online store must support various product categories (e.g., electronics, clothing, books).
2. Implement IoC container using Java-based configuration.
3. Apply either constructor or setter injection for managing product instances.
4. Implement auto-scanning to dynamically discover and register new products.
5. Provide basic operations like adding new products, updating product details, and removing
products from inventory.

Objective: Understand the fundamental concepts of Spring Framework, including its modules, Inversion
of Control (IoC) container configuration using Java-based methods, and various dependency injection
techniques such as constructor injection, setter injection, and auto-scanning.
Course Outcome: Demonstrate an understanding of the Spring Framework, IoC container, and Java-
based configuration, and apply AutoScanning for component discovery.

Q. No: 2:

UNIT II: Spring Boot


Use Case: Task Management Application
Develop a task management application using Spring Boot. Create tasks as beans, apply autowiring to
inject dependencies, utilize different bean scopes (singleton, prototype, etc.), implement logging using
Spring Boot's built-in logger, and demonstrate the use of Spring AOP for logging task-related activities.
Constraints/Requirements:
1. Users should be able to create tasks, update task details, mark tasks as completed, and delete tasks.
2. Implement different bean scopes (singleton, prototype, etc.) for tasks.
3. Utilize Spring Boot's built-in logger to log task-related activities.
4. Implement logging using Spring AOP for aspects such as task creation, completion, and deletion.

Objective: Learn to create and configure Spring Boot applications, comprehend the concept of
autowiring and bean scope, explore Spring Aspect-Oriented Programming (AOP) including advice
implementation, and understand best practices for developing Spring Boot applications.
Course Outcome: Develop Spring Boot applications with annotations, Autowiring, and AOP advices,
following best practices.

ASSIGNMEN

1|Pag
Gayatri Vidya Parishad College of Engineering for Women
Madhurawada, Visakhapatnam
(Affiliated to JNTUK, Approved by AICTE, New Delhi)

Q. No: 3:

UNIT III: Spring Data JPA with Boot


Use Case: Student Enrollment System
Build a student enrollment system using Spring Data JPA with Spring Boot. Implement CRUD operations
for students, configure pagination and sorting for displaying student records, create named queries for
custom search functionality, and manage transactions for enrollment operations to ensure data
consistency.
Constraints/Requirements:
1. Implement CRUD operations for students (Create, Read, Update, Delete).
2. Configure pagination and sorting for displaying student records.
3. Create named queries for custom search functionality (e.g., search students by name, by course).
4. Implement transactions for enrollment operations (e.g., enroll student in a course) to ensure data
consistency.

Objective: Explore Spring Data JPA, configure it with Spring Boot, implement pagination, sorting,
transactions, and adhere to best practices in JPA development.
Course Outcome: Apply Spring Data JPA with Spring Boot for handling pagination, sorting, queries,
transactions, and custom repository implementation.

SIGNATURE OF THE FACULTY

ASSIGNMEN

2|Pag

You might also like