CONTENTS

Title

Page No

Abstract…………………………………………………………………………………….iv List of Tables………………………………………………………………………………vi List of Figures……………………………………………………………………………..vii

Chapter I: Introduction 1.1. 1.2. Organization Profile……………………………………………………….......01 Problem Definition………………………………………………………….....02

Chapter II: System Analysis 2.2. Existing System Architecture…………………………………………………... 2.2. Proposed System Architecture…………………………………………………

Chapter III: Development Environment 3.1. Hardware Environment…………………………………………………………… 3.2. Software Environment…………………………………………………………… 3.2.1. Software Description………………………………………………………

Chapter IV: System Design

4.1. Data Model 4.1.1. Entity Relationship Diagram……………………………………. 4.1.2. Data Dictionary………………………………………………….

4.2. Process Model 4.2.1. Context Analysis Diagram………………………………………. 4.2.2. Data Flow Diagram………………………………………………

Chapter v: Software Development 5.1. Phases of Software Development………………………………………… 5.1.1. Phase I: Planning………………………………………………... 5.1.2. Phase II: Analysis………………………………………………. 5.1.3. Phase III: Design……………………………………………… 5.1.4. Phase IV: Development……………………………………… 5.2. Modular Description…………………………………………………..

Chapter VI: Testing 6.1. System Testing……………………………………………………………. 6.2. Software Testing Strategy………………………………………………… 6.2.1. Unit Testing…………………………………………………..

6.2.2. Integrating Testing……………………………………………..

Chapter VII: System Implementation 7.1. Introduction…………………………………………………………… 7.2. Implementation…………………………………………………………

v

Chapter VIII: Performance and Limitations 8.1. Merits of the system………………………………………………….. 8.2. Limitations of the system……………………………………………… 8.3. Future Enhancements……………………………………………………

Chapter IX: Appendices 9.1. Sample Screen……………………………………………………….. 9.2. User Manual……………………………………………………………

Chapter X: References…………………………

ABSTRACT
Data mining techniques provide people with new power to research and manipulate the existing large volume of data. Data mining process discovers interesting information from the hidden data which can either be used for future prediction and/or intelligently summarizing the details of the data. There are many achievements of applying data mining techniques to various areas such as marketing, medical, financial, and car manufacturing. In this paper, a proposed data mining application in car manufacturing domain is explained and experimented. The application results analysis such as Predicting Future Car market Demand such analysis help in providing car market with base for more accurate prediction of future market demand.

CHAPTER 1 INTRODUCTION

data mining has become a research area with increasing importance and it involved in determining useful patterns from collected data or determining a model that fits best on the collected data. handle missing information and transformed it to an appropriate format. A data mining technique or a combination of techniques appropriate for the type of knowledge to be discovered is applied to the derived data set. During the pre-processing stage. INTRODUCTION Data mining application are characterized by the ability to deal with the explosion of business data and accelerated market changes. and a subset of data is generated from the accumulated data. rules. the actual data mining process and postprocessing. BI is a general term to mean all processes. The measure of any business intelligence solution is its ability to derive knowledge from data.1. the data mining problem and all sources of data are identified. trends. and the kinds of techniques to be utilized. Different classification schemes can be used to categorize data mining methods and systems based on the kinds of databases to be studied. The challenge is met with the ability to identify patterns. The last stage is postprocessing in which the discovered knowledge is evaluated and interpreted. techniques. A data mining task includes pre-processing. Data mining techniques used in business-oriented applications are known as Business Intelligence (BI). and tools that gather and analyze data for the purpose of supporting enterprise users to make better decisions. . and relationships from volumes of information which is too large to be processed by human analysis alone. the kinds of knowledge to be discovered. Consequently. these characteristics help providing powerful tools for decision makers. such tools can be used by business users (not only statisticians) for analyzing huge amount of data for patterns and trends. The difficulty of discovering and deploying new knowledge in the BI context is due to the lack of intelligent and complete data mining system. To ensure quality the data set is processed to remove noise.

