Sie sind auf Seite 1von 62

1

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.

1.2 Organisation Profile


History
HORIZON TECHNOLOGIES, the offspring of a young Indian entrepreneur, pioneered and nurtured the concept of high quality IT education in India. Set up in 2003, HORIZONE TECHNOLOGIES has evolved into a training powerhouse with 50 staffs. While our specialpriced, IT programs we are striving so that every ordinary citizens to achieve computer and Internet literacy, our career education has shaped the lives of millions of individuals. HORIZONE TECHNOLOGIES programmers are creating solutions capable of dealing with the new learning environment thrown open by the Internet, that addresses anytime, anywhere learning. Besides making our IT learning more state-of-the-art, through innovations in Cognitive Multimedia, Constructivist Education and the Human-Computer.It is a core strength that helps us to identify the emerging market needs, leads us to create new learning methodologies and techniques, helps us refine our curriculum, making it cutting-edge, and enables us to improve our education delivery.

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.

2. WEB DESIGNING & PROGRAMMING


We believe that good websites should adhere to certain standards. Even a one page web site should benefit, if it is organized and presented well. We offer worthwhile, affordable, effective & creative web designs to our clients. Each site is designed to match the requirement of our customer. Each web site is made carefully using HTML and DHTML coding Java scripts, etc,. Our Web designers use wide variety of latest multimedia developments.

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

1.3 Project Overview


Oren Chemical Trade allows the all the departments involved in the process of the chemical trade to have easier access with one another. All the 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.

2 System Analysis

2.1 Feasibility Study


Technical Feasibility
Technical feasibility is concerned with whether current technical resources which are available in the organization are capable of handling the users requirement and whether the working environment may change. The system is technically feasible and this makes the system more effective even if the working environment changes.

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.

2.2 Existing System


The client gives the details about the quantity of chemicals needed, to the work order department. The work order department forwards the work order to the Admin who moves the order to the testing department to check the availability of the chemical. If the chemical is available, the Admin sends the details about the chemicals needed, to the production department. If the chemical is not available, the details of the required chemical are sent to the testing department. Once the chemical sample is ready, it is sent to the Admin, and the sends it to the production department for the production of the chemical. The production department produces the required quantity of chemical and informs the Admin, who sends the chemical to the testing department for final confirmation. After the final confirmation the chemical is sent to the movers .i.e., the ships, which deliver the required chemical to the client. If the quantity of chemical is more than that of the capacity of the mover, the remaining chemicals left after loading onto the ship is sent to the warehouse which will be sent to the client later.

The overall requirements of the product are stated as follows;


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

2.3 Proposed System


The proposed system helps the client to have a direct contact with the Admin through the web. Each dept is linked to each other which help all the depts. to have access to the informations sent by the other depending upon the needs.The proposed system is designed to provide a solution for the
drawbacks of present system. It aims to:

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.

3 System Requirement Specification

3.1 User Requirement Specification


Functional Requirement
Client profile management and registration. Maintains the details such as client, employee and etc. These details are stored and maintained by the admin engineers. Admin will add, edit, and delete the employee and client details. Testing Department will give a feedback to production department. Production Department will give a feedback to cargo department. The admin can take back up of all client requirement details. Warehouse Department will give a feedback to testing department.

Non Functional Requirement


Secure access of confidential data (users details). SSL can be used. 24 X 7 availability Better component design to get better performance at peak time Flexible service based architecture will be highly desirable for future extension

10

3.2 Use case

11

Client

Production Department Employee

12

Testing Department Employee

Cargo and Warehouse

13

3.3 Software Requirement Specification


Introduction Purpose
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.

Scope
Trade process to move smoothly as it reduces manual processing and builds up an Admin-client relationship.

Definitions, Acronyms and Abbreviations


OCT Oren Chemical Trade HTML Hypet Text Markup Language

Technologies to be used
MySql Database Front End Struts,HTML JAVA Application architecture Net-Beans 6.5 - Development tool Glassfish Server

