File Transfer Web Application Madhavi Dintakurthy Governors State University

File Transfer Web Application Madhavi Dintakurthy Governors State University

Governors State University OPUS Open Portal to University Scholarship All Capstone Projects Student Capstone Projects Spring 2013 File Transfer Web Application Madhavi Dintakurthy Governors State University Follow this and additional works at: http://opus.govst.edu/capstones Part of the Computer Sciences Commons Recommended Citation Dintakurthy, Madhavi, "File Transfer Web Application" (2013). All Capstone Projects. 60. http://opus.govst.edu/capstones/60 For more information about the academic degree, extended learning, and certificate programs of Governors State University, go to http://www.govst.edu/Academics/Degree_Programs_and_Certifications/ Visit the Governors State Computer Science Department This Project Summary is brought to you for free and open access by the Student Capstone Projects at OPUS Open Portal to University Scholarship. It has been accepted for inclusion in All Capstone Projects by an authorized administrator of OPUS Open Portal to University Scholarship. For more information, please contact [email protected]. Page | 1 FILE TRANSFER WEB APPLICATION By Madhavi Dintakurthy PROJECT DOCUMENTATION For the Degree of Master of Science, With a Major in Computer Science Governors State University University Park, IL 60484 2013 Page | 2 Abstract Aim is to develop a web application using java web framework. Description: Develop a web application in 3 tier architecture involving user interface, controller and database. The user interface will be a web page hosted on a server. The web page consists of both static and dynamic content. All the data required for the application is stored in database tables. Controller accesses the data from the database and provides it to the user through user interface (web page). Web page: The webpage serves as user interface to the application. Web page is developed using Jsp, HTML, Java Script and Ajax. Controller: The controller serves as the communicating interface between web page and database. Controller serves the data to the user based on the user request. Controller is developed using Java 7, Java Servlets, and JDBC. Database: Database is used to store all the required data for the application. Database tables are designed according to requirement and developed using SQL. Server: Server is used to host the application. The developed web application is deployed onto server. Apache Tomcat is the application server for the application. Environment: Java 7, HTML, Java Script, JDBC, Ajax, Apache Tomcat, Derby Database, SQL. Page | 3 CONTENTS ABSTRACT 1. INTRODUCTION ………………………………………………………….. 5 2. SOFTWARE PROCESS MODEL ……………………………………….. 6 2.1 INTRODUCTION 2.2 WATERFALL MODEL 3. TECHNOLOGIES ………………………………………………………… 8 4. SOFTWARE DESCRIPTION ……………………………………………. 9 4.1 WEB PAGE 4.1.1 JSP 4.1.2 HTML 4.1.3 JAVA SCRIPT 4.1.4 AJAX 4.2 CONTROLLER 4.2.1 JAVA 4.2.2 JAVA SERVLETS 4.2.3 JDBC 4.3 DATABASE 4.3.1 SQL SERVER 4.4 SERVER 4.4.1 APCHE TOMCAT 5. SOFTWARE INTERFACE ……………………………………………… 29 6. DATABASE TABLES ……………………………………………………. 33 7. SYSTEM TESTING AND IMPLEMENTATIONS …………………… 34 Page | 4 7.1 STRATEGIC APPROACH OF SOFTWARE TESTING BIBLIOGRAPHY …………………………………………………………. 36 Page | 5 1. Introduction File Transfer Web Application is used to upload any type of files like pdf, mp3, word, video, etc.) into a database table and can download any type of files from the database. This web application is developed using java web framework. The web application is developed in 3 tier architecture involving user interface, controller and database. The user interface will be a web page hosted on a server. The web page consists of both static and dynamic content. All the data required for the application is stored in database tables. Controller accesses the data from the database and provides it to the user through user interface (web page). User Interface: The File Transfer web application contains four web pages like Home page, Upload page, download Page and About Us page. On every page there are four buttons named Home, Upload, download and AboutUs, and the user can click on any of the button to go to that particular page. The Home page and AboutUs page contains details about the project. In the Upload page, the user can upload any type of files into a database table by selecting any file from the computer using ‘choose a file’ button and once the user click on the upload button the file will be uploaded to a database table. The Download page contains all the files that are in the database table. When the user clicks on a particular file that is displayed on a Download page the file will be downloaded into the computer. In this way the user can upload and download files using File Transfer Web Application. Page | 6 2. Software Process Model 2.1 Introduction: After analyzing the requirements of the task to be performed, the next step is to analyze the problem and understand its context. The first activity in the phase is studying the existing system and other is to understand the requirements and domain of the new system. Both the activities are equally important, but the first activity serves as a basis of giving the functional specifications and then successful design of the proposed system. Understanding the properties and requirements of a new system is more difficult and requires creative thinking and understanding of existing running system is also difficult, improper understanding of present system can lead diversion from solution. The model that is basically being followed is the WATER FALL MODEL. 2.2 Waterfall Model: The waterfall Model illustrates the software development process in a linear sequential flow. This means that any phase in the development process begins only if the previous phase is complete. The waterfall approach does not define the process to go back to the previous phase to handle changes in requirement. Therefore, different projects may follow different approaches to handle such situations. What is Waterfall methodology? The waterfall approach is the earliest approach that was used for software development. Initially, most projects followed the waterfall approach because they did not focus on changing requirements. Page | 7 Waterfall Approach Phases a. Conception: Triggers when a problem is perceived. This phase involves identifying goals to be achieved after the problem is solved, estimating benefits in the new system over the current system, and identifying other areas that are affected by the solution. This phase also involves and developing the business case for the project. A business case provides the information that a manger needs to decide whether to support a proposed project, before resources are committed to its development. Page | 8 b. Initiation: Involves a macro level study of the customer requirements. This phase also involves defining alternative solutions to the customer requirements and cost-benefit justification of these alternatives. c. Analysis: Involves carrying out detailed study of the customer requirements and arriving at the exact requirements of the proposed system. The phase involves freezing the requirements before the design phase begins. d. Design: Involves translating the identified requirements into a logical structure, called design that can be implemented in a programming logic. e. Construction: Involves integrating and testing all the modules developed in the previous phase as a complete system. f. Integration and Testing: Involves integrating and testing all the modules developed in the previous phase as a complete system. g. Implementation and maintenance: Involves converting the new system design into operation. This may involve implementing the software system and training the operating staff before the software system is functional. The waterfall approach assumes that requirements are stable and frozen across the project plan. However, this is usually not true in case of large projects where requirements may evolve across the development process. Page | 9 3. TECHNOLOGIES 3.1 Software Requirements Web Technology : Eclipse IDE Web Server : Tomcat Server Database : SQL Server 2012 Code Behind : Java, J2EE, JDBC, ODBC, JavaScript, Html, Ajax, Sql 3.2 Hardware Requirements Intel Pentium : 600 MHz or above. RAM (SD/DDR) : 512MB Hard Disc : 30GB or above System bus : 32 bits RAM : 256MB of RAM Monitor : SVGA COLOR Keyboard : 108 keys Mouse : 2 button mouse Page | 10 4. Software Description 4.1 Web page: The webpage serves as user interface to the application. Web page is developed using Jsp, HTML, Java Script and Ajax. 4.1.1 JSP: Java Server Pages (JSP) is a technology that helps software developers create dynamically generated web pages based on HTML, XML, or other document types. Released in 1999 by Sun Microsystems, JSP is similar to PHP, but it uses the Java programming language. To deploy and run JavaServer Pages, a compatible web server with a servlet container, such as Apache Tomcat or Jetty, is required. Java Server Pages (JSP) is a technology that lets you mix regular, static HTML with dynamically-generated HTML. Many Web pages that are built by CGI programs are mostly static, with the dynamic part limited to a few small locations. But most CGI variations, including servlets, make you generate the entire page via your program, even though most of it is always the same. JSP lets you create the two parts separately. Here's an example: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD><TITLE>Welcome to Our Store</TITLE></HEAD> <BODY> <H1>Welcome to Our Store</H1> <SMALL>Welcome, <!-- User name is "New User" for first-time visitors --> <% out.println(Utils.getUserNameFromCookie(request)); %> To access your account settings, click <A HREF="Account-Settings.html">here.</A></SMALL> <P> Regular HTML for all the rest of the on-line store's Web page. </BODY></HTML> Page | 11 4.1.2 HTML: HyperText Markup Language (HTML) is the main markup language for creating web pages and other information that can be displayed in a web browser. HTML is written in the form of HTML elements consisting of tags enclosed in angle brackets (like <html>), within the web page content.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    38 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us