The number of battery electric and plug-in hybrid vehicles sold and the variety of options for consumers will rapidly expand. but any oversupply will not impact vehicle pricing. Most of the award recipients (including Saft. LG Chem.000 less. Now. With the 2012 Toyota Prius PHEV ($32. and Dow Kokam) have their facilities fully online and ready to produce. and China in EV batteries. While the Chevrolet Volt will sell for $1. In order to analyze the impacts of these and other key issues facing the EV industry. EnerDel. consumers hoping for an affordable EV ride have been left wanting. . the production and sales of the cars needs to catch up. plug-in electric vehicles will take major strides toward becoming a mature if small component of the overall vehicle fleet.750. Pike Research does not expect this trend to stop in 2012. Many potential EV buyers were disappointed that Nissan raised the price of the LEAF for 2012. Unfortunately. Here are three of those predictions: Battery production will get ahead of vehicle production. the optimal price for a plug-in electric vehicle to engage consumers is $23. EV prices will continue to disappoint many consumers. According to data from Pike Research’s annual Electric Vehicle Consumer Survey. the car comes without several features that were standard but consumers now must pay for as options. The fruits of the multi-billion dollar investments in recent years in lithium ion battery manufacturing facilities will provide abundance in capacity that could outpace demand.000). Korea.In 2012.625). and the Ford Focus EV ($39.995) all north of $30. Manufacturers of lithium ion batteries in the United States spent 2011 readying new and established factories for the expected surge in electric car and plug-in hybrid sales. Pike Research has prepared a white paper that makes 10 predictions about the continuing evolution of the market in 2012 and beyond. Johnson Controls. the Honda Fit BEV ($36.000 (before federal incentives). The 2009 American Recovery and Reinvestment Act provided funding for scaling up production so that the United States can compete with Japan.

the EV will be the device that consumes the most energy and power. and other types of appliances. manufacturers of the vehicles—as well as charging equipment—will introduce technology that will enable EVs to interact with other home appliances. In 2012. For example. In many households. with commercialization soon to follow. home energy management devices.EVs will begin to function as home appliances. an EV could coordinate with the clothes dryer or pool pump to make sure that the power consumption doesn’t surpass a certain threshold. which requires establishing communications with smart meters. 1. The first vehicles demonstrating this capability will likely be out in 2012. Automakers want EVs to be good “citizens” in balancing their energy requirement with the rest of the building.1 COMPANY PROFILE . Other long term applications could include downloading music or movies to the vehicle.

car maker is collaborating to develop software that will help its cars predict the best route that drivers can take to save energy and time if car maker experiment in making self learning cars takes off. 1. your car will never be the same again. and explained. the system learns key information about how the driver is using the vehicle and where he wants to go. In essence. knowledge of routes and combines it with real-time traffic information to suggest the best possible energy-efficient route. an encrypted driver data usage profile is built based on routes and time of travel. The use and benefits of these two analyses will be identified. Using the power of the cloud to analyze historical data of routes.3 NEED OF THE PROJECT Using historical data. This solution can provide inventory managers with important analysis such as launch analysis and slow turning analysis. The new prediction api. a proposed data mining application in car manufacturing domain is explained and experimented.2 SCOPE OF THE PROJECT The aim of this paper is to provide a proposed data mining solution that can be used for automotive market. Here’s how this system would work. 1.4 OBJECTIVE OF THE PROJECT In this project. The system analyzes driving habits.1. The application results analysis such as predicting future car market demand such analysis help in providing car market with base for more accurate prediction of future market demand. traffic and driver usage. to create software that will give its cars the capability to predict the destination and the most energy-efficient route. a cloud-based analytics service that contains a suite of algorithms with the ability of analyzing historical business data and the capability to predict future trends or outcome. After a vehicle owner opts in to use the service. . A dcx1 case study will be presented in detail in order to demonstrate the capability of data mining techniques in the field of car manufacturing. as well as many other areas.

CHAPTER 2 SYSTEM ANALYSIS .

2.2 PROPOSED SYSTEM .1 EXISTING SYSTEM 2.

Our system is . balance sheets. S. Kerdpraso. In this paper. 2007.2. a proposed data mining application in software engineering domain is explained and experimented.. A data mining process discovers interesting information from the hidden data that can either be used for future prediction and/or intelligently summarizing the details of the data. “A data mining application: analysis of problems occurring during a software project development process”. 1-5. vol. Kerdprasop. Nayak and T. Enformatika. and cash flow statements for North American public companies. Enformatika. 19. Data mining (DM) is the process of finding and extracting frequent patterns that can describe the data. Anomalies in the discovery process merit further investigation of the application of genetic programming to the dataset for the problem domain. “Applications of genetic programming in data mining”. and financial. although few of them can be currently seen in software engineering domain. 2005. 2006. pp. pp. The empirical results demonstrate the capability of data mining techniques in software engineering domain and the potential benefits in applying data mining in this area. In this paper. no.3 LITERATURE REVIEW R. 17. Potentially interesting classification rules are discovered. and K. 647-663. 117-122. Some algorithms may find millions of patterns. N. vol. Elkaffas and A. vol. or predict unknown or future values. Qiu. There are many achievements of applying data mining techniques in various areas such as marketing.4. This paper details the application of a genetic programming framework for induction of useful classification rules from a database of income statements. These goals are achieved by using various learning algorithms. medical. Toony.15. we describe a framework of an intelligent and complete data mining system called SUT-Miner. “Moving data mining tools toward a business intelligence system”. Data mining techniques provide people with new power to research and manipulate the existing large volume of data. pp. Each algorithm may produce a mining result completely different from the others. International Journal Of Software Engineering & Knowledge Engineering. It is thus the difficult job for data analysts to select appropriate models and interpret the discovered knowledge.

pp. 2006. and identifies opportunities for future research in this area. 3. such as goal programming. Howard. It is the post-DM packages that ease the DM deployment for business intelligence applications. Liqiang and J. Allocating course sections to prescribed “time slots” for courses requires advanced quantitative techniques. compares their properties. scheduling exclusionary effects that may impact course availability and diversity negatively. This survey reviews the interestingness measures for rules and summaries. inductive methods are indeed applicable. both summary and detailed results can be understood by key decision-makers. 38. It demonstrates the feasibility of applying the principles of data mining. G. Good measures also allow the time and space costs of the mining process to be reduced. repeatable SQL queries can be used as the chief analytical technique on a recurring basis. and collecting a large amount of multi-criteria data at least six to eight months in advance of a semester. classifies them from several perspectives. 2005. straightforward. 1-32. “Interestingness measures for data mining: a survey”. Scheduling courses (“timetabling”) at a University is a persistent challenge.comprised of a full complement of major DM algorithms. Specifically it uses association rules to evaluate a nonstandard (“aberrant”) timetabling pilot study undertaken in one College at a University. vol. This study takes an alternate approach. Interestingness measures play an important role in data mining. Communications Of AIs. ACM Computing Surveys. gives strategies for selecting appropriate measures for applications. 16. 2). W. identifies their roles in the data mining process. The results indicate that 1). and 3). 463-474. These measures are intended for selecting and ranking patterns according to their potential interest to the user. Smith. “Applying data mining to scheduling courses at a university“. this study was one of the first empirical studies to provide an accurate measure of the discernable. no. In addition. pre-DM and post-DM functionalities. vol. . but negligible. no. pp. regardless of the kind of patterns being mined. 2005.

