WEB_LAB
WEB_LAB
B. Tech. in CSE/ISE
6th Semester
List of Experiments:
1. Requirement Analysis
2. Software design
3. Database design
4. Resource Management Layer
5. Application Logic Layer
6. Presentation Layer
7. Functionality implementation (Users)
8. Functionality implementation (Pet)
9. Functionality implementation (Adoption)
10. Mock
Consider a scenario where you have been tasked with developing a web application
for a fictional company called “PET AGENCY”. This application will serve as a platform
where users can register, log in, and manage their pet details. The application should
be user-friendly and intuitive, allowing users to enroll their pets and adopt any pets that
are listed on the platform.
Laboratory 1
4. Presentation of Results
Obtained
Viva 8
Results 8
Documentation 9
Total 25
Presentation of Results:
Functional Requirement:
FR1: The system or software should allow the existing user to login.
FR2: The system or software should allow the new user to register.
FR3: The system or software should allow the user for pet management(update or delete the
pet details).
FR4: The system or software should allow the user to Register pets.
FR5: The system or software should allow the user to browse pets.
FR6: The system or software should allow the user to adopt the pet.
4. Presentation of Results
Viva 8
Results 8
Documentation 9
Total 25
Presentation of Results:
Usecase Diagram:
ER Diagram:
Sequential Diagram:
Discussions & Conclusions
The Software Design lab focuses on modeling requirements using use-case diagrams, ER
diagrams, and sequence diagrams to illustrate the interaction between users and the system,
as well as the sequence of activities. The use-case diagram visually represents the functional
requirements, showing how users interact with various system functionalities. The ER
diagram maps out the data structure, depicting relationships between different entities,
which is crucial for database design. The sequence diagram provides a detailed view of the
order of operations and interactions within the system, ensuring a clear understanding of the
workflow and process dynamics. These diagrams collectively help in translating requirements
into a structured design, facilitating effective communication among stakeholders, reducing
ambiguities, and serving as a blueprint for the development phase.
Laboratory 3
3. Experimental Procedure
Presentation of Results:
Database:
Tables:
User table:
Pet table:
Adaptation table:
Viva 8
Results 8
Documentation 9
Total 25
Laboratory 4
In the new package, right click on the package, under NEW select “others” option,
then select “Web Services”, then select “RESTful Web Services from Database”
4. Presentation of Results
User:
Pet:
Adoptation:
Viva 8
Results 8
Documentation 9
Total 25
Laboratory 5
Import all entities from basic service layer (Lab 4) to the new package called services.
Make sure type is changed for findAll_XML:
Get and post Request:
Presentation of Results
Clean and build (all by right clicking on business logic layer), Deploy and Run
Deploy the application, by selecting right click on the application and select
RUN,Test the API in business logic layer (RESTFul Web Services Folder, by right
clicking on any API, then selecting TEST Resource URI).
Viva 8
Results 8
Documentation 9
Total 25
Laboratory 6 & 7
Create a New Package by selecting right click on source packages, under NEW, select “others”, then
search for JAVA folder, select java package. (Name the package as “services”)
Import all entities from basic service layer (Lab 4) to the new package called services.
Create a New Package by selecting right click on source packages, under NEW, select “others”, then
search for JAVA folder, select java package. (Name the package as “beans”) , Right click on the
beans package, select new JSF Managed Bean under JavaServer Faces Folder, (Make sure you select
Request Scope option in drop down menu before clicking on the finish button), Under the beans
package, select the clientLogicManagedBean.java, then import the REST Client to access business
logic layer APIs (Under Insert Code Option, Select Generate REST Client Option).
List of users.xhtml:
4. Presentation of Results
Viva 8
Results 8
Documentation 9
Total 25
Laboratory 8
4. Presentation of Results
5. Discussions & Conclusions
Viva 8
Results 8
Documentation 9
Total 25
Laboratory 9
9. Presentation of Results
Viva 8
Results 8
Documentation 9
Total 25