JAVA AND WEB DESIGN- Case Study based question | See below
Scenario:
ABC is an educational institute which is reputed for its management
courses. It has 3 branches in different places and is planning to launch
2 more branches in some other places. The institute used to maintain
the student details in the form of a hard copy file. One day, a fire
broke out in the record section and all such records were destroyed.
Next day the management decided to maintain the student details in a
computer so as to prevent the damage due to such disasters. One of the
management members suggested that XYZ Company is capable of developing a
kind of application for maintaining records using java.
The member
further told other members that in his friend’s organisation the same
java application developed by the XYZ Company was working very
effectively and it also offered enough security parameters. Immediately
the management appointed an employee who had good knowledge of java
language to oversee the implementation of the required application. That
employee prepared an outline of the company’s requirements and
submitted it to the XYZ Company.
The requirements of institute were:
For institute’s employees–student details, course details, materials, and access rights.For students it was– Course material, feedback on assignments, course details and faculty details.
XYZ company’s web designers developed a prototype of an application based on the requirements of the ABC institute. Now the programmers of XYZ Company detailed the process of application development based on the specified requirements.
They decided that for display purpose they can
use JSP (Java Sever Pages) and to retrieve the details of a particular
student, they would create JDBC connection to the all branches. The
student details can be stored in a database table (server side) by using
MySql. They also decided to use servlets for internal process. That is,
sending of request and obtaining response from the server. After
developing the application, they submitted it to ABC institute for
testing purpose. During the testing process, it was found that there is
no proper security mechanism in the application. That is, the
application permitted ‘Login’ by every member.
So ABC Company asked XYZ
Company to install security mechanism in the application such that it
gives separate access to the employees and students. XYZ Company
modified the application by giving only limited and absolutely necessary
access rights to the concerned users. Also a new security parameter
added to the application, prevented access by a user for 24 hours if
he/she entered incorrect ‘Login’ details for three consecutive times.
a. State the reason for using database connection in the application.
Answer:
A: As per the requirements shared by the ABC institute, a database is required in the application as the institute need to store students’ information and the student records need to be updated from time to time. As per the passage, the institute required a dynamic web application and it was decided that a Java based application will be built that uses MySQL database for storing students’ information and Java Server Pages to display the information.
a. State the reason for using database connection in the application.
b. Explain the purpose of creating a java application for the ABC institute.
Answer:A: As per the requirements shared by the ABC institute, a database is required in the application as the institute need to store students’ information and the student records need to be updated from time to time. As per the passage, the institute required a dynamic web application and it was decided that a Java based application will be built that uses MySQL database for storing students’ information and Java Server Pages to display the information.
B: As per the requirement of the ABC institute they needed an application to maintain and manage students’ records, and for this a web based dynamic application is required. The purpose of creating Java application is that Java is a robust technology for building dynamic web applications. It was a good choice of technology for building an application that meets the institute’s requirement. Some advantageous of using Java:
· Java is considered as an efficient, robust and reusable technology for building web applications.
· It separates presentation layer and the implementation layer. JSP separates the Web page content from the appearance of the Web page. This separation makes the maintenance of Web pages simpler. This also helps the Web designers and Web developers to work independently without problem.
· It is platform independent and therefore does not require any modifications to run on any platform.
· Java follows a 'Write Once, Run anywhere' philosophy, as a JSP program needs to be compiled only the first time it is run. Later, it can be run any number of times without the burden of compilation and the associated delay.
· It is open source software and hence can be used by anybody without spending hefty amounts on purchasing the license.
· It provides highly scalable architecture for the enterprise applications and is widely used in corporate intranet Websites.
· It is useful in the creation of database driven Web applications using JDBC.
· It helps you to embed Java code into HTML or XML document quickly and easily to create dynamic Web pages or Web applications.
No comments:
Post a Comment