CHAPTER 3 SYSTEM SPECIFICATION .

3.1 Hardware Requirements  Processor/system  Main memory  Cache memory  Processor speed  Hard disk drive : : : : : Pentium IV 1 GB RAM 512 KB 600 MHz 40 GB 3.2 Software configuration  Operating system  Front End  Programming Language  Back End : : : : Windows2000/XP Professional JSP/ SERVLETS J2EE MYSQL 5.1 .

the same Java program can run on Windows NT. java was designed to be small. Modeled on C++. The Java VM can also be implemented in hardware. hardware-based platforms. Java byte codes help make "write once.3. Compilation happens just once. Every Java interpreter. each Java byte code instruction is parsed and run on the computer. 3. You can compile your Java program into byte codes on any platform that has a Java compiler. The Java platform differs from most other platforms in that it's a software-only platform that runs on top of other. simple and portable across platforms. With a compiler.3 SOFTWARE DESCRIPTION The software used for the development of the project is: 3. and Macintosh. Java is also unusual in that each Java program is both compiled and interpreted. you translate a Java program into an intermediate language called Java byte codes--the platform-independent codes interpreted by the Java interpreter.3. This figure illustrates how this works. The byte codes can then be run on any implementation of the Java VM.2 Java Platform A platform is the hardware or software environment in which a program runs. whether it's a Java development tool or a Web browser that can run Java applets. For example. Most other platforms are described as a combination of hardware and operating system. Solaris. run anywhere" possible.1 ABOUT JAVA Java is an object oriented programming language developed by Sun Microsystems.3. is an implementation of the Java VM. interpretation occurs each time the program is executed. With an interpreter. .

The Java API is grouped into libraries (packages) of related components. 3. and deliver client-side content.2. servlets run within Java servers. mail servers. accept input from GUI components.The Java platform has two components:   The Java Virtual Machine (JVM) The Java Application Programming Interface (Java API) The Java API is a large collection of ready-made software components that provide many useful capabilities.1.2. and can display graphics. Applets run in their own frame. Instead of working in browsers. and a full range of functionality is provided for in the way of pre-written Java classes. Servlets are similar to applets in that they are runtime extensions of applications. and impose additional restrictions on applets. . Applets are commonly used to enhance the interactivity of a web page.2 Applet It is a java program that executes inside a web page. proxy servers. Another specialized program is a servlet. print servers. such as graphical user interface (GUI) widgets.3. Stand-alone applications can run as a console application (writing text to the screen or terminal window). A special kind of application known as a server serves and supports clients on a network. and even open network connections. or they can have a graphical userinterface. by opening a new window or dialog box. and boot servers.3. 3. Due the potential security feasibilitys associated with running applets from external and potentially malicious sources. Examples of servers include Web servers. configuring the server. Application It is a program that we can execute from any operating system prompt. Stand-alone applications have no such restrictions. It requires a java enabled browser which requires an interpreter. most web browsers limit file access.

However.  Networking: URLs. robust and secure. The core API gives you the following features:  The Essentials: Objects. a freely available SDK is available from Sun.  Java Database Connectivity (JDBC): Provides uniform access to a wide range of relational databases. As a platform-independent environment.  Security: Both low-level and high-level. date and time. Your browser may not support display of this image. smart compilers. TCP and UDP sockets.3. threads. interpreter. numbers.  It is simple. system properties. and just-in-time byte code compilers can bring Java's performance close to that of native code without threatening portability. data structures. . and so on. Java can be a bit slower than native code. access control. such as Visual J++ and Borland JBuilder.  Object serialization: Allows lightweight persistence and communication via Remote Method Invocation (RMI). strings. including electronic signatures.The important thing required for writing stand-alone Java applications is a java compiler/interpreter. 3. While there are commercial offerings available. debugger. It contains a compiler. and certificates. well-tuned interpreters.  It is a well-structured.3 Features  It is an object-oriented internet programming language. Public/private key management. input and output.2. high performance and platform-independent  It is a distributed and interpreted language. and IP addresses. The core API is the API included in every full implementation of the Java platform.

