Developing Web Applications Using Java Computer Science Essay

Published:

This essay has been submitted by a student. This is not an example of the work written by our professional essay writers.

The main objective of this project is to develop the web application using Java which gives the access to the users by restricting them using the user_id and password. The main goal of this application is to show the successful result for the user where one can able to access the database using the client actions. The second goal is retrieving the data using XML parsing technique where the data is to be show using XML file gathered according to the client requirements which where pre define in xls files.

As the application is web based application, to develop this application I had selected object oriented programming language based on JAVA at the same time I used advance Java programming i.e. J2EE and for developing the client side application I used JSP, Java Server Page is the programming language which supports to develop the server side application. As this application is web application where database also plays main roll, so that I used My-SQL for creating the data tables, My-SQL is the database software which is used to create database easily using simple queries. The software using is belongs to the Oracle Sun Software Solutions which won't support to run on Microsoft oriented operating systems to solve this problem TOMCAT is serve which can be helped to run the application on web browser.

The minimum hardware used to run this application is Windows Operating System, 128Mb RAM and Hardware space require is 8 GB.

Software analysis:

The software selected for designing this application is Java, this is because of software portability, cost, its object oriented properties makes strong foundation to make the web site secure and user compatibility. We know that in java everything is define in form of classes and objects, where as to differentiates the object and classes are as follows in Class first letter must be the uppercase where as for object class there will be no restriction. The programs written using this language can be run in any platform; this is done by the JVM which converts the program into byte code and create the class file which will be used for execution purpose. This is the beauty of this language which is also known as platform independence.

The application which I developed is server side so that I designed this using Java Server Page (JSP) to run these applications in JDK we have to add the serverlet class to the java library and we must address this in class variables to run on JSP pages on client server.

The application architecture is three tyre so database also plays main roll, for this My-Sql database designee is used. Using this software it is easy to create the database.

Solution analysis:

The main objective of this project is creating the login page for user and gathering the data in XML file from the database with help of JSP/Java Bean functions where as the retrieved data before sending back to the client appropriately transformed by pre-written xsl files.

Software design:

For designing this software i followed following steps, in first step i recognise the problems in the brief there after i gone through the problem solving with proper software solution. For this project i found the problems are creating the access for user, data retrieving according to the client request and the gathering the data using XML parching.

To solve this problem i have created Login Page for restricting the unauthorised customers, once the client get access to the site he/she enters his login details hear the back end verification done, i.e. once client submit the login form by entering login_id and password and click the submit button then at backend the entered login_id and password is compared with Login table in music library database if the pointer founds the same login_id and password then login page is redirected to music library home page i.e. success login, if the enter data in login page is doesn't match in database then applet message sends says "enter correct logi_id and password. In same page some security measures also taken like login page must not redirect to next page when any of the field is blank or beyond the string limit when it happens error message must generate and same page must appeared again.

Once user logins into the site successfully then it redirect to the music library home page where the user can search the item that he/she want thereafter costumer filters the items that he want and submits the request in the website. According to the customer request the items will be dispatched on the new page, hearer this XML plays main roll because the Music library database is vast and in generally way costumer can't get full details in generally way, so XML parching is used, in this method data is retrieved from database that customer selected and this data is decoded to XML file. To do this Java Beans is used.

Er-Diagram:

This is data flow of the project describes how the database and the entities are related with each other to for the complete database

Uml-Diagrams:

Login use case diagram:

This diagram explains how the customer interact with the application, in UseCase Diagram-1 shows hoe the customer interact with login page where as in second UseCaseDiagram explains once the customer successfully login the site then hoe the customer selects the details to retrieve from database and in final UseCaseDiagram gives shows the details that customer retrieved from the database.

Activity Diagram:

This is the diagram which is the part of uml diagram which explains the whole application graphically by stepwise and actions take place throughout the flow. In this application first activity is browsing the file there after applying the username and password, hear signal is send by the server to database check, if this pass then application redirect to welcome.htm page if false the application backtrack to login.htm page itself. In welcome page client request data by entering or by selecting and data is retrieved from database according to the customer request.

Software Navigation:

In this section i will show the complete navigation flow of this application to view the data objects for customer selected first hem must get access permission from the administrator to do this customer must submit his details in the form of new user form in which customer ask to supply his own username and password which helps to get access for this site, on the register then customer can login into this site. And moves to the home page where customer can select the items that he want by title there after a report is generated for his selection, to do this XML parching is used. The whole application runs successful. Once user completes his search then the user will logout from the site successfully.

Login Page:

Customer Home Page:

Customer Requested Result Page:

Testing and evaluation of product:

Software testing is the final stage of the software development life cycle, testing the software generally follows main rules i.e. whether the software is comparable to the hardware or not, how the software developed is user interactive, navigation from the screen to screen. To test the application I developed I used manually test process in which the application I developed satisfies all the above rules. To test the software which I developed I had done generally test by entering the username different to the username in the database then I submit the form the result is positive i.e. give error message saying that user doesn't exist. In the same way I done manually test on each and every screen for each test the result is positive.

Writing Services

Essay Writing
Service

Find out how the very best essay writing service can help you accomplish more and achieve higher marks today.

Assignment Writing Service

From complicated assignments to tricky tasks, our experts can tackle virtually any question thrown at them.

Dissertation Writing Service

A dissertation (also known as a thesis or research project) is probably the most important piece of work for any student! From full dissertations to individual chapters, we’re on hand to support you.

Coursework Writing Service

Our expert qualified writers can help you get your coursework right first time, every time.

Dissertation Proposal Service

The first step to completing a dissertation is to create a proposal that talks about what you wish to do. Our experts can design suitable methodologies - perfect to help you get started with a dissertation.

Report Writing
Service

Reports for any audience. Perfectly structured, professionally written, and tailored to suit your exact requirements.

Essay Skeleton Answer Service

If you’re just looking for some help to get started on an essay, our outline service provides you with a perfect essay plan.

Marking & Proofreading Service

Not sure if your work is hitting the mark? Struggling to get feedback from your lecturer? Our premium marking service was created just for you - get the feedback you deserve now.

Exam Revision
Service

Exams can be one of the most stressful experiences you’ll ever have! Revision is key, and we’re here to help. With custom created revision notes and exam answers, you’ll never feel underprepared again.