# Java Assignment
### Task
Create a Spring Boot application that provides RESTful endpoints to manage a book library. The application should support CRUD operations for books, authors, and book rentals.
### Requirements
1. Data Models:
- `Book`: Contains fields like `id`, `title`, `author`, `isbn`, and `publicationYear`.
- `Author`: Contains fields like `id`, `name`, and `biography`.
- `Rental`: Represents a book rental, with fields `id`, `bookId`, `renterName`, `rentalDate`, and `returnDate`.
2. RESTful Endpoints:
- CRUD operations for `Book`.
- CRUD operations for `Author`.
- Create and retrieve `Rental` records.
- Endpoints to retrieve books by author, books available for rent, and books currently rented.
3. Business Logic:
- When renting a book, ensure the book is not already rented.
- When returning a book, mark it as available.
- Implement a method to check for overdue rentals (rental periods exceeding a set time, e.g., 14 days).
4. Testing:
- Write basic unit tests to verify core business logic and RESTful endpoints.
- Consider integration tests to ensure endpoints work as expected with the database.
5. Error Handling and Validation:
- Implement proper error handling for invalid requests.
- Validate inputs to ensure required fields are provided, and values are in the correct format (e.g., ISBN, dates).
6. Documentation:
- Provide a README file with setup instructions, how to run the application, and sample requests to test the endpoints.
- Include any additional documentation explaining design decisions or assumptions made during development.
### Tech:
Spring Boot, Any Database
### Task
Create a Spring Boot application that provides RESTful endpoints to manage a book library. The application should support CRUD operations for books, authors, and book rentals.
### Requirements
1. Data Models:
- `Book`: Contains fields like `id`, `title`, `author`, `isbn`, and `publicationYear`.
- `Author`: Contains fields like `id`, `name`, and `biography`.
- `Rental`: Represents a book rental, with fields `id`, `bookId`, `renterName`, `rentalDate`, and `returnDate`.
2. RESTful Endpoints:
- CRUD operations for `Book`.
- CRUD operations for `Author`.
- Create and retrieve `Rental` records.
- Endpoints to retrieve books by author, books available for rent, and books currently rented.
3. Business Logic:
- When renting a book, ensure the book is not already rented.
- When returning a book, mark it as available.
- Implement a method to check for overdue rentals (rental periods exceeding a set time, e.g., 14 days).
4. Testing:
- Write basic unit tests to verify core business logic and RESTful endpoints.
- Consider integration tests to ensure endpoints work as expected with the database.
5. Error Handling and Validation:
- Implement proper error handling for invalid requests.
- Validate inputs to ensure required fields are provided, and values are in the correct format (e.g., ISBN, dates).
6. Documentation:
- Provide a README file with setup instructions, how to run the application, and sample requests to test the endpoints.
- Include any additional documentation explaining design decisions or assumptions made during development.
### Tech:
Spring Boot, Any Database
π1
Today we tied up with one organisation regarding Java Full stack or python full-stack course at just rupees 2500 and rest will paid and taken care by one of our known trust and along with this 100% assured internship on live project with java 17 and spring boot 3 spring security 6+ jwt and many more in curriculum intrested people do join ASAP as we have 100 slots available that is getting sponsered by trust
Based on some Terms and conditions trust may also provide free laptop to students
Java Hyd Team
Today we tied up with one organisation regarding Java Full stack or python full-stack course at just rupees 2500 and rest will paid and taken care by one of our known trust and along with this 100% assured internship on live project with java 17 and springβ¦
Hey they are offering 500 on each successful referral
Gitlab is #hiring for Developer Advocate.
Requirements :
> Experience creating software or contributing to open source software
> At least 1 year of experience giving talks and developing demos, workshops, webinars, videos, and other technical content
> Meaningful social presence with engaged followers
> Ability to consistently generate engaging content and manage the fast-moving conference schedule with its CFP deadlines and show dates
Apply link : https://boards.greenhouse.io/gitlab/jobs/7419293002
Requirements :
> Experience creating software or contributing to open source software
> At least 1 year of experience giving talks and developing demos, workshops, webinars, videos, and other technical content
> Meaningful social presence with engaged followers
> Ability to consistently generate engaging content and manage the fast-moving conference schedule with its CFP deadlines and show dates
Apply link : https://boards.greenhouse.io/gitlab/jobs/7419293002
We are looking for flutter π developer who can work on profit sharing message @stockkida
Hi,
Greetings!
We are having an urgent requirement for a Kubernetes Engineer with our client.
Please find the job description below.
Must have:
5 Yrs. of Exp β Kubernetes
5 Yrs. of Exp β Scripting knowledge in Python
4 Yrs. of Exp β Certified Kubernetes Administrator (CKA certification) is Mandatory
Requirements:
SRE and Support tasks in Kubernetes container platform .Manage cluster life cycle by deploying updates and OS patches in K8s clusters. Build automation using GitOps.
Total 7 to 8 yearsβ experience in Onprem systems and DevOps.
4 to 5 Yearsβ experience in managing Kubernetes clusters in enterprise level.
Certified Kubernetes Administrator ( CKA certification ) is Mandatory.
Scripting knowledge in Python . Knowledge in Linux
Good Communication skills.
Knowledge in On Prem systems like VMware, Infrastructure and Network knowledge.
Optional(Cloud ( AWS / Azure / GCP)
vamshi.b@arnexsolution.com
Greetings!
We are having an urgent requirement for a Kubernetes Engineer with our client.
Please find the job description below.
Must have:
5 Yrs. of Exp β Kubernetes
5 Yrs. of Exp β Scripting knowledge in Python
4 Yrs. of Exp β Certified Kubernetes Administrator (CKA certification) is Mandatory
Requirements:
SRE and Support tasks in Kubernetes container platform .Manage cluster life cycle by deploying updates and OS patches in K8s clusters. Build automation using GitOps.
Total 7 to 8 yearsβ experience in Onprem systems and DevOps.
4 to 5 Yearsβ experience in managing Kubernetes clusters in enterprise level.
Certified Kubernetes Administrator ( CKA certification ) is Mandatory.
Scripting knowledge in Python . Knowledge in Linux
Good Communication skills.
Knowledge in On Prem systems like VMware, Infrastructure and Network knowledge.
Optional(Cloud ( AWS / Azure / GCP)
vamshi.b@arnexsolution.com