2. 3. A software object maintains its state in variables and implements its behavior with methods. Typically. dynamic and portable.object can maintain private information and methods that can be changed at any time without affecting the other objects that depend on it. an object can be easily passed around the system.2.4 Advantages  Get started quickly  Write less code  Write better code  Develop programs faster  Avoid platform dependencies with 100% Pure Java:  Write once.3. 3. Also. It is multi-threaded. Software objects are modeled after real-world objects in that they. run anywhere  Distribute software more easily 3. encapsulation is used to hide unimportant implementation details from other objects 3. have state and behavior.2. .3.5 Object An object is a software bundle of variables and related methods.3.6 Encapsulation Packaging an object's variables within the protective custody of its methods is called encapsulation.2.3.  Information hiding.7 Benefits  Modularity-The source code for an object can be written and maintained independently of the source code for other objects. too.

2. All classes in Java (other than java. As interfaces are implicitly abstract. they must either be null. they cannot be directly instantiated except when instantiated by a class that implements the said interface. The class must implement all of the methods described in the interface. in object oriented programming. 3. . a Java class may implement. multiple inheritance of classes is not allowed. Object references in Java may be specified to be of an interface type.10 Method overriding Method Overriding. Furthermore. you create an object of that type and the system allocates memory for the instance variables declared by the class.2.3.lang. or be an abstract class.Object.8 Class A class is a prototype that defines the variables and methods common to all objects of a certain kind.2. An interface may never contain method definitions. is a language feature that allows a subclass to provide a specific implementation of a method that is already provided by one of its super classes. or be bound to an object that implements the interface. in which case.3. and may only contain method signatures and constant declarations (variable declarations that are declared to be both static and final).3. however an interface may not implement an interface.9 Interface An interface in the Java programming language is an abstract type that is used to specify an interface (in the generic sense of the term) that classes must implement. When you create an instance of a class. 3. and an interface may extend any number of interfaces. the root class of the Java type system) must have exactly one base class. One benefit of using interfaces is that they simulate multiple inheritance. Interfaces are declared using the interface keyword. The implementation in the subclass overrides (replaces) the implementation in the super class.3.

If we write the overloaded print methods for all objects our program will "print". or disallow method overriding in certain core classes. text or pictures. C++.e.A subclass can give its own definition of methods which also happen to have the same signature as the method in its super class. and the correct function call again. In this case one might like the method to be different when printing.2. To call the latter. Print(image_object P). A common error would be to assign a default value to the object in the second method. The two different methods may be overloaded as Print(text object T). 3. as some languages support covariance on return types. as the compiler wouldn't know which of the two methods to use. Thus. which would result in an ambiguous call error. Another example would be a Print (object O) method. Constraints on the similarity of return type vary from language to language. Such abstract classes have methods that do not perform any useful operations and are meant to be overridden by specific implementations in the subclasses. classes that exist only in order to have specialized subclasses derived from them. and is called with an empty parameter field. This may or may not involve an inability to subclass from a given class. an object must be passed as a parameter. the call is always: Print(something). doTask () and doTask (object O) are overloaded methods. abstract classes are designed — i. For example. D and Java that allows the creation of several methods with the same name which differ from each other in terms of the type of the input and the type of the output of the function. This means that the subclass's method has the same name and parameter list as the super class’s overridden method. . we never have to worry about the type of the object.3.11 Method overloading It is a feature found in various programming languages such as Ada. whereas the former does not require a parameter. Method overriding is an important feature that facilitates polymorphism in the design of object-oriented programs. In many cases. Some languages allow the programmer to prevent a method from being overridden. for example. C#. the abstract super class defines a common interface which all the subclasses inherit.

2. you are really just making a number of different methods that happen to have the same name.0 Transitional//EN"> <HTML> <HEAD><TITLE>Welcome to Our Store</TITLE></HEAD> <BODY> <H1>Welcome to Our Store</H1> . its implementation on a new operating system may involve a lot of work.AWT is also the GUI toolkit for a number of Java ME profiles. Since the opening of Java. But most CGI variations.Method overloading is usually associated with statically-typed programming languages which enforce type checking in function calls. a project called Caciocavallo has been created. graphics. JSP lets you create the two parts separately. static HTML with dynamically-generated HTML. especially for the set of AWT GUI widgets. even though most of it is always the same.12 AWT The Abstract Window Toolkit (AWT) is Java's original platform-independent windowing. Many Web pages that are built by CGI programs are mostly static. The project has successfully experimented the implementation of AWT widgets using Java2D Java Server Page: Java Server Pages (JSP) is a technology that lets you mix regular. As AWT is a bridge to the underlying native user interface. Here's an example: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4. It is resolved at compile time which of these methods are used 3. When overloading a method. which require the development from scratch of native peers for each of the AWT widgets. It aims to provide a Java API based on the Open JDK to ease AWT implementation on new systems. including servlets.3. make you generate the entire page via your program. and user-interface widget toolkit. with the dynamic part limited to a few small locations. The AWT is now part of the Java Foundation Classes (JFC) — the standard API for providing a graphical user interface (GUI) for a Java program.

