Java Business Application
From Script | Spoken-Tutorial
Revision as of 15:11, 18 December 2014 by PoojaMoolya (Talk | contribs)
Java EE technology
Basic Level
- Overview of Library Management System
- In this tutorial we introduce you to a web application.
- In this series, we have demonstrated how to create a basic inventory system.
- We have used the example of a Library Management system.
- What is Library Management System?
- Why do we need Library Management System
- What will we learn in the series?
- Creating a Java web project
- Developing a simple web project
- Deployment descriptor
- Web content folder
- web.xml
- HTML Page
- Run the application
- Java servlets and JSPs
- Definition of web server
- Definition of web container
- Creating a servlet
- Running the servlet
- Including HTML inside Java code
- Running the Project again
- Difference between Servlets and JSPs
- Creating a JSP
- Creating the home page of Library Management System
- Go to index.jsp
- Modify the index.jsp by creating a form
- Create GreetingServlet.java
- Servlet as a controller
- Inside the doGet method retrieve the form data parameters
- Run the project and see the output
- Repeat the same for doPost method
- Difference between doGet and doPost methods
- Database
- Create database library
- Create table users
- Load JDBC Driver
- Run the project
- Login and show successGreeting page
- Explain GreetingServlet.java
- Explain getParameter method
- Explain code for JDBC connection
- To redirect to successGreeting.jsp use RequestDispatcher
- Similarly explain how to print error messages on index.jsp
- Explain about scriptlet in index.jsp
- What is Model
- Explain the User Model
- Register as a new user
- Explain about successUser Page
- Explain AddUserServlet.java
- Explain different errors possible while filling the form
- Creating and viewing inventories
- Modify the login page to redirect to admin page
- Create Book and Checkout model Modifying GreetingServlet.java Creating #*AdminSection.java Create listBooks.jsp Fetch all the book details
- Create listBorrowedBooks.jsp Fetch borrowed book details
- To display the books borrowed by logged in user
- Issuing and Returning a book
- Adding more functionalities to the Admin Section Page
- Listing all the users
- Checkout/Return a book
- Modifications in the corresponding servlets
- Interface for checkout and return
- Creating CheckoutServlet.java