Академический Документы
Профессиональный Документы
Культура Документы
ACKNOWLEDGEMENT
The satisfaction and happiness that accompanies the successful completion of any task would be incomplete without the Expression of gratitude and appreciation to the people who made it Possible.
We sincerely express our gratitude to our beloved principal K. L. E. Society's Dr. M.S.Sheshgiri College of Engineering and Technology, Dr. S. C. Pilli, for his constant source of encouragement and inspiration throughout our study period.
V.
Department, K. L. E. Society's Dr. M.S.Sheshgiri College of Engineering and Technology, for his inspiration during the metamorphosis of our project.
Sincere thanks to our guide Prof. Mrs. C. B. Charantimath for the constant guidance, support, suggestions and encouragement without which we could not have completed our project.
Lastly, we want to thank all the staff of M. C. A Department for their invaluable cooperation extended to us during the tenure of the project.
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
INDEX
TITLE
1. Abstract 1.1 1.2 1.3 Problem statement Procedure Results
PAGE NO.
2. Introduction 3. Literature Survey 3.1 Introduction 3.1.1 3.1.2 3.1.3 Background Purpose and scope of this document Reference documents
3.2 Existing System 3.2.1 Overview 3.2.2 Need for the project 3.2.3 Objectives of the project 4. Hardware requirements 5. Software requirements Specification 5.1 Functional Requirements 5.2 Non-functional Requirements 5.3 Assumptions 6. System Definition 6.1 System Design(data Flow diagram) 6.2 Software Paradigm Applied 7. Detailed Design(Algorithm) 8. Implementation 9. Testing and Results 10. Conclusion 11. Future Enhancements 12. Bibliography
K. L. E. COLLEGE, BELGAUM DEPT. OF MCA
1. ABSTRACT
1.1 Problem statement
With the advance in time and technology, software based companies are facing heavy workload so with the help of software management system, the workload can be distributed among various clients and hence it can be decreased. The Software Management System can be used by users who are well trained in the environment. The user must have some knowledge of computer network in order to use the system.
1.2 Procedures
First the administrator has to load the software based projects onto the server and also administrator should give date of submission. On client machine the created projects are listed. Projects can be chosen of his/her interest, and then client can download, and register for the project. And in administrator machine, list of clients with registered projects are available. Then after completing the job, client will upload the project.
1.3 Results
In the administrator machine, the list of created projects, assigned projects, uploaded projects by clients are available. And in the client machine, the list of projects, uploaded projects by a particular client are available. When client uploads the project, the project file is tested and compiled (only java compiler is used, here only java projects are compiled). After compiling, client is notified, whether the project is accepted or rejected.
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
2. INTRODUCTION
Software Management is an empirical investigation conducted to provide stakeholders with information about the quality of the product or service under test. Software Management also provides an objective, independent view of the software to allow the business to appreciate and understand the risks at implementation of the software. Test techniques include, but are not limited to, the process of executing a program or application with the intent of finding software bugs. The scope of software Management often includes examination of code as well as execution of that code in various environments and conditions as well as examining the aspects of code: does it do what it is supposed to do and do what it needs to do. In the current culture of software development, a testing organization may be separate from the development team. There are various roles for testing team members. Information derived from software Management may be used to correct the process by which software is developed. We being the software developers are going to maintain the server machine, where all the files which are sent by the administrator get downloaded automatically on the local machines. The developers can request any number of projects as per their capability, from the local server machines (1 or more files at a time). Depending upon the requirements the developers will work on the project, and upload it to the servers where the automatic testing of the software takes place. The software which passes testing process satisfactorily is uploaded back to the servers of first world nations, else rejected and dumped back for redevelopment.
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
3. LITERATURE SURVEY
3.1 Introduction
3.1.1 Overview 3.1.2 Purpose and scope of this document Purpose of the document: The purpose of this project is to upload the files to the clients machine for providing software based jobs for various clients and hence clients will work on the files as per the procedures and upload the files back onto the server. We are elaborating this project for uploading and downloading of any software based jobs which will help lot of software industries in coming years. Scope of the document: The Software Management System can be used by users who are well trained in the environment. The user must have some knowledge of computer network in order to use the system.
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
Working: Jobs like software development are outsourced from first world nations to the third world nations. These jobs are kept ready for developers at server side. The software developer sitting at the client machine requests for the job. After processing the job it is then sent to the Analyst and Code tester for testing. After testing is done the job is sent for report generation and then sent back to server At server machine the completed jobs along with their reports are arranged and sent back to the respective companies. All the above process is carried out manually.
Drawbacks of Existing System: Time consumption Lack of flexibility The current system does take into account the ISO Standards. Hardware requirements and their maintenance are expensive. As the testing is done manually errors are likely to happen. The system is not secured.
Proposed System: The objective of the proposed system is to provide time efficient, user friendly, reliable, error free, maintenance free system. The system covers following modules:
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
1. Server Module 2. Client Module These modules are integrated and linked together to achieve the principle objectives. Server Module: Employee Registration Download Jobs Upload Jobs Remove Records Automatic Testing Backup Client Module: Requests and Registers jobs Upload Jobs
Advantages: Better product quality. As the testing and quality analysis is automated lots of time is reduced. Flexible workload, flexible work hours and flexible location will be available to the employees. Cost-reduction.
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
Preliminary Investigation: Preliminary Investigation was carried out in the initial stages of the project. The basic process of preliminary investigation was carried out under the following stages:
Understanding the present scenario Understanding the needs. Developing a concept for the system.
Objective of the System: The objective of this project is to upload the files to the clients machine for providing jobs for various clients and hence clients will work on the files as per the procedures and upload the files back onto the server. We are elaborating this project for uploading and downloading of any software based jobs which will help lot of software industries in coming years. The objective can be summarized as below: Flexible workload: Developers can choose the amount of work they want, that is consistent with their training, experience, availability and work available. Flexible Hours: Developers can set their own work hours.
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
Our system is intended to work on all Pentium machines, which run Microsoft Windows Operating System. The versions of the same like Windows XP and above which all support Java Runtime Environment.
Hardware Requirements
Pentium Machine RAM of 128 Mb and above Hard Disk with capacity of 20 GB and above. LAN Card.
Software Requirements
Windows XP Professional or above IIS (Internet Information Server) J2EE (Java 2 Enterprise Edition) Microsoft Access Jakarta Apache Tomcat Server Macromedia Dreamweaver
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
5.1 Assumptions
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
6. SYSTEM DEFINITION
6.1 System Design
CONTEXT LEVEL DATA FLOW DIAGRAM OF EXISTING SYSTEM:
Job Details Rejected Job Reques t Developed Job SERVER Job Details Completed Job and Documentation Test Report
DEVELOPER
SYSTEM ADMINISTRATOR
Employee Details
CODE TESTER
NETWORK ADMINISTRATOR
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
Test Details Test Details Test Details Test Results TEST BENCH
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
Use-Case Diagram
Registration
<<Uses>>
Login
Approval Process
<<extends>>
Invalid User
CLIENT
Upload Jobs
Generate Report
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
Activity Diagram
START CREATE USER ENTER PASSWORD NO YES CREATE PROJECT PROJECT REMINDER
REQUEST FOR PROJECT
FAILURE REPORT
APPROVAL REPORT
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
The Waterfall model, sometimes called the classic life cycle, suggests a systematic, sequential approach to software development that begins with deciding what is to be done (What is the problem). Once the requirements have been determined, we next must decide how to accomplish them. This followed by a step in which we do it, whatever it has required us to do. We then must test the result to see if we have satisfied the users requirements. Finally, we use what we have done.
The different phases in waterfall model are 1. Requirements analysis & definition 2. System & software design 3. Implementation & unit testing 4. Integration & system testing 5. Operation & maintenance
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
Waterfall Model
Communication: Project initiation Requirements gathering Planning: Estimating Scheduling Tracking Modelling: Analysis Design Construction: Code Test Deployment: Delivery Support Feedback
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
7. DETAILED DESIGN
Address1
Address2
E-mail
Addres Lname
Essn
Etype
Mname Name
EMPLOYEE
Fname
M
Administrator
N 1 1
Administration
WORKS ON
WORKS_FOR
MANAGES
Mgrstdate
SYS_ADMIN
N
1 N
TOU
HANDLES
PROJECT
DOU
DEPARTMENT
Dno Pcode TOD Pname
DOD
Dname Platform
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
Data Dictionary:
TABLE NAME: Employee Table PURPOSE: To maintain employee details
PRIMARY KEY: Essn FOREIGN: Field Name Essn Fname Mname Lname Address1 Address2 City State Zipcode Mobile uname pass Etype Foreign Key Foreign Key Not Null uname,pass Description Primary Key Not Null Type Varchar Varchar Varchar Varchar Varchar Varchar Varchar Varchar Int Int Varchar Varchar Varchar Length 15 15 15 9 25 25 15 15 Int Int 15 15 10 Not Null Not Null Not Null Null Not Null Not Null
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
PRIMARY KEY: Pcode Field Name Pcode Pname Platform Description DOS ProjectSRS Category Not Null Description Primary Key Not Null Not Null Data Type Varchar Varchar Varchar Text Date Time Text Not Null Length 10 20 15 Null Not Null Not Null
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
TABLE NAME: System Table PURPOSE: To manage employees user name, password and type
Length
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
TABLE NAME: Testbench Table: PURPOSE: Field Name testid Categoryid test_file parameters result To maintain tested and completed job files Description Not Null Not Null Not Null Not Null Not Null Data Type Number Number Text Text Text Length Null Not Null Not Null Not Null Not Null Not Null
TABLE NAME: Upload Table PURPOSE: To maintain uploaded files FOREIGN KEY: Field Name Essn Pcode Pname DOU TOU Essn, Pcode Data Type Text Text Text Date Time Length Null Not Null Not Null
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
Length
TABLE NAME: Download Table PURPOSE: To maintain downloaded files PRIMARY KEY: Pcode
Length 10 20 15
Not Null
Date Text
Not Null
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
7. IMPLEMENTATION
Employee Registration: <%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Software Management in Distributed Architectue</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="description" content="Place your description here" /> <meta name="keywords" content="put, your, keyword, here" /> <meta name="author" content="Templates.com - website templates provider" /> <link href="style.css" rel="stylesheet" type="text/css" /> <link href="layout.css" rel="stylesheet" type="text/css" /> <style type="text/css"> .box{margin-bottom:20px;clear:both;} .box h2{margin-bottom:10px;} <!-.style1 { font-family: Arial, Helvetica, sans-serif; font-size: xx-large; color: #CCCCCC; } .style2 {font-size: x-large} --> </style> HTML 4.01 Transitional//EN"
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
</head> <script language="javascript"> function validate(frm) { if(frm.essn.value=="") { alert('Enter Employee SSN'); return false; } if(frm.fname.value=="") { alert('Enter Name'); return false; } if(frm.address1.value=="") { alert('Enter Address1'); return false; }
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
if(frm.mobile.value=="") { alert('Enter Mobile No'); return false; } if(isNaN(frm.mobile.value) == true) { alert("Enter only number for Mobile Number"); frm.mobile.focus(); return false; } if(frm.email.value=="") { alert('Enter Email'); return false; } if(frm.gender.value==-1) { alert('Select Gender'); return false; } if(frm.etype.value==-1) {
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
alert('Select User Type'); return false; } if(frm.uname.value=="") { alert('Enter Username'); return false; } if(frm.pass.value=="") { alert('Enter Password'); return false; } } </script> <% if(request.getMethod().equals("POST")) { String fname,address1,city,state,email,etype,uid,pass; String eid,mobileno,gender,dob; boolean flag=false; eid=request.getParameter("essn"); fname=request.getParameter("fname"); address1=request.getParameter("address1"); city=request.getParameter("city"); state=request.getParameter("state"); mobileno=request.getParameter("mobile");
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
email=request.getParameter("email"); gender=request.getParameter("gender"); etype=request.getParameter("etype"); uid=request.getParameter("uname"); pass=request.getParameter("pass"); try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); java.sql.Connection con=DriverManager.getConnection("jdbc:odbc:swtest"); java.sql.Statement st=con.createStatement(); java.sql.ResultSet rs=st.executeQuery("Select * from employee where essn='"+eid+"' and uname='"+uid+"'"); while(rs.next()) { flag=true; break; } if(flag) { out.println("<script Employee SSN already exists')</script>"); } else { st.executeUpdate("insert into Employee(essn,fname,address1,city,state,mobile,email,gender,etype,uname,pass) values('"+eid+"','"+fname+"','"+address1+"','"+city+"','"+state+"','"+mobileno+"','"+email+"','"+g ender+"','"+etype+"','"+uid+"','"+pass +"')"); language='javascript'>alert('Username or
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
<body id="page1"> <div class="tail-top-right"></div> <div id="main"> <!-- header --> <div id="header"> <ul class="site-nav"> </ul> <div class="logo style1"> <p> </p> <p class="style2">Software Management In Distributed Architecture</p> </div> </div> <!-- content --> <div id="content"> <div class="wrapper"> <div class="col-1"> <!-- First box -->
K. L. E. COLLEGE, BELGAUM DEPT. OF MCA
<div class="box"> <div class="border-top"> <div class="border-right"> <div class="border-bot"> <div class="border-left"> <div class="inner"> <h2>Main Menu</h2> <ul class="list">
</ul> </div> </div> </div> </div> </div> </div> <div class="box"> <div class="border-top"> <div class="border-right"> <div class="border-bot"> <div class="border-left"> <div class="inner"> <h2>Category Section</h2>
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
<ul class="list">
<% String eid="",fname="", ladr="",city="", state="", mobile="", email=""; try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); java.sql.Connection con=DriverManager.getConnection("jdbc:odbc:swtest"); java.sql.Statement st=con.createStatement(); java.sql.ResultSet from category"); while(rs.next()) { rs=st.executeQuery("Select *
eid=rs.getString("categoryId"); fname=rs.getString("categoryName");
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
</div> </div> </div> </div> </div> </div> <div class="banner"></div> </div> <div class="col-2"> <div class="indent"> <div class="title"></div> <p class="p1"> </p> </div> <div class="box"> <div class="border-top"> <div class="border-right"> <div class="border-bot"> <div class="border-left"> <div class="inner"> Employee Registration <ul class="list1"> <li> <form action="" method="post" name="frm" id="frm" onSubmit="return validate(frm)"> <table cellspacing="0"> <tr> width="52%" border="0" align="center" cellpadding="0"
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
<td width="46%"><div align="right">Employee Id</div></td> <td width="5%"><div align="center"><strong>:</strong></div></td> <td width="49%"><input name="essn" type="text" id="essn"> *</td> </tr> <tr> <td><div align="right">Employee Type</div></td> <td><div align="center"><strong>:</strong></div></td> <td><select name="etype" id="etype"> <option value="-1">Select Type</option> <option value="emp">Client</option> <option value="admin">Administrator</option> </select></td> </tr> <tr> <td><div align="right">Name</div></td> <td><div align="center"><strong>:</strong></div></td> <td><input name="fname" type="text" id="fname"> *</td> </tr> <tr> <td><div align="right">Local Address</div></td> <td><div align="center"><strong>:</strong></div></td> <td><textarea name="address1" id="address1"></textarea></td> </tr> <tr> <td><div align="right">City</div></td>
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
<td><div align="center"><strong>:</strong></div></td> <td><input name="city" type="text" id="city"> *</td> </tr> <tr> <td><div align="right">State</div></td> <td><div align="center"><strong>:</strong></div></td> <td><input name="state" type="text" id="state"> *</td> </tr> <tr> <td><div align="right">Mobile Number </div></td> <td><div align="center"><strong>:</strong></div></td> <td><input name="mobile" type="text" id="mobile"> *</td> </tr> <tr> <td><div align="right">Emai Id</div></td> <td><div align="center"><strong>:</strong></div></td> <td><input name="email" type="text" id="email"> *</td> </tr> <tr> <td><div align="right">Gender</div></td> <td><div align="center">:</div></td> <td><select name="gender" id="gender"> <option value="-1">Select Gender</option>
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
<option value="M">Male</option> <option value="F">Female</option> </select></td> </tr> <tr> <td><div align="right">User Id</div></td> <td><div align="center"><strong>:</strong></div></td> <td><input name="uname" type="text" id="uname"> *</td> </tr> <tr> <td><div align="right">Password</div></td> <td><div align="center"><strong>:</strong></div></td> <td><input name="pass" type="password" id="pass"> *</td> </tr> <tr> <td><div align="right"></div></td> <td> </td> <td> </td> </tr> <tr> <td><div align="right"></div></td> <td> </td> <td><input type="submit" name="Submit" value="Register"></td> </tr> </table>
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
</form> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div id="footer"> <div class="indent"> <div class="fleft"></div> <div class="fright"></div> </div> </div> </div> </body> </html> Creating projects: <%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*, javazoom.upload.*,java.util.*" errorPage="ExceptionHandler.jsp" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD "http://www.w3.org/TR/html4/loose.dtd"> <html> <jsp:useBean id="upBean" scope="page" class="javazoom.upload.UploadBean" > HTML 4.01 Transitional//EN"
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
<jsp:setProperty name="upBean" value="C:/tomcat/webapps/examples/softwaretest1/projects" /> </jsp:useBean> <head> <title>Software Management in Distributed Architectue</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="description" content="Place your description here" /> <meta name="keywords" content="put, your, keyword, here" />
property="folderstore"
<meta name="author" content="Templates.com - website templates provider" /> <link href="style.css" rel="stylesheet" type="text/css" /> <link href="layout.css" rel="stylesheet" type="text/css" /> <style type="text/css"> </style> </head> <script language="javascript"> function validate(frm){ if(frm.txtProjectCode.value==""){ alert('Enter Project Code'); frm.txtProjectCode.focus(); return false; } if(frm.txtProjectName.value==""){ alert('Enter Project Name'); frm.txtProjectName.focus(); return false; } if(frm.txtPlatform.value==""){ alert('Enter Platform');
K. L. E. COLLEGE, BELGAUM DEPT. OF MCA
frm.txtPlatform.focus(); return false; } } </script> <body id="page1"> <% if (MultipartFormDataRequest.isMultipartFormData(request)) { String ProjectCode,ProjectName,Platform,Category,Description,DOS,ProjectSRS; String dd,mm,yy; MultipartFormDataRequest mrequest = new MultipartFormDataRequest(request); String todo = null; if (mrequest != null) todo = mrequest.getParameter("todo"); if ( (todo != null) && (todo.equalsIgnoreCase("upload")) ){ Hashtable files = mrequest.getFiles(); if ( (files != null) && (!files.isEmpty()) ){ UploadFile file = (UploadFile) files.get("uploadfile"); upBean.store(mrequest, "uploadfile"); ProjectCode=mrequest.getParameter("txtProjectCode"); ProjectName=mrequest.getParameter("txtProjectName"); Platform=mrequest.getParameter("txtPlatform"); Category=mrequest.getParameter("cboCategory"); Description=mrequest.getParameter("txtDescription"); dd=mrequest.getParameter("dd"); mm=mrequest.getParameter("mm"); yy=mrequest.getParameter("yy"); DOS=mm+"/"+dd+"/"+yy;
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
ProjectSRS=file.getFileName(); try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); java.sql.Connection con=DriverManager.getConnection("jdbc:odbc:swtest"); java.sql.Statement st=con.createStatement(); st.executeUpdate("insert into Projects (ProjectCode,ProjectName,Platform,Category,Description,DOS,ProjectSRS)values ('"+ProjectCode+"','"+ProjectName+"','"+Platform+"','"+Category+"','"+Description+"','"+DOS+ "','"+ProjectSRS+"')"); out.println("<script language='javascript'>alert('Project Added Successfully')</script>"); } catch(Exception e){ out.println(e); } } else{ out.println("<li>No uploaded files"); } } else out.println("<BR> todo="+todo); } %> <div class="tail-top-right"></div> <div id="main"> <div id="header"> <ul class="site-nav"> </ul> <div class="logo style1">
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
<p> </p> <p class="style2">Software Management In Distributed Architecture</p> </div> </div> <div id="content"> <div class="wrapper"> <div class="col-1"> <div class="box"> <div class="border-top"> <div class="border-right"> <div class="border-bot"> <div class="border-left"> <div class="inner"> <div class="title">Welcome: </div> <ul class="list"> <li><span><a href="admin_dashboard.jsp">Home</a></span></li> <li><span><a href="employee.jsp">Add Users </a></span></li> <li><span><a href="viewEmp.jsp">Edit Users </a></span></li> <li><span><a href="projectRegistration.jsp">Create Projects </a></span></li> <li><span><a href="viewProject1.jsp">Edit Projects </a></span></li> <li><span><a href="viewAssignedProjects.jsp">Assigned Projects </a></span></li> <li><span><a href="UploadedProjects.jsp">Uploaded Projects</a></span></li> <li><span><a href="testbench.jsp">Add Test Bench </a></span></li> <li><span><a href="viewTestbench.jsp">Edit Test Bench </a></span></li> <li><span><a href="category.jsp">Add Category </a></span></li> <li><span><a href="viewCategory.jsp">Edit Category </a></span></li> <li><span><a href="changePassword.jsp">Change Credentials </a></span></li>
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
<li class="last"><span><a href="logout.jsp">Logout</a></span></li> </ul> </div> </div> </div> </div> </div> </div> <div class="banner"></div> </div> <div class="col-2"> <div class="indent"> <p class="p1"> </p> </div> <div class="box"> <div class="border-top"> <div class="border-right"> <div class="border-bot"> <div class="border-left"> <div class="inner"> <form action="" method="post" onSubmit="return validate(frm)"> enctype="multipart/form-data" name="frm" id="frm"
<table width="81%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="37%"><div align="right">Project Code </div></td> <td width="7%"><div align="center"><strong>:</strong></div></td> <td width="56%"><input name="txtProjectCode" type="text" id="txtProjectCode"></td> </tr>
K. L. E. COLLEGE, BELGAUM DEPT. OF MCA
<tr> <td><div align="right">Project Name </div></td> <td><div align="center"><strong>:</strong></div></td> <td><input name="txtProjectName" type="text" id="txtProjectName"></td> </tr> <tr> <td><div align="right">Platform</div></td> <td><div align="center"><strong>:</strong></div></td> <td><input name="txtPlatform" type="text" id="txtPlatform"></td> </tr> <tr> <td><div align="right">Category</div></td> <td><div align="center"><strong>:</strong></div></td> <td><select name="cboCategory" id="cboCategory"> <option value="-1">Select Category</option> <% try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); java.sql.Connection con=DriverManager.getConnection("jdbc:odbc:swtest"); java.sql.Statement st=con.createStatement(); java.sql.ResultSet rs=st.executeQuery("Select * from category"); while(rs.next()){ %> <option value="<%=rs.getString("categoryId")%>"><%=rs.getString("categoryName")%></option> <% } }
K. L. E. COLLEGE, BELGAUM DEPT. OF MCA
catch(Exception e){ out.println(e); } %> </select></td> </tr> <tr> <td><div align="right">Description </div></td> <td><div align="center"><strong>:</strong></div></td> <td><textarea name="txtDescription" id="txtDescription"></textarea></td> </tr> <tr> <td><div align="right">Date of Upload </div></td> <td><div align="center"><strong>:</strong></div></td> <td><select name="dd" id="dd"> <option value="-1">Day</option> <option value="01">1</option> <option value="02">2</option> <option value="03">3</option> <option value="04">4</option> <option value="05">5</option> <option value="06">6</option> <option value="07">7</option> <option value="08">8</option> <option value="09">9</option> <option value="10">10</option> <option value="11">11</option>
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
<option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> <select name="mm" id="mm"> <option value="-1">Month</option> <option value="01">Jan</option> <option value="02">Feb</option> <option value="03">Mar</option> <option value="04">Apr</option>
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
<option value="05">May</option> <option value="06">Jun</option> <option value="07">Jul</option> <option value="08">Aug</option> <option value="09">Sep</option> <option value="10">Oct</option> <option value="11">Nov</option> <option value="12">Dec</option> </select> <select name="yy" id="yy"> <option value="-1">Year</option> <option value="2010">2010</option> <option value="2011">2011</option> <option value="2012">2012</option> <option value="2013">2013</option> <option value="2014">2014</option> <option value="2015">2015</option> </select></td> </tr> <tr> <td><div align="right">Project SRS </div></td> <td><div align="center"><strong>:</strong></div></td> <td><input type="file" name="uploadfile" size="50"></td> </tr> <tr> <td><div align="right"></div></td> <td><div align="center"></div></td>
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
<td><input type="hidden" name="todo" value="upload"> <input type="submit" name="Submit" value="Upload"> <input type="reset" name="Reset" value="Cancel"></td> </tr> </table> </form> <p> </p> <p> </p> <p> </p> <p> </p> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div id="footer"> <div class="indent"> <div class="fright"></div> </div> </div> </div> </body> </html>
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
Download and Register projects: <%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*,java.util.*" errorPage="" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Home - Home Page | Computers - Free Website Template from Templates.com</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="description" content="Place your description here" /> <meta name="keywords" content="put, your, keyword, here" /> <meta name="author" content="Templates.com - website templates provider" /> <link href="style.css" rel="stylesheet" type="text/css" /> <link href="layout.css" rel="stylesheet" type="text/css" /> <style type="text/css"> </style> <% String projectcode=request.getParameter("ProjectCode"); String projectname=request.getParameter("ProjectName"); String platform=request.getParameter("Platform"); String category=request.getParameter("Category"); String description=request.getParameter("Description"); String dos=request.getParameter("DOS");
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
<div id="main"> <div id="header"> <ul class="site-nav"> </ul> <div class="logo style1"> <p> </p> <p class="style2">Software Management In Distributed Architecture</p> </div> </div> <div id="content"> <div class="wrapper"> <div class="col-1"> <div class="box"> <div class="border-top"> <div class="border-right"> <div class="border-bot"> <div class="border-left"> <div class="inner"> <div class="title">Welcome: </div> <ul class="list"> <li><span><a href="client_dashboard.jsp">Home</a></span></li> <li><span><a href="DownloadProject.jsp">Download Project </a></span></li> <li><span><a href="viewDownloadwdProjects.jsp">View Projects </a></span></li> <li><span><a href="SimpleUpload.jsp">Uploaded Project</a></span></li> <li><span><a href="viewUploadedProjects.jsp">Upload Report</a></span></li> <li><span><a href="#">View Profile </a></span></li> <li><span><a href="logout.jsp">Logout</a></span></li>
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
<li></li> </ul> </div> </div> </div> </div> </div> </div> <div class="banner"></div> </div> <div class="col-2"> <div class="indent"> <p class="p1"> </p> </div> <div class="box"> <div class="border-top"> <div class="border-right"> <div class="border-bot"> <div class="border-left"> <div class="inner"> <form action="" method="post" name="form1" id="form1"> <table width="37%" border="1" align="center" cellpadding="0" cellspacing="0"> <tr bgcolor="#FFCCFF"> <td colspan="3"><div align="center">PROJECT DETAILS </div></td> </tr> <tr> <td colspan="3"> </td>
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
</tr> <tr> <td width="37%"><div align="right">Project Code </div></td> <td width="7%"><div align="center"><strong>:</strong></div></td> <td width="56%"><%=projectcode%></td> </tr> <tr> <td><div align="right">Project Name </div></td> <td><div align="center"><strong>:</strong></div></td> <td><%=projectname%></td> </tr> <tr> <td><div align="right">Platform</div></td> <td><div align="center"><strong>:</strong></div></td> <td><%=platform%></td> </tr> <tr> <td><div align="right">Category</div></td> <td><div align="center"><strong>:</strong></div></td> <td><%=category%></td> </tr> <tr> <td><div align="right">Description </div></td> <td><div align="center"><strong>:</strong></div></td> <td><%=description%></td> </tr> <tr>
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
<td><div align="right">Date of Upload </div></td> <td><div align="center"><strong>:</strong></div></td> <td><%=dos%> </td> </tr> <tr> <td><div align="right">Project SRS </div></td> <td><div align="center"><strong>:</strong></div></td> <td><a href="projects/<%=request.getParameter("ProjectSRS")%>">Download</a></td> </tr> <tr> <td><div align="right"></div></td> <td><div align="center"></div></td> <td> </td> </tr> <tr> <td colspan="3"><div align="center"> <input type="submit" name="Submit" value="Confirm Registration" /> </div></td> </tr> </table> </form> </div> </div> </div> </div> </div> </div>
K. L. E. COLLEGE, BELGAUM DEPT. OF MCA
</div> </div> </div> <div id="footer"> <div class="indent"> </div> </div> </body> </html> <% if(request.getMethod().equals("POST")){ String uname=(String)session.getAttribute("uname"); Calendar cal=Calendar.getInstance(); int dd=cal.get(Calendar.DATE); int mm=cal.get(Calendar.MONTH)+1; int yy=cal.get(Calendar.YEAR); String dod=mm+"/"+dd+"/"+yy; try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); java.sql.Connection con=DriverManager.getConnection("jdbc:odbc:swtest"); java.sql.Statement st=con.createStatement(); st.executeUpdate("insert into downloads(projectcode,uname,projectname,platform,description,dod,dos,category) values ('"+projectcode+"','"+uname+"','"+projectname+"','"+platform+"','"+description+"','"+dod+"','"+d os+"','"+category+"')"); st.executeUpdate("delete from Projects where ProjectCode='"+projectcode+"'"); out.println("<script Successfully')</script>"); } language='javascript'>alert('Project Registered </div>
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
Upload project: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <html> <%@ page language="java" import="javazoom.upload.*,java.util.*,java.sql.*,java.io.*" %> <%@ page errorPage="ExceptionHandler.jsp" %> <jsp:useBean id="upBean" scope="page" class="javazoom.upload.UploadBean" > <jsp:setProperty name="upBean" value="C:/tomcat/webapps/examples/softwaretest1/uploadfile" /> </jsp:useBean> <head> <title>Home - Home Page | Computers - Free Website Template from Templates.com</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="description" content="Place your description here" /> <meta name="keywords" content="put, your, keyword, here" /> <meta name="author" content="Templates.com - website templates provider" /> <link href="style.css" rel="stylesheet" type="text/css" /> <link href="layout.css" rel="stylesheet" type="text/css" /> </head> <body id="page1"> <div class="tail-top-right"></div> property="folderstore"
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
<div id="main"> <div id="header"> <div class="logo style1"> <p> </p> <p class="style2">Software Management In Distributed Architecture</p> </div> </div> <div id="content"> <div class="wrapper"> <div class="col-1"> <div class="box"> <div class="border-top"> <div class="border-right"> <div class="border-bot"> <div class="border-left"> <div class="inner"> <div class="title">Welcome: </div> <ul class="list"> <li><span><a href="client_dashboard.jsp">Home</a></span></li> <li><span><a href="DownloadProject.jsp">Download Project </a></span></li> <li><span><a href="viewDownloadwdProjects.jsp">View Projects </a></span></li> <li><span><a href="SimpleUpload.jsp">Upload Project</a></span></li> <li><span><a href="viewUploadedProjects.jsp">Uploaded Projects</a></span></li> <li><span><a href="viewProfile.jsp">View Profile </a></span></li> <li><span><a href="logout.jsp">Logout</a></span></li> <li></li> </ul>
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
</div> </div> </div> </div> </div> </div> <div class="banner"></div> </div> <div class="col-2"> <div class="indent"> <div class="title style3"></div> <p class="p1"> </p> </div> <div class="box"> <div class="border-top"> <div class="border-right"> <div class="border-bot"> <div class="border-left"> <div class="inner"> <div class="title"> <form method="post" action="" name="upform" enctype="multipart/form-data"> <table width="40%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="33%">Category </td> <td width="9%"> </td> <td width="58%"><select name="cid" id="cid"> <option value="-1">Select Category</option>
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
<% try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); java.sql.Connection con=java.sql.DriverManager.getConnection("jdbc:odbc:swtest"); java.sql.Statement st=con.createStatement(); java.sql.ResultSet rs=st.executeQuery("Select * from category"); while(rs.next()){ %> <option value="<%=rs.getString("categoryId")%>"><%=rs.getString("categoryName")%></option> <% } } catch(Exception e){ out.println(e); } %> </select> </td> </tr> <tr> <td>Project</td> <td> </td> <td><select name="pno" id="pno"> <option value="-1">Select Project</option> <% try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
K. L. E. COLLEGE, BELGAUM DEPT. OF MCA
java.sql.Connection con=java.sql.DriverManager.getConnection("jdbc:odbc:swtest"); java.sql.Statement st=con.createStatement(); java.sql.ResultSet rs=st.executeQuery("Select * from downloads where uname='"+session.getAttribute("uname")+"'"); while(rs.next()){ %> <option value="<%=rs.getString("projectcode")%>"><%=rs.getString("projectname")%></option> <% } } catch(Exception e){ out.println(e); } %> </select></td> </tr> <tr> <td>Select File </td> <td> </td> <td><input type="file" name="uploadfile" size="50" /></td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr> <tr>
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
<td> </td> <td> </td> <td><input type="hidden" name="todo" value="upload" /> <input type="submit" name="Submit" value="Upload" /> <input type="reset" name="Reset" value="Cancel" /></td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr> <tr> <td colspan="3"><% if (MultipartFormDataRequest.isMultipartFormData(request)) { // Uses MultipartFormDataRequest to parse the HTTP request. MultipartFormDataRequest mrequest = new MultipartFormDataRequest(request); String todo = null; if (mrequest != null) todo = mrequest.getParameter("todo"); if ( (todo != null) && (todo.equalsIgnoreCase("upload")) ){ String pname="",eno="",tup="",dup="",loc="", ftext="",pnm="",platform="",description=""; String cid="",pno=""; String fname=""; boolean exist=false; Hashtable files = mrequest.getFiles(); if ( (files != null) && (!files.isEmpty()) ){ UploadFile file = (UploadFile) files.get("uploadfile"); upBean.store(mrequest, "uploadfile");
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
pname=file.getFileName(); } else { out.println("<li>No uploaded files"); } Calendar cal=Calendar.getInstance(); int dd=cal.get(Calendar.DATE); int mm=cal.get(Calendar.MONTH)+1; int yy=cal.get(Calendar.YEAR); dup=mm+"/"+dd+"/"+yy; cid=mrequest.getParameter("cid"); pno=mrequest.getParameter("pno"); fname=pname; File f1=new File("C:\\tomcat\\webapps\\examples\\softwaretest1\\uploadfile\\comp.bat"); FileWriter fr=new FileWriter(f1); fr.write("javac C:\\tomcat\\webapps\\examples\\softwaretest1\\uploadfile\\"+pname+"\n"); fr.write("\n\n\n"); fr.write("Exit"); fr.close(); try{ Runtime r=Runtime.getRuntime(); Process P; P=r.exec("C:\\tomcat\\webapps\\examples\\softwaretest1\\uploadfile\\comp.bat"); try { String clsname = pname.substring(0,pname.length()-4); String dataq=clsname; out.println(dataq);
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
String[] res = dataq.split("\\."); FileInputStream fin = new FileInputStream("C:\\tomcat\\webapps\\examples\\softwaretest1\\uploadfile\\test.class"); fin.close(); exist = true; out.println("<h4>Compile Test Passed<h4><br>"); out.println("Black box testing Passed<br>"); } catch(IOException e){ exist = false; //out.println(e); out.println("Compile Test Failed"); out.println("Black box testing Failed<br>"); } if(exist){ String input_file="", parameter="", result=""; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); java.sql.Connection con = java.sql.DriverManager.getConnection("jdbc:odbc:swtest"); java.sql.Statement stmt = con.createStatement(); System.out.println(cid); java.sql.ResultSet rs = stmt.executeQuery("select * from testbench where categoryid='"+ cid+"'"); while(rs.next()){ input_file = rs.getString("testfile"); parameter = rs.getString("parameter"); result = rs.getString("result"); }
String clsname1 = pname.substring(0,pname.length()-5); FileWriter fr1=new FileWriter(f1); fr1.write("java "+clsname1+" "+input_file+" "+parameter); fr1.close();
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
Runtime r1=Runtime.getRuntime(); Process P1; P1=r1.exec("C:\\tomcat\\webapps\\examples\\softwaretest1\\uploadfile\\comp.bat"); FileReader fread = new FileReader("C:\\tomcat\\webapps\\examples\\softwaretest1\\uploadfile\\output.txt"); BufferedReader br = new BufferedReader(fread); char[] buff = new char[100096]; int nch; while ((nch = br.read(buff, 0, buff.length)) != -1) { ftext = new String(buff, 0, nch); } fread.close(); if(ftext.equals(result)){ out.println("Operational test Passed<br>"); exist = true; } else{ exist = false; File f2 = new File(pname); f2.delete(); out.println("Operational Test Failed<br>");
} if(exist){ String up_date=""; rs=stmt.executeQuery("Select * from downloads where projectcode='"+ pno+"'"); while(rs.next()){ eno=rs.getString("uname"); pnm=rs.getString("projectname"); platform=rs.getString("platform");
K. L. E. COLLEGE, BELGAUM DEPT. OF MCA
description=rs.getString("description"); up_date = rs.getString("dos"); } Calendar calendar1 = Calendar.getInstance(); Calendar calendar2 = Calendar.getInstance(); int umm=Integer.parseInt(up_date.substring(0,2)); int udd=Integer.parseInt(up_date.substring(3,5)); int uyy=Integer.parseInt(up_date.substring(6,10)); calendar2.set(uyy, umm, udd); calendar1.set(yy, mm, dd); long milliseconds1 = calendar1.getTimeInMillis(); long milliseconds2 = calendar2.getTimeInMillis(); long diff = milliseconds2 - milliseconds1; long diffDays = diff / (24 * 60 * 60 * 1000); if(diffDays>=0){ stmt.executeUpdate("insert into uploads(uname,projectcode,projectname,DOU,TOU,platform,description) values ('"+eno+"',"+pno+",'"+pnm+"','"+dup+"','"+tup+"','"+platform+"','"+description+"')"); stmt.executeUpdate("delete from downloads where projectcode='"+ pno+"'"); out.println("Regression Testing Passed<br>"); out.println("Project Accepted<br>"); } else{ out.println("Regression Testing Failed<br>"); out.println("You are trying to submit project after Due Date, Hence it is rejected<br>"); } con.close(); }
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
} } catch(Exception e){ out.println(e); } } else out.println("<BR> todo="+todo); } %></td> </tr> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div id="footer"> <div class="indent"> </div> </div> </body> </html> </div>
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
The Testing Cases used in this project are as follows: 1. Unit Testing: Individual components are tested to ensure that they operate correctly. Each component is tested independently without other system components. 2. Module Testing:
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
Module is collection of independent components such as an object class, an abstract data type or some loser collection of procedures and functions. A module encapsulates related components so can be tested without other modules. 3. Sub System Testing: This phase involves testing collection of modules, which have been integrated into subsystems. Subsystems may be independently designed and implemented. The most common problems, which arise in the large software systems, are subsystems interface mismatches. The subsystem test process should therefore concentrate on the detection of interface errors by rigorously exercising these interfaces. 4. System Testing: The subsystems are integrated to makeup the entire system. The testing process is concerned with finding errors, which result from unanticipated interactions between subsystems and system components. It is also concerned with validating that the system is functional or non-functional requirements. 5. Black Box Testing: This is a technique that assumes no knowledge of the internals of software program. It focuses the attention of a tester on providing a certain input and getting the desired output. If the desired output is not got then an error is reported and the system should be able to return back to its earliest status. While this test is being conducted the tester is not expected to determine how many lines of code were executed to achieve, were all loops executed etc. 6. White Box Testing: This is done with intention of determining whether or not all parts of a program code are executed. Test cases are designed. Test cases are designed to execute all paths of a loop, all branches in a decision, which, ultimately leads to 100% execution of statements in a program.
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
Results:
Home page:
Employee Registration:
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
Login page:
Administrator page:
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
Creating projects:
Viewing projects:
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
Client page:
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
Upload project:
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
Uploaded project:
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
10. CONCLUSION
The Software Management System can be used by users who are well trained in the environment. The user must have some knowledge of computer network in order to use the system. Using software management system for the above mentioned applications, it helps many software industries to break the work load and complete the work quickly and it also provides flexible work hours for clients.
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
2. There are always chances of improving or enhancement of this project by adding more
features or also by modifying the existing features.
3. The same software can be rebuilt using various web developing tools and languages for
better efficiency and reliability.
Limitations:
1. As the physical distance between client and server is large, network related problems
have not been taken care.
2. As this software does not take care of accountability of employees the organization have
to maintain it manually.
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA
12. BIBLIOGRAPHY
S.No
Author
1)
2)
Herbert Schildt
3)
4)
Oracle Handbook
SSI Press
5)
Elias M. Awad
6)
Software Engineering
Ian Somerville
Websites:
1) For Information www.google.com 2) For Information www.supersitebpo.com 3) For Pictures www.ritescribe.com
K. L. E. COLLEGE, BELGAUM
DEPT. OF MCA