Skip to content

rohit-ikrak/LMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Library Management System This is a small project demonstrating my learning progress. The main focus in this project is to demonstrate my understandings of SpringMVC and SpringORM.

Project Information


-> Jdk version - jdk-17
-> Project type - Maven Webapp
-> Languages used - Java, HTML/CSS
-> Database - MySQL
-> Framework - Spring (SpringMVC, SpringORM)
-> Additions Topics used - JSP, JSTL, Bootstrap etc

How to run this project in your system?


-> Download and extract the zip file.
-> Open it with any IDE (I used STL).
-> Go to spring-servlet.xml page and look for the bean named 'ds' (configuring data source)
-> Change it according to your database requirements.
-> Create the database with the same name as you put there ('lms' in my case).
-> After creating the database, come back to the IDE and run project.
-> It should start and a webpage should open in the browser.

Understanding Project Structure


1. In this project I first added the dependencies in pom.xml.
2. Then I added dispactcher servlet class in web.xml.
3. I the same place as web.xml file I created another file in which I added (servlet) configurations of the project (basically for declaring beans).
4. Then I created the database structure and figured out the entities that will be required for operating the project.
5. Then I created four packages naming them >model >dao >services >controller.
6. Model will contain entities (POJO) to be defined as a bean.
7. Dao package will contain classes that will have methods to direct connection for database using Spring HibernateORM.
8. Services package classes will interact with dao package classes whose dependencies will be injected in these classes.
9. Controller package classes will have service package classes as the means to give instructions.
10. Then I created frontend using HTML, CSS, Bootstrap.

Note: This is a minimal project that just showcases the basic knowledge of the spring concepts.

There is so much to learn further as the framework is very vast and has many subframeworks that can be used combined to make the application much better whether in performance or in security.

Screenshots of the project (webpages)

homepage registerpage loginpage adminpage library

Releases

No releases published

Packages

No packages published