. <!-. %> To access your account settings. HTTP and form submission data is not available to JavaScript. the dynamic part is written in Java. so it is more powerful and easier to use. leaving places for your servlet programmers to insert the dynamic content.println(Utils. Second. </BODY></HTML> Advantages of JSP: Active Server Pages (ASP) is a similar technology from Microsoft. not Visual Basic or other MS-specific language. JavaScript can generate HTML dynamically on the client. make database connections.html">here. JSP is better because it lets you use servlets instead of a separate program to generate that dynamic part. it is portable to other operating systems and non-Microsoft Web servers.getUserNameFromCookie(request)). But it is more convenient to write (and to modify!) regular HTML than to have a zillion println statements that generate the HTML. Plus. not for "real" programs that use form data. With the exception of cookies.User name is "New User" for first-time visitors --> <% out. This is a useful capability. click <A HREF="Account-Settings. SSI is really only intended for simple inclusions.</A></SMALL> <P> Regular HTML for all the rest of the on-line store's Web page. The advantages of JSP are twofold. SSI is a widely-supported technology for including externally-defined pieces into a static Web page. and the like. Pure Servlets . but only handles situations where the dynamic information is based on the client's environment.JSP doesn't give you anything that you couldn't in principle do with a servlet.<SMALL>Welcome. First. Besides. by separating the look from the content you can put different people on different tasks: your Web page design experts can build the HTML.

JavaScript can't access server-side resources like databases. and cheaper than traditional CGI and than many alternative CGI-like technologies. easier to use. of course. For example the results pages from search engines are generated this way. Regular HTML. Java Servlets: Servlets are Java technology's answer to CGI programming. the cost of using dynamic data would preclude its use in all but the most valuable instances. and the like. and programs that process orders for e-commerce sites do this as well. For example. . more portable. Previously. The Web page uses information from corporate databases or other such sources. a weather-report or news headlines page might build the page dynamically. you would use this for making a Web page at an on-line store that lists current prices and number of items in stock. For example. Advantage of Servlets Over "Traditional" CGI? Java servlets are more efficient. servlet developers get paid more than Perl programmers :-). cannot contain dynamic information. Building Web pages on the fly is useful (and commonly done) for a number of reasons: The Web page is based on data submitted by the user. The data changes frequently. pricing information. catalogs. They are programs that run on a Web server and build Web pages. JSP is so easy and convenient that it is quite feasible to augment HTML pages that only benefit marginally by the insertion of small amounts of dynamic data. more powerful. since it runs on the client.And. (More importantly. perhaps returning a previously built page if it is still up to date.

Portable. If the CGI program does a relatively fast operation. then the code for the CGI program is loaded into memory N times. Inexpensive. not a heavyweight operating system process. you already know Java. Similarly. in traditional CGI. This simplifies operations that need to look up images and other data stored in standard places. Microsoft IIS. making useful things like database connection pools easy to implement. however. simplifying things like session tracking and caching of previous computations. there are N threads but only a single copy of the servlet class. Nevertheless. a new process is started for each HTTP request. servlets written for. With servlets. Convenient. if there are N simultaneous request to the same CGI program. Java servlets let you easily do several things that are difficult or impossible with regular CGI. For one thing. keeping database connections open. Servlets also have more alternatives than do regular CGI programs for optimizations such as caching previous computations. the Java Virtual Machine stays up. reading and setting HTTP headers. which is free. With servlets. There are a number of free or very inexpensive Web servers available that are good for "personal" use or low-volume Web sites. with the major exception of Apache. With traditional CGI. Why learn Perl too? Besides the convenience of being able to use a familiar language. . tracking sessions. However. Hey. They can also maintain information from request to request. Consequently. and many other such utilities. say I-Planet Enterprise Server can run virtually unchanged on Apache. no matter the cost of that server. or WebStar. servlets can talk directly to the Web server (regular CGI programs can't).Efficient. and the like. Servlets can also share data among each other. the overhead of starting the process can dominate the execution time. most commercial-quality Web servers are relatively expensive. once you have a Web server. adding servlet support to it (if it doesn't come preconfigured to support servlets) is generally free or cheap. Powerful. servlets have an extensive infrastructure for automatically parsing and decoding HTML form data. Servlets are supported directly or via a plugin on almost every major Web server. Servlets are written in Java and follow a well-standardized API. handling cookies. and each request is handled by a lightweight Java thread.

They are not tied to a specific client-server protocol. Thus. as well as objects to reflect the servlet's configuration parameters and execution environment.Servlet: A servlet is a Java programming language class used to extend the capabilities of servers that host applications access via a response programming. The servlet API. a Web container must be used. The package javax. a software developer may use a servlet to adddynamic content to a Web server using the Java platform.servlet. a protocol by which a Java class may respond to requests. Therefore. mapping a URL to a particular servlet and ensuring that the URL requester has the correct access rights. they are commonly used to extend the applications hosted by Web servers. Servlets may be packaged in aWAR file as a Web application. or URL rewriting.[2] A Servlet is an object that receives a request and generates a response based on that request.servlet.[1] A Servlet is a Java class in Java EE that conforms to the Java Servlet API.http defines HTTP-specific subclasses of the generic servlet elements. including session management objects that track multiple requests and responses between the Web server and a client. Servlets can maintain state in session variables across many server transactions by using HTTP cookies. . contained in the Java package hierarchy javax. The generated content is commonly HTML. the word "Servlet" is often used in the meaning of "HTTP Servlet".NET. Thus. To deploy and run a Servlet. but may be other data such as XML. The Web container is responsible for managing the lifecycle of servlets. The basic servlet package defines Java objects to represent servlet requests and responses. it can be thought of as a Java Applet that runs on a server instead of abrowser. but are most often used with the HTTP protocol. A Web container (also known as a Servlet container) is essentially the component of a Web server that interacts with the servlets. Servlets are the Java counterpart to non-Java dynamic Web content technologies such as CGI and ASP. Although servlets can respond to any type of request. defines the expected interactions of the Web container and a servlet.

while JSPs embed Java code in HTML. While the direct usage of Servlets to generate HTML (as shown in the example below) has become rare. These services can include:      New features Runtime changes to content Runtime changes to presentation New standard protocols (such as FTP) New custom protocols . the higher level MVC web framework in Java EE (JSF) still explicitly uses the Servlet technology for the low level request/response handling via the FacesServlet. A somewhat older usage is to use servlets in conjunction with JSPs in a pattern called "Model 2".Servlets can be generated automatically from JavaServer Pages (JSP) by the JavaServer Pages compiler. The difference between Servlets and JSP is that Servlets typically embed HTML inside Java code. A servlet is a Java component that can be plugged into a Java-enabled web server to provide custom services. which is a flavor of the model-viewcontroller pattern.

The browser then generates an HTTP request for this URL. 1. like init (). the method of the parent class is called. the servlet can service client requests.  After initialization.   2. and destroy().Life cycle of a servlet  During initialization stage of the Servlet life cycle. Each request is serviced in its own separate thread. The developer of the servlet must provide an implementation for these methods. typically resulting in an error being returned to the requester. The service () method determines the kind of request being made and dispatches it to an appropriate method to handle the request. The server maps this request to a particular servlet. They are implemented by every servlet and are invoked at specific times by the server.  Finally. . These are init(). Three methods are central to the life cycle of a servlet. The Web container calls the service () method of the servlet for every request. The servlet is dynamically retrieved and loaded into the address space of the server. the Web container calls the destroy () method that takes the servlet out of service.   Assume that a user enters a Uniform Resource Locator (URL) to a web browser. If a request for a method that is not implemented by the servlet is made. Let us consider a typical user scenario to understand when these methods are called. service(). This request is then sent to the appropriate server. the web container initializes the servlet instance by calling the init() method. The HTTP request is received by the web server. The container passes an object implementing theServletConfig interface via the init() method. is called only once in the lifecycle of a servlet. This configuration object allows the servlet to access name-value initialization parameters from the web application. The destroy () method.

8.  The service () method is called for each HTTP request. 6. 4.   The server invokes the init () method of the servlet.3. It is possible to pass initialization parameters to the servlet so it may configure itself. important data may be saved to a persistent store. other HTTP requests received from clients. The memory allocated for the servlet and its objects can then be garbage collected. at some point. You will see that it is possible for the servlet to read data that has been provided in the HTTP request. This method is called to process the HTTP request. decide to unload the servlet from its memory. handles that are allocated for the servlet. The server may.  The algorithms by which this determination is made are specific to each server.  It may also formulate an HTTP response for the client. This method is invoked only when the servlet is first loaded into memory.   The server invokes the service () method of the servlet. The server calls the destroy () method to relinquish any resources such as file 7. The servlet remains in the server’s address space and is available to process any 5. .

FreeBSD. NetBSD. MySQL was owned and sponsored by a single for-profit firm. including Wikipedia. including AIX. Mac OS X. Drupal and other software built on the LAMP software stack. eComStation. Many programming languages with language-specific APIs include libraries for accessing MySQL databases. QNX. SunOS. and is a central component of the widely used LAMP open source web application software stack—LAMP is an acronym for "Linux. now owned by Oracle Corporation. i5/OS. as well as under a variety of proprietary agreements. MySQL. Applications which use MySQL databases include: TYPO3. Apache. Linux.1 MySQL is the world's most used relational database management system (RDBMS) that runs as a server providing multi-user access to a number of databases. several paid editions are available. MySQL is also used in many high-profile. Symbian. The SQL phrase stands for Structured Query Language. Sanos and Tru64. MySQL is an open source database management system and is used in some of the most frequently visited websites on the Internet. WordPress. Uses MySQL is a popular choice of database for use in web applications. IRIX. OpenBSD. Free-software-open source projects that require a full-featured database management system often use MySQL.3. The MySQL development project has made its source code available under the terms of the GNU General Public License. Microsoft Windows. OpenSolaris. A port of MySQL to OpenVMS also exists. Perl/PHP/Python". large-scale World Wide Web products. For commercial use. Novell NetWare. Solaris. phpBB.4 MYSQL 5. HPUX. BSDi. the Swedish company MySQL AB. Joomla. These include MySQL Connector/Net for integration with . Platforms And Interfaces MySQL works on many different system platforms. SCO OpenServer.3. and offer additional functionality. SCO UnixWare. OS/2 Warp.

The HTSQL . In the medium range. though further configuration is often required to adjust security and optimization settings. A typical high-end configuration can include a powerful master database which handles data write operations and is replicated to multiple slaves that handle all read operations. such as a multi-processor server with gigabytes of memory. multi-server MySQL deployments are required to provide improved performance and reliability. minimizing downtime.URL-based query method also ships with a MySQL adapter. it has gradually evolved to support higher-scale needs as well. Deployment MySQL can be built and installed manually from source code. On most Linux distributions the package management system can download and install MySQL with minimal effort. It is still most commonly used in small to medium scale single-server deployments. There are however limits to how far performance can scale on a single server. . MySQL can be scaled by deploying it on more powerful hardware. either as a component in a LAMP-based web application or as a standalone database server. The master server synchronizes continually with its slaves so in the event of failure a slave can be promoted to become the new master.Microsoft's Visual Studio (languages such as C# and VB are most commonly used) and the JDBC driver for Java. such as ASP or ColdFusion. which is enabled by an ecosystem of open source tools such as phpMyAdmin. but this can be tedious so it is more commonly installed from a binary package unless special customizations are required. so on larger scales. Much of MySQL's appeal originates in its relative simplicity and ease of use. allowing direct interaction between a MySQL database and any web client via structured URLs. or breaking down a database into smaller chunks called shards which can be spread across a number of distributed server clusters. Though MySQL began as a low-end alternative to more powerful proprietary databases. In addition. an ODBC interface called MyODBC allows additional programming languages that support the ODBC interface to communicate with a MySQL database. Further improvements in performance can be achieved by caching the results from database queries in memory using memcached.

only Rackspace offers managed hosting for MySQL databases. There are two common deployment models for MySQL on the cloud: Virtual Machine Image . of the major cloud providers. A third option is managed MySQL hosting on the cloud. Rackspace and Heroku. which runs on EC2. and the Xeround Cloud Database.Cloud-Based deployment Main article: Cloud database Another deployment option is running MySQL on cloud computing platforms such as Amazon EC2.cloud users can upload a machine image of their own with MySQL installed. or use a ready-made machine image with an optimized installation of MySQL on it. the database service provider takes responsibility for installing and maintaining the database. In this configuration. Instead.some cloud platforms offer MySQL "as a service". and application owners pay according to their usage. as well as extensions  Cross-platform support  Stored procedures  Triggers  Cursors . As of 2011. such as the one provided by Amazon EC2. application owners do not have to install and maintain the MySQL database on their own. where the database is not offered as a service.[26] Two notable cloud-based MySQL services are the Amazon Relational Database Service. MySQL as a Service . but the cloud provider hosts the database and manages it on the application owner's behalf. Features  A broad subset of ANSI SQL 99.

no automatic support for multiple masters per slave.  Full-text indexing and searching using MyISAM engine  Embedded database library  Partial Unicode support (UTF-8 and UCS-2 encoded strings are limited to the BMP)  ACID compliance when using transaction capable storage engines (InnoDB and Cluster)  Partititoned tables with pruning of partitions in optimiser  Shared-nothing clustering through MySQL Cluster . savepoints with InnoDB  SSL support  Query caching  Sub-SELECTs (i.e. Updatable Views  Information schema  Strict mode[further explanation needed]  X/Open XA distributed transaction processing (DTP) support.e. MySQL Archive for storing historical data in little space)  Transactions with the InnoDB. two phase commit as part of this. Master-Master Replication & Master-Slave Replication) with one master per slave. many slaves per master. and Cluster storage engines. using Oracle's InnoDB engine  Independent storage engines (MyISAM for read speed. nested SELECTs)  Replication support (i. InnoDB for transactions and referential integrity.

 Hot backup (via mysqlhotcopy) under certain conditions . CHAPTER 4 SYSTEM DESIGN .

