Logistics Management System Complete Documentation 52m4a

  • October 2019
  • PDF

This document was ed by and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this report form. Report 3b7i


Overview 3e4r5l

& View Logistics Management System Complete Documentation as PDF for free.

More details w3441

  • Words: 9,085
  • Pages: 99


Contains all other HTML tags

<META>... Provides meta-information about a document

<SCRIPT>…

Contains client-side or server-side script



Creates a table

… Indicates table data in a table … Designates a table row … Creates a heading in a table

JavaScript JavaScript is a script-based programming language that was developed by Netscape Communication Corporation. JavaScript was originally called Live Script and renamed as JavaScript to indicate its relationship with Java. JavaScript s the development of both client and server components of Web-based applications. On the client side, it can be used to write programs that are executed by a Web browser within the context of a Web page. On the server side, it can be used to write Web server programs that can process information submitted by a Web browser and then update the browser’s display accordingly Even though JavaScript s both client and server Web programming, we prefer JavaScript at Client side programming since most of the browsers s it. JavaScript is almost as easy to learn as HTML, and JavaScript statements can be included in HTML documents by enclosing the statements between a pair of scripting tags <SCRIPTS>.. . <SCRIPT LANGUAGE = “JavaScript”> JavaScript statements Here are a few things we can do with JavaScript: •

Validate the contents of a form and make calculations.



Add scrolling or changing messages to the Browser’s status line.



Animate images or rotate images that change when we move the mouse over them.



Detect the browser in use and display different content for different browsers.



Detect installed plug-ins and notify the if a plug-in is required.



We can do much more with JavaScript, including creating entire application.

Java Technology Initially the language was called as “oak” but it was renamed as “Java” in 1995. The primary motivation of this language was the need for a platform-independent (i.e., architecture neutral) language that could be used to create software to be embedded in various consumer electronic devices. •

Java is a programmer’s language.



Java is cohesive and consistent.



Except for those constraints imposed by the Internet environment, Java gives the programmer, full control.



Finally, Java is to Internet programming where C was to system programming.

Features of Java Portability For programs to be dynamically ed to all the various types of platforms connected to the Internet, some means of generating portable executable code is needed.

The Byte code The key that allows the Java to solve the security and portability problems is that the output of Java compiler is Byte code. Byte code is a highly optimized set of instructions designed to be executed by the Java run-time system, which is called the Java Virtual Machine (JVM). That is, in its standard form, the JVM is an interpreter for byte code.

Compiling and interpreting Java Source Code

During run-time the Java interpreter tricks the byte code file into thinking that it is running on a Java Virtual Machine. In reality this could be a Intel Pentium Windows 95 or SunSARC station running Solaris or Apple Macintosh running system and all could receive code from any computer through Internet and run the Applets.

Simple Java was designed to be easy for the Professional programmer to learn and to use effectively. If you are an experienced C++ programmer, learning Java will be even easier. Because Java inherits the C/C++ syntax and many of the object oriented features of C++. Most of the confusing concepts from C++ are either left out of Java or implemented in a cleaner, more approachable manner. In Java there are a small number of clearly defined ways to accomplish a given task.

Object-Oriented Java was not designed to be source-code compatible with any other language. This allowed the Java team the freedom to design with a blank slate. One outcome of this was a clean usable, pragmatic approach to objects. The object model in Java is simple and easy to extend, while simple types, such as integers, are kept as high-performance non-objects.

Robust The multi-platform environment of the Web places extraordinary demands on a program, because the program must execute reliably in a variety of systems. The ability to create robust programs was given a high priority in the design of Java. Java is strictly typed language; it checks your code at compile time and run time. Java virtually eliminates the problems of memory management and de-allocation, which is completely automatic. In a well-written Java program, all run time errors can –and should –be managed by your program.

