# CSE524 / Advanced Java Lab

## Syllabus

{% file src="<https://3148391480-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoWho7cxjZIbvsuDwIAzB%2Fuploads%2FYP04rfMm3aHJBqKX1Ba2%2FY3S5-CSE524-SYLLABUS-BTECH-CSE-IT.pdf?alt=media&token=2a7f9333-8402-44a5-a6e8-8fba1ef11fa2>" %}

## Lab Experiments

<details>

<summary>EXPT-1: Create a simple Servlet to handle HTTP requests and responses.</summary>

* Implement doGet() and doPost() methods to handle different types of requests.

</details>

<details>

<summary>EXPT-2: Demonstrate Servlet lifecycle methods such as init(), service(), and destroy().</summary>

* Develop a web application to display user input using Servlets

</details>

<details>

<summary>EXPT-3: Create a basic JSP page to generate dynamic content.</summary>

* Use JSP scriptlets, expressions, and declarations to embed Java code in JSP.

</details>

<details>

<summary>EXPT-4: Implement JSP actions like include, forward, and useBean.</summary>

* Develop a web application combining Servlets and JSP to manage user authentication.

</details>

<details>

<summary>EXPT-5: Implement Dependency Injection (DI) using Spring framework.</summary>

* Configure Spring beans using XML and annotations.

</details>

<details>

<summary>EXPT-6: Demonstrate IoC (Inversion of Control) principle in Spring.</summary>

* Develop a Spring-based application to manage employee data with DI.

</details>

<details>

<summary>EXPT-7: Create a simple Spring MVC application with controllers and views.</summary>

* Define RequestMapping for handling HTTP requests.

</details>

<details>

<summary>EXPT-8: Create a Spring Boot application using Spring Initializr.</summary>

* Explore Spring Boot starters and auto-configuration.

</details>

<details>

<summary>EXPT-9: Configure database connectivity using Spring Boot.</summary>

* Develop RESTful APIs using Spring Boot for CRUD operations on an entity.

</details>

<details>

<summary>EXPT-10: Use Postman to test RESTful APIs developed in previous experiments.</summary>

* Send GET, POST, PUT, and DELETE requests using Postman.

</details>

<details>

<summary>EXPT-11: Validate request parameters, headers, and response status codes.</summary>

* Implement error handling and exception responses in RESTful APIs.

</details>

<details>

<summary>EXPT-12: Understand the concept of microservices and its advantages.</summary>

* Design RESTful APIs for microservices communication. Implement multiple microservices using Spring Boot. Demonstrate communication between microservices using REST calls.

</details>

<details>

<summary>EXPT-13: Implement caching using Spring Boot annotations.</summary>

* Integrate Spring Data JPA for database operations.
* Implement logging using Spring Boot logging framework.

</details>

<details>

<summary>EXPT-14: Deploy Spring Boot applications to a local server (e.g., Tomcat).</summary>

* Monitor and manage Spring Boot applications using Spring Boot Actuator.
* Configure logging levels and monitor application performance.

</details>

## Question Directory

### Lab Questions

<table><thead><tr><th width="81.0859375">[⤓]</th><th>Content Preview</th></tr></thead><tbody><tr><td><a href="https://drive.google.com/uc?export=download&#x26;id=1hg57DtGP5PaSYYCk47fzMt5GkCewb0zv" class="button primary" data-icon="arrow-down-to-square"></a></td><td><a href="https://drive.google.com/file/d/1hg57DtGP5PaSYYCk47fzMt5GkCewb0zv/view?usp=drive_link">CSE524-ADV-JAVA-LAB-Qs</a></td></tr></tbody></table>

### Lab Practicals

<table><thead><tr><th width="87.51953125">View</th><th>Content Preview</th></tr></thead><tbody><tr><td><a href="https://docs.google.com/document/d/1d_XKMKv3OaFwkQ00OSyuQ0EpYqmfR15A/edit?usp=drive_link&#x26;ouid=114560226846413789967&#x26;rtpof=true&#x26;sd=true" class="button primary" data-icon="globe-pointer"></a></td><td><a href="https://docs.google.com/document/d/1d_XKMKv3OaFwkQ00OSyuQ0EpYqmfR15A/edit?usp=drive_link&#x26;ouid=114560226846413789967&#x26;rtpof=true&#x26;sd=true">CSE524_Lab-Practicals</a></td></tr></tbody></table>

***

{% embed url="<https://mantavyam.notion.site/18152f7cde8880d699a5f2e65f87374e>" %}

{% embed url="<https://mantavyam.notion.site/17e52f7cde8880e0987fd06d33ef6019>" %}