Over all Description Product Description


Oren Chemical Trade 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.

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..).

Specific Design Requirements Communication Interfaces


Client on Internet will be using HTTP/HTTPS protocol. Client on Intranet will be using TCP/IP protocol.

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

4.2 Class Diagram

19

4.3 Database Diagram

Database Table Login Table


Login table for Admin, Employee and client. Field Name Username Password Data Type Varchar(30) Varchar(30)

20

New Customer table


New client or customer registration table. Fieldname Datatype CONSTRAIN

Firstname Lastname

Varchar(20) Varchar(20)

NULL NULL

Username

Varchar(30)

NotNull Primary key

Password

Varchar(30)

NotNull

Phone number Organisation

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

Testing table Store the client request.


Field Name Clientname Dept Chemicname Compname Requirement Status Data Type Varchar(20) Varcahr(20) Varchar(20) Varchar(20) Integer(30) Varchar(20)

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

Clientname Date of receive

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

Varchar(10) NULL Varchar(10) NULL

Organization

Varchar(10) NULL

New Employee
New Employee Registration. Field Name Data Type CONSTRAIN

Name Empid

Varchar(10) integer(10)

NULL NOT NULL PK

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

4.4 Component Diagram

28

4.5 Deployment Diagram

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

6.1 Software Testing


Introduction
After finishing the development of any computer based system the next complicated time consuming process is system testing. During the time of testing only the development company can know that, how far the user requirements have been met out, and so on. Following are the some of the testing methods applied to this effective project:

Source Code Testing


This examines the logic of the system. If we are getting the output that is required by the user, then we can say that the logic is perfect.

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.

User Acceptance Testing


User Acceptance Testing is the key factor for the success of any system. The system under consideration is tested for user acceptance by constantly keeping in touch with prospective system users at the time of developing and making changes whenever required.

34

6.2 Test Case design

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

Create a new user account.

Test Step 1. Test whether the system accepts the username and password to enter into the system

Anticipated Result The system accepts the username and password.

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

Retrieving the employee Details from the database

35

Test Step Check whether the selected Emp Id is available in the database.

Anticipated Result The system should provide the Employee Details.

Pass/Fail Pass

The Employee can edit their details.

Details are edited and updated.

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

Retrieving the chemical details from the database

Test Step Check whether the selected chemical is available in the database.

Anticipated Result The system should provide the chemical detail .

Pass/Fail Pass

The employee can add or update the chemical details.

chemical details are added or updated.

Pass

Test Case Test Case Number: 4 Test Case Name: Production Dpt

36

Project: Requirement Testing: Test Case Author: Test Case Setup

Oren chemico trade Emp id VijayAmirtharaj

Module: Date Executed: Tester:

Production dpt 04/03/10 VijayAmirtharaj

Retrieving the Production dpt Details from the database

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

The employee add or edit chemical details.

chemical details are added or edit.

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

Retrieving the installation update details from the database

Test Step Check whether the update detail is available in the database.

Anticipated Result The system should provide the update details.

Pass/Fail Pass

37

The employee can update the details.

The chemical details will be added or reset.

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

Retrieving the Cargo update details from the database

Test Step

Anticipated Result

Pass/Fail Pass

Check whether the Emp Id is available in The system should provide the cargo the database. details.

The Employee will update the cargo details.

The cargo details will be updated.

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

Retrieving the Reports from the database

Test Step Check the status.

Anticipated Result The system should provide the particular Reports.

Pass/Fail Pass

The Employee can add or update the Reports.

Reports are added or updated.

Pass

39

7 Future Scope & Conclusion

7.1 Future Scope


Develop this application Like VPN.

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

9 Sample Source Code

/* * 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; }

public String getCompanyname() {

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

// // // // // } }

errors.add("name", new ActionMessage("error.name.required")); // TODO: add 'error.name.required' key to your resources

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

Das könnte Ihnen auch gefallen