Production Plan: “Production Plan” data source is a list of models quantities that are planned to be produced for a specific period. The inventory data is a snapshot of the inventory stock on the cutoff date.1 Modules Design 4.4. The order data is a snapshot of the dealer orders on the cutoff date. they must enter the username and password for encountered the process of car marketing. 4. . If already login means.1 Authentication: Authentication module contains user name and password.1.1.2 Supply Chain Process Sales: Sale stage generates the reporting sale data mart that covers the studied period. Inventory: Inventory stage generates the reporting inventory data mart. Orders: Order stage generates the reporting order data mart. New user means create the new account for enter that process of car product.

4. adjust body model/trim level mix with inventory data.1. mapping it and finally aggregating it for the purpose of research and analysis. storing it. This dimension is used to map vehicles “Franchise/ Year/ Model/ Package/ Option” to their "Codes/Descriptions/Option Types/Default Options”.4 Customers’ trends information Websites: Managers are interested especially in integrated data spanning DCX’s relationship with its customers and prospects regardless of whether the systems are online or offline. Geographic dimension is used to map “ZipCode” to “Zone/Business Center/ State”. TOPs dimension used to map all car configurations under production. DCX also wants to make early indication on which vehicle configurations are likely to sell well during new vehicles launching. These analyzes are related because they all require gathering data. improve model/trim level mix planning.3 Manufacturing information It Contains car configurations/packages/options codes and description. Dealer dimension id used to map DCX dealers. Having a data warehouse that combines online and offline behavioral data for decision-making purposes is a strategic tool which business users can leverage to improve sales demand forecasting.1. scrubbing it. DCX wants to help the inventory managers to move vehicles faster. In order to do this it needs to identify which vehicles stay long in stock as well as which vehicles move faster. “CarConfig” is used to store “Build and Price” configurations made on DCX web-sites. Web Activities: “Web Activity” data source is used to track all user web hits/requests on DCX websites . 4. and reduce days on lot.

