JAVA Web Database Application Developer Aniket Gulwade 1 and Vishal Suryawanshi 2 1 Information Technology, Jawaharlal Darda Institute of Engineering and Technology, Yavatmal, India, aniketgulwade@gmail.com 2 Information Technology, Jawaharlal Darda Institute of Engineering and Technology, Yavatmal, India, vis.suryawanshi@gmail.com ABSTRACT A Java Web Database Application Developer (JWDBAD) consists of various stages to solve the problem of java web application development. Without writing any java code we are able to develop entire web application by just filling basic information about project. Without using this application we have to write code manually which will take lots of precious time, that was saved by this application and it also provide lots of logic required for developing dynamic database web application.it is the tool which will reduces writing work for developing java database web application. It will just take the basic information for application development like project name, database, operation, and other information regarding with database which will save time for writing program and also reduces complexity for developing web application. It also create particular directory structure and place the file at appropriate position after developing whole application we have to just compile our.java file and deploy application folder into web Keywords: About Java, Creation, Deletion, Insertion, Removal, Retrieval, Updating. 1. INTRODUCTION Developing java application without any editor is more time consuming and complex task, especially developing java database web application. To develop such application we have to write code for java servlets, we have to create web.xml file and.html page and also we have to make directory structure. There are various software are develop for overcoming this problem such as net bean, eclipse, and so on. These software help us while writing the programs but still we have to write programs, there logics which takes the precious time of the programmer. To reduce this time and complexity of program there must be a software which will reduces the time and complexity of the programming. JWDBAD is the tool which will reduces writing work for developing java database web application. It will just take the basic information for application development like project name, database, operation, and other information regarding with database which will save time for writing program and also reduces complexity for developing web application. It also create particular directory structure and place the file at appropriate position after developing whole application we have to just compile our.java file and deploy application folder into web. It is more simple task to provide basic information about project rather than writing an application. In this paper the working of JWDBAD is given with its advantages and disadvantages. To develop web application using JWDBAD, we have to provide project name, and other attributes which are further process under certain processes to get appropriate web application which is helpful for developing complex applications within minute. And we can also add our own code into the generated file using editor module. In this module we can see and edit files to be generated such as web.xml, account.html and.java file. There are various other modules used for developing java database web application performing various task with various logic. This paper helps to understand various features of JWDBAD, its working with various operating module and short information about java web database application development using this application. 2. OPERATION VOLUME-2, SPECIAL ISSUE-1, MARCH-2015 COPYRIGHT 2015 IJREST, ALL RIGHT RESERVED 308
2.1 Creation: Creation module is used to develop web application which will perform task to create new database table into an web application. In this module we have to give some basic information like number of columns, datatype and HTML label, to get dynamic web application performing creation task. This web application performs creation of various tables having given number of columns and linked with specific datatype. HTML label provides GUI label on HTML page linked with particular text field. Note: Table may have different names and different column name depends on end user. Fig. 2.2: Retrieval module 2.3 Updating: Updating module is used to develop web application which will perform task to update particular column linked with particular ID from given database using dynamic web application. In this module we have to give ID column name and its datatype with column which have to update and its datatype. To get dynamic web application performing updating task. ID and column is taken from end user.. Fig. 2.1: Creation Module 2.2 Retrieval: Retrieval module is used to develop web application which will perform task to retrieve data from given database through web application. In this module we have to give some basic information like number of columns, column names and there datatype with their HTML label, to get dynamic web application performing retrieval task. This web application performs retrieval operations with various logic perform on condition column like equal to, less than, greater than, not equal to with input taken from end user. Fig. 2.3: Updating module 2.4 Insertion: Insertion module is used to develop web application which will perform task to insert new values in database table through web application. In this module we have to give some basic information like number of columns, column name, datatype and HTML label, to get dynamic web application performing insertion task. This web application VOLUME-2, SPECIAL ISSUE-1, MARCH-2015 COPYRIGHT 2015 IJREST, ALL RIGHT RESERVED 309
performs insertion of data into given database. Various values to be inserted is taken from end user. Fig. 2.6: Removal module Fig. 2.4: Insertion module 2.5 Deletion: Deletion module is used to develop web application which will perform task to delete record from the database. In this module we have to give some basic information like ID column and its datatype and database name. Value of ID is taken from end user through web application. 3. ABOUT JAVA: Java is a very simple, high-level, secured, multithreaded, platform independent, object oriented programming language. It mainly designed to develop internet applications by providing platform independency. C, C++ programming languages supports developing only stand-alone application, it can only be executed in current system, cannot be executed from remote system via network call. Syntax of Java is similar to C and C++, but it omits many of the features that make C and C++ complex, confusing and unsafe Fig. 2.5: Deletion module 2.6 Removal: Removal module is used to develop web application which will perform task to remove complete table from the database. In this module we have to give some basic information like database name and HTML label. Table name is taken from end user through web application. 3.1 API: API stands for Application Programming Interface. The class that is used for developing a new class is called API. This new class again becomes API for other class developers. So, set of.class files is called API. From every.java file we develop two files.class and.html. API is available in the format of bytecodes, means.class file API documentation is available in the format of HTML, means.html file.class files are generated by using javac command from java file..html files are generated by using javadoc command from the same java file. 3.2 Java EE: Java EE provides you an infrastructure to create and maintain Enterprise Systems. Enterprise System is software VOLUME-2, SPECIAL ISSUE-1, MARCH-2015 COPYRIGHT 2015 IJREST, ALL RIGHT RESERVED 310
applications that have cross-organizational capabilities as opposed to department or group-specific programs. Some of the services that Java 3.3 Database Web Application Java Database web application is a part of advanced java. It includes: JDBC(Java Database Connectivity) Servlet JSP(Java server pages) specification of the creation of a dynamic response to a request. 4. FLOWCHART & TABLE 4.1 Flowchart: 3.3.1 JDBC (Java Database Connectivity): Java database connectivity is the industry standard for database independent connectivity between the java programming language and a wide range of databases SQL Databases, and other tabular data sources such as spreadsheets or flat files. The JDBC provides a call level API for SQL based database access 3.3.2 Servlet: Programmer Java servlets are small, platform-independent java programs that can be used to extend the functionality of a web server in a various ways. Servlet is a java technology based web component managed by a container that generates dynamic content. Like other Java-based components, servlets are platform independent Java classes that are compiled to platform neutral bytecode that can be loaded dynamically into and run by a Java enabled web server 3.3.3 JSP: Architecturally, JSP may be viewed as a high-level abstraction of Java servlets. JSP pages are loaded in the server and operated from a structured special installed Java server packet called a Java EE Web Application, often packaged as a.war or.ear file archive. JSP is The JavaServer Pages Technology JSP(Java Server Pages) is the Java Platform, Enterprise Edition(Java EE) technology for buildings applications for generating dynamic web content, such as HTML, DHTML, XHTML and XML. JSP technology enables an easy authoring of web pages that creates dynamic content with maximum power and flexibility. JSP technology provides the means for textual Fig. 4.1: Flowchart of JWDBAM 4.2 Table: Sr. Operation Input required No. 1 Creation Project name, Database performed, no. of column, datatype of columns and HTML variable 2 Retrieval Project name, Database name, column name, column to be retrieve, condition column, condition, condition check with variable 3 Updating Project name, Database VOLUME-2, SPECIAL ISSUE-1, MARCH-2015 COPYRIGHT 2015 IJREST, ALL RIGHT RESERVED 311
name, column to be update, id column name, and their datatype 4 Insertion Project name, Database performed, no. of column, datatype of columns, column name and HTML variable 5 Deletion Project name, Database name, first column in database and HTML label [4] H. M. Deitel, J. Deitel, S. E. Santry, Advanced Java 2Platform How To Program ( 2001 by Prentice-Hall, Inc.). [5] Ivor Horton, Beginning Java 2, JDK 5 Edition (Copyright 2005 by Ivor Horton). [6] James Gosling, Bill Joy, Guy Steele, GiladBracha, The Java Language Specification Third Edition (Copyright 1996-2005 Sun Microsystems, Inc.). [7] Matthew Scarpino (Second Edition author), Hanumant Deshmukh, Jignesh Malavia, Jacquelyn Carter, SCWCD Exam Study Kit Second Edition, ( 2005 by Manning Publications Co. All rights reserved.). 6 Removal Project name, Database performed and HTML label Fig. 4.2: Input required for operation 5. CONCLUSION In these paper operations of JWDBAD is discussed in order to develop application. It is a powerful tool to create dynamic database web application. It is designed by programmer point of view, to generate maximum database web application within a time limit. Using this application we can only able to create database web application. It is unable to create java desktop application. In this application we are perform the creation, deletion, insertion, retrieving, removal and updating. REFERENCES [1] Herbert Schildt, Java The Complete Reference, Seventh Edition (Copyright 2007 by The McGraw- Hill Companies). [2] Marty Hall, Core Servlets and Java Server Pages,(Sun Microsystems Press). [3] Bryan Basham, Kathy Sierra, and Bert Bates, Head First Servlets and JSP Second Edition, (Copyright 2008 O Reilly Media, Inc. All rights reserved.). VOLUME-2, SPECIAL ISSUE-1, MARCH-2015 COPYRIGHT 2015 IJREST, ALL RIGHT RESERVED 312