21CS402 Web Frameworks 3/0/0/3
Nature of Course: D (Theory Application)
Pre requisites: Java Programming
Course Objectives:
1 To impart the knowledge of REST API and HTTP methods used in Spring Boot
Framework.
2 To discuss LIKE queries using JPA and handle CRUD operations with JPQL.
3 To explore the various relational mapping with JPA.
4 To deploy Spring AOP - Annotation Based applications.
Course Outcomes:
Upon completion of the course, students shall have ability to:
C402.1 Create simple applications with REST API and handle HTTP methods. [AP]
C402.2 Apply LIKE queries using JPA. [AP]
C402.3 Build application using Spring Boot and handle CRUD operations with
[AP]
JPQL.
C402.4 Demonstrate various relational mapping with JPA. [U]
C402.5 Develop Spring AOP - Annotation Based Application [AP]
Course Contents:
Module I : APIs and JSON 15 Hours
REST API, HTTP Methods in Rest, Overview of JSON, Controller and Service Layer, GET API
with JSON & Spring Boot, @Value annotation, Runnable JAR Of Spring Boot App, @JsonIgnore
Usage, @JsonProperty Usage, MySQL Database.
Module II : Spring JPA 15 Hours
Spring Boot-MySQL Database Connection with JPA, @Repository Annotation, GET API with JPA,
HTTP POST API, PUT API, DELETE API with @RequestParam, Path variable - @PathVariable,
AND,OR,IN Query using JPA, Pagination & Sorting using JPA. @Transient Annotation, Queries
using JPA, Starts and Ends with query using JPA, JPQL with @Query Annotation, Select, Update,
Delete with JPQL.
Module III: JPA Mapping with Spring Boot 15 Hours
OneToOne Relationship Mapping with JPA, Join Query, Lazy Loading in JPA,
BiDirectionalOneToOne Relationship with JPA, OneToMany Relationship with JPA, Insert Record
with OneToOne and OneToMany Relationship and JPA. SwaggerUI with Spring Boot, OpenUI
with Spring Boot, Logging with Spring Boot, Changing Log Level,Logging Request and Response
JSON, Logging properties with Spring Boot. AOP Terms, @BeforeAdvice with Method
Parameter,@After Advice,@AfterReturning Advice, @Around Advice.
Total Hours: 45
Text Books:
1.KirupaChinnathambi, “A Hands-On Guide to Building Web Applications Using React and
Redux”, Addison-Wesley Professional, 2018.
2.Raja CSP Raman, LudovicDewailly, “Building RESTful Web Services with Spring 5”, Packt
Publishing, 2018.
3.Leonard Richardson, Sam Ruby “RESTful Web Services” O'Reilly Media, 2008.
Reference Books:
1.Ranga Karanam, “Master Java Web Services and REST API with Spring Boot”, Packt
Publishing, 2018.
2.Balaji Varanasi, Sudha Belida, “Spring REST”, Apress, 2015.
Web References:
1.https://www.freecodecamp.org/news/how-to-build-a-rest-api-with-spring-boot-using-mysql-and-
jpa-f931e348734b/
2.https://github.com/scbushan05/book-api-spring-boot
3.https://www.geeksforgeeks.org/spring-value-annotation-with-example/
4.https://www.baeldung.com/spring-jpa-like-queries
5.https://medium.com/thecodefountain/design-a-rest-api-with-spring-boot-and-mysql-
a5572d94ccc7
Online Resources:
1.https://www.udemy.com/course/rest-api-with-java-spring-boot-spring-data-jpa-jparepository-
swagger/
2.https://spring.io/guides/tutorials/rest/
3.https://www.javaguides.net/2018/10/spring-boot-2-restful-api-documentation-with-swagger2-
tutorial.html
Continuous Assessment
Total End Semester
Formative Summative Total
tTotal Continuous Examination
Assessment Assessment
Assessment
80 120 200 40 60 100
Assessment Methods & Levels (based on Blooms’ Taxonomy)
Formative Assessment based on Capstone Model
Assessment Component (Choose and map FA
Course Bloom’s components from the list - Quiz, (16%)
Outcome Level Assignment, Case study, Seminar, Group [80
Assignment) Marks]
C402.1,C402.2 &
Apply Mini Project 40
C402.3
C402.4 Understand Quiz 20
C402.5 Apply Case Study 20
Assessment based on Summative and End Semester Examination
Summative Assessment (24%)
End Semester Examination
Bloom’s [120 Marks]
(60%)
Level CIA1 : [60 CIA2 : [60
[100 Marks]
Marks] Marks]
Remember 10 10 10
Understand 20 20 20
Apply 70 70 70
Analyse - - -
Evaluate - - -
Create - - -
Assessment based on Continuous and End Semester Examination
Continuous Assessment (40%)
[200 Marks]
CA 1 : 100 Marks CA 2 : 100 Marks End Semester
FA 1 (40 Marks) FA 2 (40 Marks) Examination (60%)
SA 1 Component Component SA 2 Component [100 Marks]
(60 (60 Component -
-I - II -I
Marks) Marks) II
(20 (20 (20
(20 Marks)
Marks) Marks) Marks)
Programme Specific
Course Programme Outcomes (PO)
Outcomes (PSO)
Outcomes (CO)
1 2 3 4 5 6 7 8 9 10 11 12 1 2 3
C402.1 2 2 2 1 2 1
C402.2 3 3 3 2 2 2 1 3 3 1 2
C402.3 3 3 3 3 3 2 1 3 3 2 2
C402.4 3 3 3 3 3 2 1 3 3 2 2
C402.5 3 3 3 1 1 3 3 1
C402 3 3 3 3 3 2 1 3 3 2 2
3 Strongly agreed 2 Moderately agreed 1 Reasonably agreed