4.2.1 Entity relationship diagram: .2 Data Model 4.

.

2.2 Data Dictionary: .4.

.

.

3.1 Context Analysis Diagram: .4.3 Process model: 4.

3.3 Architecture Diagram .4.

3.3 Data Flow Diagram Level 0: Level 1: Level 2: .4.

This step involves breaking down the system in different pieces and drawing diagram to analyze the situation. PHASE II-ANALYSIS The goal of systems analysis is to determine where the problem is in an attempt to fix the system. analysis. These methodologies form the framework for planning and controlling the creation of software development process. DCOII project plan depends on the V shaped modeling of verification phase starts at left of V shape.2.1. break down functions that need to be created. 5. code. coding starts at the bottom and validation phase starts right of the Vmodel. Different methodologies may call these phases by different names. implementation. development. which may be documents. PHASE I-PLANNING Planning is to generate a high-level view of the intended project and determine the goals of the project. Analyze project goals. the SDLC concept underpins many kinds of software development methodologies. In DCOII system V-model software development life cycle is followed.1.1. 5.1 PHASES OF SOFTWARE DEVELOPMENT The normal phases of a development project are planning. and enhancement. design.CHAPTER-V SOFTWARE DEVELOPMENT Software Development Life Cycle in systems engineering and software engineering. . Each phase has its own products. In software engineering. testing. and attempt to engage users so that definite requirements can be defined. but they are always present. is the process of creating or altering systems. which is diagrammatically represented as follows. and the models and methodologies that people use to develop these systems. or test results. 5.

