Beruflich Dokumente
Kultur Dokumente
Acknowledgement
At the very offset I offer my sincere thanks to Almighty God for the grace and blessings that made me to complete the project in a successful manner. As I submit the project report it gives me great pleasure to acknowledge my gratitude to various persons who were instrumental in the completion of this project. I offer my humble gratitude to Rev.Dr.Antonyraj SDB, principal, Sacred Heart College Tirupattur for permitting me to have my project work. I place a record of my deep gratitude to Rev.Fr.Xavier Packiam,SDB, Additional Principal,Sacred Heart College for providing all technical guidance in the field. I place a record of my deep gratitude to Rev.Fr.Thadddeus,SDB, Director, BITS Elagiri Hills for sharing his expertise in the field of programming. I am indebted to Mr. Maria Dominic, Head, Department of Compute Science. Sacred Heart College for his valuable guidance. I wish to convey my deep sense of gratitude to the project co-ordinater Mr. Rajiv Gandhi for his consent work and consistent support during the course of the project. I wish to convey my deep sense of gratitude to my project Guide Mr.R.Raji for her consent work and consistent support during the course of the project. I thank the rest of the teaching and non teaching staff members for their support in project. I wish to convey my deep gratitude to my parents and sister who gave me full support to complete this project. I express my sincere thanks to all my friends for giving me technical as well as non-technical guidance to complete the project successfully. C.VijayAmirtharaj
TABLE OF CONTENTS S. No 1 Contents Introduction 1.1 Abstract 1.2 Organization Profile 1.3 Project Overview System Analysis 2.1 Feasibility Study 2.2 Existing System 2.3 Proposed System System Requirement Specification 3.1 User Requirement Specification 3.2 Use Case 3.3 Software Requirement Specification 3.4 Hardware/ Software Requirement Specification System Design 4.1 Architecture Diagram 4.2 Class Diagram 4.3 Database Diagram 4.4 Component Diagram 4.5 Deployment Diagram System Implementation Software Testing 6.1 Software Testing 6.2 Test Case Design Future Scope & Conclusion 7.1 Future Scope 7.2 Conclusion Screenshots Sample Source Code Bibliography Page No 4 4 4 6 7 7 8 8 10 10 11 14 17 18 18 19 20 28 29 30 32 32 35 40 40 40 41 53 62
5 6
8 9 10
1 Introduction
1.1 Abstract
Oren Chemical Trade allows the Admin and the client to gather the specific information needed at the right time.
The main objective of this project is to give complete solution for this type of chemical trade process.
Trade process to move smoothly as it reduces manual processing and builds up an Admin-client relationship.
Our Mission
HORIZONE TECHNOLOGIES offers people an environment where realization of career ambitions is as much of a goal as all around personality development and learning to have fun We provide you with a perspective on both the Indian and overseas markets and prepare you to participate in the emerging international e-economy We are a company thats sensitive to your professional and personal needs, with people and employee-friendly policies that make for an inspiring work culture HORIZONE TECHNOLOGIES's lively and young at heart outlook has ensured that we remain on the career radar of Generation Next-the powerhouse for growth.
Services
We are the only provider of EXCELLENCE SERVICES to the GLOBE. Our Services are... SOFTWARE DEVOLOPMENT WEB DESIGNING INDEPENDENT TESTING
1. SOFTWARE DEVELOPEMENT
We design & develop new applications, as well as re-engineer existing applications. Intuitive combination of domain knowledge and technology helps our customers get the best solutions. We work with our clients in all phases of a Software Development Lifecycle.
3. INDEPENDENT TESTING
Horizone's testers span the globe to deliver 24/7 testing services for your software project. Horizone provides cost effective solutions that empower you to release higher quality software in an effective team environment. We at Horizone Technologies providing independent software Testing services to our clients. We provide this by employing the most enriched training standards in the Industry.
About us
Horizone Technologies is a software Development firm based in Chennai, India, providing efficient and high quality software solutions to a diverse client base. We work with our clients in all phases of a software development lifecycle - Gathering Requirements, Analysis & Estimation, Design & Prototyping, Development & Testing, and Deployment & Maintenance.
Contact us
De Horizone Technologies Pvt. Ltd.., No: 1, Baba Towers, Sterling Road, Nungambakkam, Chennai 600 034. Tel : 044 42068083. www.horizonetechnologies.com
2 System Analysis
Economical feasibility
Economic analysis is most frequently used method of evaluating the effectiveness of a candidate system .The basic resources to consider are Management time Time spent by the system analysis team. Cost of doing the full system study Estimated cost of hardware. Estimated cost of software and /or software development.
Performance feasibility
People are inherently resistant to change and computers have been known to facilitate change. An estimate should be made of how strong a reaction the user staff is likely to have towards the development of a computerized system. The system has best performance because This system support for any database.
Information and Control Needs Product Function and Behavior Client Friendly Usage Online updating
The problems, which are perceived by the customers / users in existing systems, are;
Less Efficiency and accuracy due to lot of manual entries More Time Delay for payments. Lack of assurance. Increased expenditure for storage Increase in labor
Replace Manual Processing system with an automated one. Speedup Transactions Reduce the chances of malpractices associated in a manual system. Reduce the workload involved in processing Update information system and provide easy access to corresponding information.
10
11
Client
12
13
Scope
Trade process to move smoothly as it reduces manual processing and builds up an Admin-client relationship.
Technologies to be used
MySql Database Front End Struts,HTML JAVA Application architecture Net-Beans 6.5 - Development tool Glassfish Server
14
Modules
Admin Work Order Testing Production Warehouse Movers Client
Admin
The Admin has a control over all the other departments. Admin is responsible for all the process and procedures throughout the process of production of the chemical and its delivery to the client at the right time. The following departments come under his control. Testing Production Warehousing Cargo Client
Work Order
The role of this department is to forward the details of the chemicals ordered by the client to the Admin once they receive any order. Here Admin can get the client details like Client name, requirement, and quantity and so on. The work order is first send to testing department. First they test the chemicals strength based on the acid and base percentage. If it is available, they check the quantity and quality. The testing department must give the feedback to the admin. If the quantity is less, the admin will inform to the production department.
15
Testing
This department confirms whether the chemical received from the Admin is the chemical ordered by the client. Then it sends the result to the Admin which will be forwarded to the production department for further process. Chemical tests are performed for checking the purity, clarity and behavior of various material combinations.
Production
Maintain the all documents like, Log book, Daily Production Report, Heart Chart (Safety Chart), Skill Matrix, Rework & Rejection Report. Assembly line balancing and supervision. Tooling and equipments tryouts and installation. Establishing the processes at each floor. Responsible for implementing ER-changes and tooling. Implement and maintain the environment for easy working and reduce cost, accident and problems. Responsible for reducing the defects and controlling of D.P.R. To assessment of new joined trainees and to provide them OJT(on Job Training ) Responsible for production targets in time. Responsible for deputation of manpower in line on the respective stages as per skill matrix.
WareHouse
Plan Execute Evaluate Improve
Movers
The role of the movers is to deliver the required chemical to the client at the right time in a proper condition.
16
Client
Client is the one who places order for the chemicals and receives the chemical required. We ensure that each department member follows the set procedures and checks at every stage of project development and implementation.
User Characteristics
Admin - Administration module they maintain application master details Employee Develop the product quality, Manage the technical and customer Client Communicate with employee.(Product details, buying, feedback) support.
Constrains
Trading should be done in Online. GUI is only in English. Client should pay the one third of amount of ordering the chemicals(Using cheque,DD..).
Software Interfaces
Client on Intranet: Web Browser, Operating System (any) Web Server: Glass fish, Operating System (any) Data Base Server: Mysql, Operating System (any)
Hardware Interfaces
Pentium III at 1 GHz RAM 1GB Disk Space 1GB
17
4 System Design
4.1Architecture Diagram
18
19
20
Firstname Lastname
Varchar(20) Varchar(20)
NULL NULL
Username
Varchar(30)
Password
Varchar(30)
NotNull
Varchar(20) Varchar(30)
NULL NULL
Address
Varchar(30)
NULL
City
Varchar(20)
NULL
State
Varchar(20)
NULL
21
Country
Varchar(20)
NULL
Pincode
Integer(10)
NULL
22
Production
Maintain the client request and update the status. Field Name Data Type CONSTRAIN
Clientname
Varchar(20)
NOT NULL PK
Dept
Varcahr(20)
NULL
Chemicname
Varchar(20)
NULL
Compname
Varchar(20)
NULL
Requirement
Integer(30)
NULL
Status
Varchar(20)
NULL
23
Employee detail
Maintain the employee details. Field Name Data Type CONSTRAIN
Fnam Lname
Varchar(10) Varcahr(20)
NULL NULL
Addrr
Varchar(10)
NULL
Id
Integer(10)
PK
Category
Varchar(10)
NULL
Mobnum
Varchar(10)
NULL
24
Cargo Detail
Maintain the cargo details. Field Name Data Type CONSTRAIN
Varchar(20) Date
NULL NULL
Chemicname
Varchar(20)
NULL
Client Address
Varchar(20)
NULL
Chemical level
Integer(30)
NULL
Shipname
Varchar(20)
NULL
25
Feedback
Maintain the client feedback. Field Name Data Type CONSTRAIN
Name Addrr
Organization
Varchar(10) NULL
New Employee
New Employee Registration. Field Name Data Type CONSTRAIN
Name Empid
Varchar(10) integer(10)
Category
Varchar(10)
NULL
26
Dob
Date
NULL
Address
Varchar(40)
NULL
Contact No
Integer(20)
NULL
Mobile No
Integer(20)
NOT NULL PK
Order
Maintain the customer Order.
Field Name
Data Type
CONSTRAIN
Fname Lname
Varchar(10) Varcahr(20)
NULL NULL
Addrr
Varchar(10)
NULL
Organization
Varchar(10)
NULL
ChemicalName
Varchar(30)
27
28
29
5 System Implementation
Introduction
System implementation converts design requirements and design into workable code (Lawrence, Shari& Pfleeger, 2001). The implementation of oct was done in a modular fashion. It consists Mainly of to update the license and roll back details module. Depending on the size of the organization that will be involved on using the application on only one area of the firm. It evaluates the new system to see if it has indeed satisfied the goals set for it and realized the expected benefits.
Purpose
The purpos0e of the document is explained in the following sections, to update the license and rollback details of the software development environment, implementation and execution are discussed in detail. Accessing and processing of data are implemented in a GUI environment using Java Server Pages, Struts frame work , JavaScript, which provides greater flexibility and user friendliness during execution. The web pages are implemented in system section and managed by the systems engineer. Proper privileges to access the web pages are set by the systems engineer based on the user ID.
Development Environment
The development environment is crucial for the development of any software tool. Suitable selection of hardware and software not only reduces development time but also ensures product success. The hardware and software used for Oren Chemical Trade development are discussed below.
30
Hardware Requirement
The hardware used in the development of the tool: 3.20 GHz Intel(R) Pentium(R) Processor 995.1 MB Ram 20.4 GB Hard Disk Other standard desktop PC components.
Software Requirement
Oren Chemical Trade was developed using the Java Language. JDK 1. 6 and Servlet : Used to run application programs. Apache Tomcat 6.0.18 : Web server used to store resource files. Visio, Rational Rose : UML modeling(Used to Draw Activity diagram, component diagram, Use Case diagram, Deployment diagram) SqlServer : used to store the details of the data. Integrated Development Environment: Net beans IDE 6.0
Implementation
Implementation of Oren was done using the Java language. Different classes were written to handle different functionalities. Each and every module can be run independently and also in a sequence starting from the first module until the last. The same system can be viewed and accessed at the same time on different machines completely in the intranet network. Once installed, applications are often used for many years without any problems. However, both the company and the users will change, and the environment will be different over months and years. Therefore the application will have to be maintained. Modifications and changes will be made to software files or procedures to meet emerging user requirements.
31
6 Testing
Specification Testing
We can set with, what program should do and how it should perform under various condition. This testing is a comparative study of evolution of system performance and system requirements. Module Testing In this the error will be found at each individual module, it encourages the programmer to find and rectify the errors without affecting the other modules. Unit Testing Unit testing focuses on verifying the effort on the smallest unit of software-module. The local data structure is examined to ensure that the date stored temporarily maintains its integrity during all steps in the algorithms execution. Boundary conditions are tested to ensure that the module operates properly at boundaries established to limit or restrict processing.
32
Integration Testing
Data can be tested across an interface. One module can have an inadvertent, adverse effect on the other. Integration testing is a systematic technique for constructing a program structure while conducting tests to uncover errors associated with interring.
Validation Testing
It begins after the integration testing is successfully assembled. Validation succeeds when the software functions in a manner that can be reasonably accepted by the client. In this the majority of the validation is done during the data entry operation where there is a maximum possibility of entering wrong data. Other validation will be performed in all process where correct details and data should be entered to get the required results.
Recovery Testing
Recovery Testing is a system that forces the software to fail in variety of ways and verifies that the recovery is properly performed. If recovery is automatic, re-initialization, and data recovery are each evaluated for correctness.
Security Testing
Security testing attempts to verify that protection mechanism built into system will in fact protect it from improper penetration. The tester may attempt to acquire password through external clerical means, may attack the system with custom software design to break down any defenses to others, and may purposely cause errors.
Performance Testing
Performance Testing is used to test runtime performance of software within the context of an integrated system. Performance test are often coupled with stress testing and require both software instrumentation.
33
BlackBox Testing
Black- box testing focuses on functional requirement of software. It enables to derive ets of input conditions that will fully exercise all functional requirements for a program. Black box testing attempts to find error in the following category: Incorrect or missing function Interface errors Errors in data structures or external database access and performance errors.
Output Testing
After performing the validation testing, the next step is output testing of the proposed system since no system would be termed as useful until it does produce the required output in the specified format. Output format is considered in two ways, the screen format and the printer format.
34
Test Case Test Case Number: Project: Requirement Testing: 1 Oren Chemico Trade Username and Password Test Case Author: Test Case Setup VijayAmirtharaj Tester: VijayAmirtharaj Test Case Name: Module: Date Executed: Registration New user Registration 20/02/10
Test Step 1. Test whether the system accepts the username and password to enter into the system
Pass/Fail Pass
Test Case Test Case Number: Project: Requirement Testing: Test Case Author: Test Case Setup 2 Oren Chemico Trade Emp Id VijayAmirtharaj Test Case Name: Module: Date Executed: Tester: Employee profile Employee details 26/02/10 VijayAmirtharaj
35
Test Step Check whether the selected Emp Id is available in the database.
Pass/Fail Pass
Pass
Test Case Test Case Number: Project: Requirement Testing: Test Case Author: Test Case Setup 3 Oren chemico trade Client requirement VijayAmirtharaj Test Case Name: Module: Date Executed: Tester: Client Order Order Details 02/03/10 VijayAmirtharaj
Test Step Check whether the selected chemical is available in the database.
Pass/Fail Pass
Pass
Test Case Test Case Number: 4 Test Case Name: Production Dpt
36
Test Step Check whether the emp Id are available in the database.
Anticipated Result The system should provide the production dpt details.
Pass/Fail Pass
Pass
Test Case Test Case Number: Project: Requirement Testing: Test Case Author: Test Case Setup 5 Oren Chemico Trade Employee id VijayAmirtharaj Test Case Name: Module: Date Executed: Tester: Testing Department 12/03/10 VijayAmirtharaj
Test Step Check whether the update detail is available in the database.
Pass/Fail Pass
37
Pass
Test Case Test Case Number: Project: Requirement Testing: Test Case Author: Test Case Setup 6 OrenChemicoTrade Emp id VijayAmirtharaj Test Case Name: Module: Date Executed: Tester: Cargo Details Cargo Details 21/03/10 VijayAmirtharaj
Test Step
Anticipated Result
Pass/Fail Pass
Check whether the Emp Id is available in The system should provide the cargo the database. details.
Pass
Test Case Test Case Number: Project: Requirement Testing: Test Case Author: Test Case Setup 7 Oren chemico trade Update status VijayAmirtharaj Test Case Name: Module: Date Executed: Tester: Warehouse details Warehouse details 23/03/10 VijayAmirtharaj
38
Pass/Fail Pass
Pass
39
7.2 Conclusion
Allows the all the departments involved in the process of the chemical trade to have easier access with one another. The entire department heads will have to make sure that each procedures undertaken during the chemical trade process is fed into the web at the right time. This helps trade process to move smoothly as it reduces manual processing and builds up an Admin-client relationship. The main objective of this project is to give complete solution for this type of chemical trade. In the trade region updating the data should be in short interval, it would be well and good if the data is changed online. Therefore we select fully web orientation in this project.
40
8 ScreenShots
41
42
43
44
45
46
47
48
49
50
51
52
/* * EmployeeAction.java * */ package AdminAction; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import Buss_method.LogicForm; import adminBean.NewemployeeActionForm; import org.apache.struts.action.Action; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionMapping; import org.apache.struts.action.ActionForward; /** * * @author * @version */ public class EmployeeAction extends Action { /* forward name="success" path="" */
53
private final static String SUCCESS = "success"; /** * This is the action called from the Struts framework. * @param mapping The ActionMapping used to select this instance. * @param form The optional ActionForm bean for this request. * @param request The HTTP Request we are processing. * @param response The HTTP Response we are processing. * @throws java.lang.Exception * @return */ public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { NewemployeeActionForm newemp=(NewemployeeActionForm)form; LogicForm logic=new LogicForm(); String empid=newemp.getEmpid(); String category=newemp.getCategory(); String name=newemp.getName(); String dob=newemp.getDob(); String address=newemp.getAddress(); String contact=newemp.getContact();
54
String mobile=newemp.getMobile(); String email=newemp.getEmail(); int a=logic.Employee(empid,category,name,dob,address,contact,mobile,email); if(a==1) { return mapping.findForward(SUCCESS); }else return mapping.findForward("fail"); } } /* * TestingFeedbackBean.java * * */ package Testing; import javax.servlet.http.HttpServletRequest; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionMapping; import org.apache.struts.action.ActionMessage; /** *
55
* @author * @version */ public class TestingFeedbackBean extends org.apache.struts.action.ActionForm { private String clientname; private String clientreq; private String department; private String chemicalname; private String requirement; private String companyname; private String reportedDate; private String reportDate; private String status; /** * @return */ public String getDepartment() { return this.department; } /** * @param string
56
*/ public void setDepartment(String department) { this.department = department; } public String getClientname() { return this.clientname; } /** * @param string */ public void setClientname(String clientname) { this.clientname = clientname; } public String getChemicalname() { return this.chemicalname; } /** * @param string */ public void setChemicalname(String chemicalname) { this.chemicalname = chemicalname;
57
} public String getClientreq() { return this.clientreq; } /** * @param string */ public void setClientreq(String clientreq) { this.clientreq = clientreq; } public String getRequirement() { return this.requirement; } /** * @param string */ public void setRequirement(String requirement) { this.requirement = requirement; }
58
return this.companyname; } /** * @param string */ public void setCompanyname(String companyname) { this.companyname = companyname; } public String getReportDate() { return this.reportDate; } /** * @param string */ public void setReportDate(String reportDate) { this.reportDate = reportDate; } public String getReportedDate() { return this.reportedDate; } /**
59
* @param string */ public void setReportedDate(String reportedDate) { this.reportedDate = reportedDate; } public String getStatus() { return this.status; } /** * @param string */ public void setStatus(String status) { this.status = status; } public TestingFeedbackBean() { super(); // TODO Auto-generated constructor stub } // // // public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = new ActionErrors(); if (getName() == null || getName().length() < 1) {
60
// // // // // } }
return errors;
61
10 Bibliography
WebSites
http://www.indianchemicalportal.com/ http://www.chemicalhouse.com/ http://www.iccta.org/ http://www.globalchems.com/ http://www.echinachem.com/default.aspx http://www.rsc.org/chemistryworld/Issues/2009/December/ChemicalTradeWars.asp http://www.fecc.org/fecc/ http://www.importers.com/chemical-trade-agents/trade-products-1481-0.html
Books
Trading For Dummies by Michael Griffis and Lita Epstein Mastering the Trade: Proven Techniques for Profiting from Intraday and Swing Trading Setups (McGraw-Hill Traders Edge Series) by John F. Carter Trading Systems That Work: Building and Evaluating Effective Trading Systems by Thomas Stridsman The Ultimate Day Trader: How to Achieve Consistent Day Trading Profits in Stocks, Forex, and Commodities by Jacob Bernstein
62