Java Database Connectivity What Is JDBC? JDBC is a Java API for executing SQL statements. (As a point of interest, JDBC is a trademarked name and is not an acronym; nevertheless, JDBC is often thought of as standing for Java Database Connectivity. It consists of a set of classes and interfaces written in the Java programming language. JDBC provides a standard API for tool/database developers and makes it possible to write database applications using a pure Java API. Using JDBC, it is easy to send SQL statements to virtually any relational database. One can write a single program using the JDBC API, and the program will be able to send SQL statements to the appropriate database. The combinations of Java and JDBC lets a programmer write it once and run it anywhere. What Does JDBC Do? Simply put, JDBC makes it possible to do three things: •

Establish a connection with a database



Send SQL statements



Process the results.

JAVA Application JDBC

Client machine

DBMS-proprietary protocol

Database

DBMS

server

Java applet or Html browser

Client machine (GUI) HTTP, RMI, or CORBA calls

Application Server (Java) JDBC

Server machine (business DBMS-proprietary Logic) protocol Database server

DBMS

Testing

A test plan is a document detailing a systematic approach to testing a system such as a machine or software. The plan typically contains a detailed understanding of what the eventual workflow will be. A test plan documents the strategy that will be used to and ensure that a product or system meets its design specifications and other requirements. A test plan is usually prepared by or with significant input from Test Engineers. Depending on the product and the responsibility of the organization to which the test plan applies, a test plan may include one or more of the following: * Design Verification or Compliance test - to be performed during the development or approval stages of the product, typically on a small sample of units. * Manufacturing or Production test - to be performed during preparation or assembly of the product in an ongoing manner for purposes of performance verification and quality control. * Acceptance or Commissioning test - to be performed at the time of delivery or installation of the product. * Service and Repair test - to be performed as required over the service life of the product. * Regression test - to be performed on an existing operational product, to that existing functionality didn't get broken when other aspects of the environment are changed (e.g., upgrading the platform on which an existing application runs).

Test Strategies

A test strategy is an outline that describes the testing portion of the software development cycle. It is created to inform project managers, testers, and developers about some key issues of the testing process. This includes the testing objective, methods of testing new functions, total time and resources required for the project, and the testing environment. The test strategy describes how the product risks of the stakeholders are mitigated at the test-level, which types of test are to be performed, and which entry and exit criteria apply. The test strategy is created based on development design documents. The system design document is the main one used and occasionally, the conceptual design document can be referred to. The design documents describe the functionalities of the software to be enabled in the release. For every set of development design, a corresponding test strategy should be created to test the new feature sets.

Test Levels The test strategy describes the test level to be performed. There are primarily three levels of testing: unit testing, integration testing, and system testing. In most software development organizations, the developers are responsible for unit testing. Individual testers or test teams are responsible for integration and system testing.

Functional Testing Functional testing is a type of black box testing that bases its test cases on the specifications of the software component under test. Functions are tested by feeding them input and examining the output, and internal program structure is rarely considered.[1]

Functional testing differs from system testing in that functional testing "verif[ies] a program by checking it against ... design document(s) or specification(s)", while system testing "validate[s] a program by checking it against the published or system requirements Functional testing typically involves five steps[citation needed]:

1. The identification of functions that the software is expected to perform 2. The creation of input data based on the function's specifications 3. The determination of output based on the function's specifications 4. The execution of the test case 5. The comparison of actual and expected outputs

Test Cases A test case is a set of input data and expected results that exercises a component with the purpose of causing failures and detecting faults. A test case has five attributes: name, location, input, oracle, and log. The name of the test case allows the tester to distinguish between different test cases. A heuristic for naming test cases is to derive the name from the requirement it is testing or from the component being tested. The location attribute describes where the test case can be found. It should be either the pathname or the URL to the executable of the test program and its inputs. Input describes the set of input data or commands to be entered by the actor of the test case. The expected behavior is described by the oracle attribute. The log is set of time-stamped correlations of the observed behavior with the expected behavior for various test runs.

Sample Code

Code to Add Customer details <%@page import="java.sql.*,bean.ProjectBean" %> <% String cname=request.getParameter("cname"); String name=request.getParameter("name"); String =request.getParameter(""); String address=request.getParameter("address"); String emailid=request.getParameter("emailid"); String phoneno=request.getParameter("phoneno"); Connection con=null; ResultSet rs=null; ProjectBean CBean=new ProjectBean(); con=CBean.getConnection(); String sql="insert into customers(cname,name,,address,emailid,phoneno) values ('"+cname+"','"+name+"','"++"','"+address+"','"+emailid+"','"+phoneno+"')"; int i=CBean.executeUpdate(sql); %>

Code to post Order Details <%@page import="java.sql.*,bean.ProjectBean" %> <% String cid=request.getParameter("cid"); String pcode=request.getParameter("pcode"); String odate=request.getParameter("odate"); String qty=request.getParameter("qty"); Connection con=null; ResultSet rs=null; ProjectBean CBean=new ProjectBean(); con=CBean.getConnection(); String sql="insert into orders(cid,pcode,odate,qty) values ('"+cid+"','"+pcode+"','"+odate+"','"+qty+"')"; int i=CBean.executeUpdate(sql); %>

Code to Update Vehicle details <%@page import="java.sql.*,bean.ProjectBean" %> <% String vno=request.getParameter("vno"); String model=request.getParameter("model"); String year=request.getParameter("year"); Connection con=null; ProjectBean CBean=new ProjectBean(); con=CBean.getConnection(); String sql="update vehicles set model='"+model+"',year='"+year+"' where vno='"+vno+"'"; int i=CBean.executeUpdate(sql); %>

Code to generate Invoice report <%@page import="java.sql.*,bean.ProjectBean,java.util.Calendar,java.text.SimpleDateFormat" %> <% String name,pcode,qty; String pname,qpack,dprice,price,unit; int intprice,intqty,intdprice; int total=0; int sum=0; String cname=null; String address=null; String emailid=null; String phoneno=null; Calendar currentDate = Calendar.getInstance(); SimpleDateFormat formatter= new SimpleDateFormat("dd/MM/yyyy"); String dateNow = formatter.format(currentDate.getTime()); String cid=request.getParameter("cid"); Connection con=null; ResultSet rs=null; ResultSet rs1=null; ResultSet rs2=null; ProjectBean CBean=new ProjectBean(); con=CBean.getConnection(); rs=CBean.executeQuery("select * from customers where cid='"+cid+"'"); if(rs.next())

{ cname=rs.getString(2); name=rs.getString(3); address=rs.getString(5); emailid=rs.getString(6); phoneno=rs.getString(7); } %>

INPUT & OUTPUT SCREENS

Software Development Life Cycle

The Systems Development Life Cycle (SDLC), or Software Development Life Cycle in systems engineering, information systems and software engineering, is the process of creating or altering systems, and the models and methodologies that people use to develop these systems. The concept generally refers to computer or information systems. In software engineering the SDLC concept underpins many kinds of software development methodologies. These methodologies form the framework for planning and controlling the creation of an information system[1]: the software development process. Systems Development Life Cycle (SDLC) is a process used by a systems analyst to develop an information system, including requirements, validation, training, and (stakeholder) ownership. Any SDLC should result in a high quality system that meets or exceeds customer expectations, reaches completion within time and cost estimates, works effectively and efficiently in the current and planned Information Technology infrastructure, and is inexpensive to maintain and cost-effective to enhance.

Water fall model:

The waterfall model is a sequential design process, often used in software development processes, in which progress is seen as flowing steadily downwards (like a waterfall) through the phases of Conception, Initiation, Analysis, Design, Construction, Testing and Maintenance.

Requirements Specifications A Software Requirements Specification (SRS) - a requirements specification for a software system - is a complete description of the behavior of a system to be developed. It includes a set of use cases that describe all the interactions the s will have with the software. Use cases are also known as functional requirements. In addition to use cases, the SRS also contains non-functional (or supplementary) requirements. Non-functional requirements are requirements which impose constraints on the design or implementation (such as performance engineering requirements, quality standards, or design constraints).

Design Software design is a process of problem-solving and planning for a software solution. After the purpose and specifications of software are determined, software developers will design or employ designers to develop a plan for a solution. It includes low-level component and algorithm implementation issues as well as the architectural view.

Implementation Computer programming (often shortened to programming or coding) is the process of deg, writing, testing, debugging / troubleshooting, and maintaining the source code of computer programs. This source code is written in a programming language. The purpose of programming is to create a program that exhibits a certain desired behaviour. The process of writing source code often requires expertise in many different subjects, including knowledge of the application domain, specialized algorithms and formal logic.

Testing Software testing is an investigation conducted to provide stakeholders with information about the quality of the product or service under test.[1] Software testing also provides an objective, independent view of the software to allow the business to appreciate and understand the risks of software implementation. Test techniques include, but are not limited to, the process of executing a program or application with the intent of finding software bugs. Software testing can also be stated as the process of validating and ing that a software program/application/product: 1. meets the business and technical requirements that guided its design and development; 2. works as expected; and 3. can be implemented with the same characteristics.

Installation Software deployment is all of the activities that make a software system available for use. The general deployment process consists of several interrelated activities with possible transitions between them. These activities can occur at the producer site or at the consumer site or both. Because every software system is unique, the precise processes or procedures within each activity can hardly be defined. Therefore, "deployment" should be interpreted as a general process that has to be customized according to specific requirements or characteristics. A brief description of each activity will be presented later.

Maintenance Software maintenance in software engineering is the modification of a software product after delivery to correct faults, to improve performance or other attributes.[1] A common perception of maintenance is that it is merely fixing bugs. However, studies and surveys over the years have indicated that the majority, over 80%, of the maintenance effort is used for non-corrective actions (Pigosky 1997). This perception is perpetuated by s submitting problem reports that in reality are functionality enhancements to the system. Software maintenance and evolution of systems was first addressed by Meir M. Lehman in 1969. Over a period of twenty years, his research led to the formulation of eight Laws of Evolution (Lehman 1997). Key findings of his research include that maintenance is really evolutionary developments and that maintenance decisions are aided by understanding what happens to systems (and software) over time. Lehman demonstrated that systems continue to evolve over time. As they evolve, they grow more complex unless some action such as code refactoring is taken to reduce the complexity.

The key software maintenance issues are both managerial and technical. Key management issues are: alignment with customer priorities, staffing, which organization does maintenance, estimating costs. Key technical issues are: limited understanding, impact analysis, testing, and maintainability measurement.

CONCLUSION

This project has been developed to maintain all the details regarding the maintenance of the products within the company. It records all the customer and order information, and also keeps a record of the vehicles for delivery of the products to the customer. The Project also generates an invoice report and as well as maintains the status of the payment made. The project has been tested at the clients machine and has been running successfully without any defects.

Bibiliography

Bernd Bruegge & Allen H. Dutoit

“Object Oriented Software Engineering – Using UML

Patterns” Pearson Education, 1995 Herbert Schidlt, “Java 2: The Complete Reference, Eighth Edition” Osborne Complete Reference Series http://www.ibm.com/developerworks/rational/library/content/RationalEdge/sep04/bell/ http://www.agilemodeling.com/artifacts/stateMachineDiagram.htm http://www.modelmakertools.com/modelmaker/screenshots/page3.html

Related Documents 3m3m1z

Logistics Management System Complete Documentation 52m4a
October 2019 69
Logistics Management Unit2 Complete 163722
April 2022 0
Dormitory Management System Documentation 664838
November 2019 71
Quiz Management System Documentation 355j17
April 2020 36
Inventory Management System Documentation 25w2g
November 2022 0
School Management System Documentation 5i5b33
October 2019 98