They figure out possibilities and techniques by which the user requirements can be implemented. DCOII system design is developed by the webmaster based on the user requirements documents. Development stage is inter mingled with the next in that individual modules will need testing before integration to the man project..1 SOFTWARE TESTING : . Unit testing and module testing are done in this stage by the CDOII develops.5. data structures etc.4. PHASE IV-DEVELOPMENT Modular and subsystem programming code will be accomplished during this stage. of DCOII system is achieved by establishing schedules during project development. This document contains the general system organization.1.1. PHASE III-DESIGN Systems design is the phase where system engineers analyze and understand the business of the proposed system by studying the user requirements document.3. Chapter vi TESTING 6. Goals & targets. menu structures. 5. some samples screens are created. Software specification document which serves as a blueprint for the development phase is generated.

.

It is primarily concerned with user training. Implementation is one of the most important tasks in project. if the implementation phase is not carefully planned and controlled. INTRODUCTION It is the process of bringing developed system into operational use. the test of the network along with the system are also included under implementation. .1. site preparation and file-sites. because all the efforts undertaken during the project will be fruitful only if the tool is properly implemented according to the plans made.CHAPTER-VII SYSTEM IMPLEMENTATION 7. Implementation is the phase. Thus proper implementation is essential to provide a reliable system to meet managerial requirements. in which one has to be cautions. it can be lead to many critical problems. The implementation phase is less creative than system design.

which is characterized by reverse engineering and re-engineering technique. The second activities that contribute to a definition of maintenance occurs because of the rapid change that encountered in every aspect of computing. IMPLEMENTATION The system has been tested in the location of the developer. or to provide a better basic for future enhancements.Depending on the nature of the system extensive user training maybe required programming is itself a design works. In such a case the user when reports the errors it is possible to correct those errors as that coding has been documents and it is possible to find out the location where the error is occurring and the reason for error can be analyzed and corrected. 7. The fourth maintenance activity occurs when software is changed to improve future maintainability or reliability. modifications to existing function and general enhancements are received from the user. Here the new system is implemented to an operational use. Maintenance is far more than fixing mistakes. As the software is used new recommendations for new capabilities. This is often called preventive maintenance. Implementation is used here to mean the process of converting a new or revised system into an operation one. It may be that even after through testing the user will find errors.2. This developed system supports for corrective maintenance. Programming provides a real test for the assumption made by the analyst. The third activity that may be applied to definition of maintenance occurs when software package is successful. . The initial parameters of the management information system should be modified as a result of programming efforts. Adaptive maintenance – as activity that modifies software to properly interface with a changing environment – is both necessary and common place. to satisfy this request perceptive maintenance is used. But it is not possible to find all errors here. The maintenance can be defined using four activities that are undertaken after a program is released for use.

Chapter : viii PERFORMANCE AND LIMITATION 8. Later on it correspondence with this limitation may upgrade the system. which a team needs.As this software can be run with the requirements given above and it does not involve any particular hardware as such and it can be run with the rapid development that is being encountered in the computer industry. If there is a need to include any new modules then it has been externally and then includes to it with the exits architecture. But up to now the system holds all the possible reports generation tools.1 MERIT OF THE SYSTEM: .

1SAMPLE SCREENS: .Chapter: ix APPENDICES 9.

Chapter : x REFERENCES .