Report Final Sep1

download Report Final Sep1

of 53

Transcript of Report Final Sep1

  • 8/8/2019 Report Final Sep1

    1/53

    Finance Portal

    1. INTRODUCTION

    1.1 GENERAL INTRODUCTION

    The financial services industry offers great opportunities both for the investors

    and for the companies providing services to the investors. Many Web sites provides

    financial services to retail and institutional investors. Speculations in the stock

    markets are very popular in the United States, India and Europe, where the number of

    retail investors (i.e. online traders) is increasing every year.

    The project named Finance Portal(FP) provides a variety of financial data andinformation, acting as an information hub for clients who are individual investors

    requiring timely financial news and data to make their investment decisions.

    1.2 STATEMENT OF THE PROBLEM

    The main aim of the project is to create a web portal for giving financial news,

    stock market information and keep the portfolio of client. Nowadays for getting

    adequate information about financial market one must have to visit different websites,

    collect the different information and group them to get a summarized form.

    Also the investor needs to spend time for recording shareholding details of

    each days market move. Otherwise investor wont aware of current share holding

    status. Graph movements are not available in bookkeeping, authenticated information

    aren't get, reason behind movements aren't get and not easily get major world market

    indexes.

    1

  • 8/8/2019 Report Final Sep1

    2/53

    Finance Portal

    2. SYSTEM ANALYSIS

    2.1. EXISTING SYSTEM

    Existing system require paper work, manual computations. It follows the

    manual process and online with limited features .Today investor needs to collect

    information from different news sites, they have to go through the different world

    stock exchange index to get the current market status and investor needs to keep up to

    date details of holding shares(portfolio) .

    2.2 DRAWBACKS OF EXISTING SYSTEM

    o Existing system uses much amount of human resources.

    o Existing system doesnt provide appropriate information such as graphs, high

    price , low price etc.

    o Existing system doesnt provide share information within a period.

    o Total cost is relatively more.

    o Complex process.

    o Time taken for the information gathering is comparatively more.

    2.3 PROPOSED SYSTEM AND ITS FEATURES

    The system seeks to remove the major drawbacks of the existing ones. It is

    complete online process and interested viewers can easily make registrations for

    advanced features . The system works with the latest technology that is J2EE

    environment. The tools used for the system are of the latest versions. The proposed

    system works in different platforms and adds value for platform compatibility.

    2

  • 8/8/2019 Report Final Sep1

    3/53

    Finance Portal

    The system consists of different modules, having well defined functionalities.

    The system provides online facilities for the various clients to make registrations,

    view news, view stock market informations, store the holding share details etc. It also

    provides a better chance for improving stock performance

    information through the

    graph and currency rate helps the understanding of money market moving, inflation

    etc.

    The components are easily modifiable according to changing environments

    or addition of new modules to the system. The system is rich in graphic content.

    Finance portal has the following features

    Latest Technology.

    Access anywhere anytime application.

    Simplicity.

    Different information sources are combined to a single source.

    Faster response time.

    Portable platforms.

    Efficient Processing.

    Better information for decision making.

    Shows Graphical representation of share movements and returns from

    portfolio (share holding).

    2.3.1 ROLES AND FUNCTIONALITIES

    2.31.1 Registered userRegistered user can log into the system using the user name and password.

    Unregistered users(viewer) can register using the registration form. The

    functionalities of registered user are

    View financial news.

    View stock market information such as stock prices, major world stock

    market index such as Dow Jones, FTSE, Nifty, Nasdaq,Sensex.

    View currency rate.

    Add details of holding shares i.e. portfolio.

    3

  • 8/8/2019 Report Final Sep1

    4/53

    Finance Portal

    View portfolio according to current move and gain/loss.

    2.3.1.2 Viewer

    Viewers are normal user they can only view the financial news and stockmarket information .

    2.3.1.3 Editors

    Editors can log into the system using his username and password. He will be

    able to

    Upload news.

    Update the stock market movements based on report from reporter.

    Upload basic share details such as company name, share face value,

    listing date.

    Upload currency rate.

    Upload world stock market index movements. Delete news in the system.

    2.3.1.4 Reporter

    Reporter can log into the system using his username and password. He will be

    able to

    Upload live stock market movement report such as live share prices.

    2.3.1.5 Admin

    Admin is the first user in the system .He has the supreme power to access allprivileges. He will be able to

    Add editors, reporters and allot username and password.

    View all users profile information.

    Delete users in the system.

    2.4. FEASIBILITY ANALYSIS

    4

  • 8/8/2019 Report Final Sep1

    5/53

    Finance Portal

    Feasibility analysis is a test of a system proposal, according to its workability, impact on the

    organization, ability to meet the user needs and effective use of resources. Thus when a new

    application is proposed, it normally goes through a feasibility study before it is approved for

    development. The main objective of feasibility study is not to solve the problem but acquire a sense of

    its scope. During the study, the problem definition is crystallized and aspects of the problem to be

    included in the system are determined. Every project is feasible, given unlimited resources and infinite

    time. It is both necessary and prudent to evaluate of the project at the earliest possible time. So a

    detailed study was carried out to check the workability of the system. During the feasibility study of the

    project some primary area of interest is considered very carefully. They are:

    Economic Feasibility: -

    An evaluation of development cost weighed against the ultimate income or

    benefit derived from the developed system or product can be described as economic

    feasibility analysis. The system definitely calls for more economic investment as no

    existing system exists. But, the investment can be justified by the returns the system

    makes.

    Technical Feasibility: -

    A study of function, performance and constraint that may affect the ability to

    achieve an acceptable system can be referred to as technical feasibility. As the system

    requires minimum expertise for its operation and maintenance it can be stated to be

    technically feasible.

    Operational Feasibility :-

    Proposed projects are beneficial only if they can be turned into informationsystems that will meet the organizations operating requirements. This test of

    feasibility asks if the system will work when it is developed and installed. The project

    Finance portal system is aimed to be used as a general purpose software. One of the

    main problems faced during the development of a new system is getting acceptance

    from user. Being general purpose software there are no resistance from the user as this

    software is extremely beneficial for users.

    5

  • 8/8/2019 Report Final Sep1

    6/53

    Finance Portal

    3. SYSTEM DESIGN

    3.1 INTRODUCTION

    Design of the system is essentially a blue print or a plan for a solution for the

    system. The primary objective in this case is to design a system which delivers the

    functionality required by both the employer and job seekers to get the information

    relevant to each one of them. Detail design focuses on refinement to the architectural

    representation that lead to detail algorithm data structure and representation ofsoftware. System design is a creative art of inventing and developing inputs,

    databases, files, methods, and procedures for processing to get a meaningful output

    that satisfy the organization objectives.

    Software design is considered as the main part of software engineering process

    and is applied regardless of the software process model that is used. The foremost

    factor to be kept in mind is that design is the place where quality is fostered in

    software development. The system design includes the database design, the

    requirements specification for inputs, processing and outputs. In the design stage, the

    programming language and the platform in which the new system will run are also

    decided.

    There are several tools and techniques used for designing. These tools and

    technique are:

    Flow chart

    Data flow diagram(DFDs)

    Data Dictionary

    Structured English

    Decision table

    Decision tree

    The proposed system uses DFDs for designing purpose because it is found to

    be more suitable for this particular system design.

    6

  • 8/8/2019 Report Final Sep1

    7/53

    Finance Portal

    3.1.1 Requirements of Specification

    Software Requirement Specification (SRS) is a complete description of the

    behaviour of the system to be developed. Generally there are functional and non

    functional requirements with a system. Non functional requirements are requirements

    which impose constraints on the design or implementation.

    The following are the requirements

    The system should have high performance.

    The Database of the system must be secure.

    The system should be easy to maintain.

    The system is developed using J2EE technology so that it requires server

    which is compatible to deploy the project.

    There should be separate area for financial news, stock market information

    and portfolio.

    There should be separate accounts for registered users protected by

    username and password

    For the users to interact with the system a web browser is needed.

    3.1.2.1 DFD-Data Flow Diagram

    Analysis model helps as to understand the relationship between different

    components in the system. Analysis model shows the user clearly, how a system will

    function. This is the first technical representation of a system. The analysis modelling

    must achieve three primary objectives.

    To establish a basis for creation of software design.

    To describe what the user requires.

    To define set of requirements that can be validated once the software is built.

    A data flow diagram is a graphical technique that depicts information flow and

    transforms that are applied as data move from input to output. The DFD is used to

    represent increasing information flow and functional details. A level 0 DFD also

    7

  • 8/8/2019 Report Final Sep1

    8/53

    Finance Portal

    called fundamental system model represents the entire software elements as a single

    bible with input and output indicated by incoming and outgoing arrows respectively.

    The DFD is one of the most important tools used by the system analyst. It can

    be used for the visualization of data processing. DFD provides a graphical

    representation of the flow of data through an information system. DFD illustrates how

    data is processed by a system in terms of inputs and outputs. It is a picture of system

    processing and flow without excessive concern for details.

    The DFD showing the top level of the system is called Context Diagram. It

    should be an overview including basic inputs, processes and outputs. Then it is

    exploded in to more detailed lower level diagram that shows additional features of the

    system.

    The purpose of DFD is to provide a semantic bridge between users and system

    developers. The diagrams are graphical, eliminating thousands of words, logical

    representations, modelling what system does, hierarchical, showing system at any

    level of details; and Jargon less, allowing user interaction and reviewing.

    The goal of data flow diagramming is to have a commonly understood model

    of a system. The diagram is the basis of structured system analysis. Data flow

    diagrams are supported by other techniques of structured system analysis such as data

    structured diagram, data dictionaries and procedure representing techniques such as

    decision tables, trees and structured English.

    The basic elements of DFD are

    Rounded rectangle / circle : Used to represent functions.

    Arrows : Used to represent data flow.

    Rectangles : Used to represent external entities.

    Option box : used to represent data store.

    External Entity

    8

  • 8/8/2019 Report Final Sep1

    9/53

    Finance Portal

    Data flow

    Data store

    Process

    3.2 OUTPUT DESIGN

    Output design is a process that involves designing necessary outputs in the

    forms of report that should be given to the users according to the requirements.

    Output, generally refers to the results and information that are generated by the

    system. One of the most important factors of the system is the output it produces,

    Efficient; Intelligible output design should improve the system relationships with the

    user. When an analyst design computer output they identify the specific output that is

    needed to meet the information requirements. Select methods for presenting

    information create documents, report of the format that contains information produced

    by the system. Since the reports are directly referred by the management for taking

    decision and to draw conclusion they must be designed with almost care and details in

    the reports must be simple, descriptive and clear to the user. Depending on the nature

    of output required they can be displayed.

    The objective of the output design is to convey the information of all the past

    activities, current status and emphasize important events. The output generally refers

    to the results and information that is generated from the system. Output from the

    computers is required primarily to communicate the result of processing to the users.

    They are also used to provide a permanent copy of these results for later

    consideration.The main objectives of the output specifications are

    9

  • 8/8/2019 Report Final Sep1

    10/53

    Finance Portal

    To interpret and communicate the results of the computer part of a system to

    users in a form which they can understand and meet their requirements.

    To communicate the output design specification to programmers in a way thatis unambiguous comprehensive and capable of being translated in to a

    programming language.

    Choosing the output media is also the foremost important thing to be

    considered while drawing the outputs. The user depending upon the following can

    choose the output media.

    The suitability of the device to the particular application.

    The need for hard copy. The response time required.

    The location of the users.

    The software/hardware available.

    The cost of the media.

    Once the medium has been chosen, the output can be specified in detail

    appropriate to the device to be used.

    The proposed system is a web application project and all the output forms are

    web interface and these are implemented using JSP . For storing login information,

    news, Stock market details and user details Oracle 10g Database is used as backend.

    There approximately 20 screenshots in this project.

    3.3 INPUT DESIGN

    The user interface design is very important for any application. The goal

    designing input data is to make data entry as easy and it should be free from error as

    possible. Input design is the link between the information system and the user. The

    collection of input data is the most expensive part of system.

    The term describes a final system and the processes by which it is developed.

    It refers to the technical specification that will be applied in implementing the

    candidate system. It also includes the construction of programs and program testing.

    Input design is the process of converting user-oriented inputs to a computer based

    10

  • 8/8/2019 Report Final Sep1

    11/53

    Finance Portal

    format. The data is fed into the system using simple interactive forms. The forms have

    been supplied with message so that user can enter data without facing any difficulty.

    Errors entered by data entry operators can be controlled by correct input

    design. The general input forms also check for or even prevent data duplication as

    well as even deletion of important data. The goal of designing input interface is to

    make data entry as easy, logical and error free as possible, inputs are made using

    dialogues and data validations are done at the time of data input.

    The input design is made into user-friendly atmosphere where the user can

    perform the daily routine work without any ones help. The user friendly environment

    created by the input design helps the end user to use the software in a more flexible

    way and even the wrong entries by the user is correctly pointed out to the user.

    The goal of designing input data is make the automation easy and free from

    errors as possible. For providing a good input design for the application, easy data

    input and selection features are adopted.

    The activities to be carried out as part of the overall input process are as follows.

    Data Recording.

    Data transcription.

    Data conversion

    Data verification.

    Data control.

    Data transmission.

    Data validation.

    Data correction.

    In this project there are input forms for the registration of jobseekers as well as

    employers because of their varying purpose of use. The login form is common for all

    the three types of users in the system. Another form used for input of data is search

    form. There are mainly two types of search one from the employer side for resume

    search and the other from jobseeker side for job search so it should also produce

    11

  • 8/8/2019 Report Final Sep1

    12/53

    Finance Portal

    different forms for the employer and jobseeker. There is another form which is used

    to get the complaint details and the details of the user who has complaint. This is also

    useful for the future enhancement of the system and also for producing management

    output. Another form is sub user creating form for administrator to create sub users.

    The forms use some of the controls like textbox, radio button, drop down list etc.

    The users need to login to the system to avail the services. The employers and

    the job seekers have to go through the registration process before login to the system.

    When storing login details the role id to identify the type of the user is also stored.

    This is done internally so that the users need not know this. The username and

    password are stored in session at the time of login. These values are used for

    providing services to the user further. Taking into account the type of users with this

    system it can be analyzed that the input forms in this system should be gentle rather

    than colourful. Because of this the input forms are designed using light colours and

    white background so that it no longer looks cluttering with colour.

    3.4 DATABASE DESIGN

    Database design activity deals with the design of the physical database. A key

    is tp determine how the access path are to be implemented. A physical path is derived

    from a logical path. Pointers, chains or other mechanisms may implement it. Like

    other software engineering activities, data design creates (data architecting) creates a

    model of data, and/or information that is represented in at a higher level of

    abstraction. This data model is then refined into progressively more implementation

    specific representation that can be processed by the computer system. In many

    software applications, the architecture of the data will have a profound influence on

    the architecture of the system that must process it.

    The structure of data has always been an important part of the design. At the

    program component level, the design of data structure and the associated algorithm

    required to manipulate them is essential to the creation of high quality applications. At

    the application level, the transition of data model into database is pivotal to achieving

    the business objectives of the system. At the business level, the collection ofinformation stored in separate database are recognized into a data ware house enables

    12

  • 8/8/2019 Report Final Sep1

    13/53

    Finance Portal

    data mining or knowledge discovery that can have an impact on the success of thee

    business itself. In every case, data design plays an important role.

    The general theme behind a database is to handle information as an integrated

    whole. A database is a collection of interrelated data stored with minimum

    redundancy to serve user more efficiently and quickly. The general objective of

    database is to make information access easy, quick, inexpensive, integrated, and

    shared by different applications and users. Applications or users can access data

    through the database management system (DBMS).

    Design considerations

    The system is analyzed to the requirements and possible tables and fields are

    determined. Once we have drawn up the list of possible tables and fields, the next step

    in the logical database is to identify primary key of the table.

    Primary keys

    The Primary Key (PK) of a relational table uniquely identifies each record in

    the table. It can either be a normal attribute that is guaranteed to be unique or it can be

    generated by the DBMS. Primary keys may consist of a single attribute or multiple

    attributes in combination.

    Foreign Keys

    A foreign Key (FK) is a key comprised of a field or multiple fields that to the

    primary key of another table.

    Defining Relationship

    A relationship is the term used to describe a connection between related tables.

    Stated another way, it means having shared fields in different tables that allow records

    to reference record in another tables. There are three possible type of relationship:

    One-To-One Relationship

    13

  • 8/8/2019 Report Final Sep1

    14/53

    Finance Portal

    A One-To-One Relationship indicates that each record in the table may relate

    to only one in another table.

    One-To-Many-Relationship

    A One-To-Many Relationship indicates that each record in the table may

    relate to multiple records in a second table.

    Many To-Many Relationships

    A Many-To-Many Relationship indicates that many records in one table can

    relate to many records in another table.

    Normalization

    Ideally an applications database should start with a fully normalized data

    representation. Normalization is simply a method to analyze elements of data and

    their relationships. Normalization is a formal process of developing data structures in

    a manner that eliminates redundancy and promotes integrity. Normalization is

    achieved through a series of steps each of which correspond to a normal form (N F).

    the normal forms are a sequence of rules that are applied to progressively a database.

    The functions of normalization are

    To structure the data, so that any pertinent relationship between the entities

    can be represented.

    To permit retrieval of data in response to query and reports requests.

    To simplify the maintenance of data through updating, insertions, and

    deletions.

    To reduce the need to restructure or recognize data when new application

    requirements arise.

    3.5 PROGRAM DESIGN (Description of Algorithm)

    Finance portal (FP) is just a web portal deals with financial market .The front

    end used in the project is JSP and backend is oracle10g.

    14

  • 8/8/2019 Report Final Sep1

    15/53

    Finance Portal

    Here the system has 4 main modules namely user management, News centre,

    Market and portfolio and five type of users .

    User Management module

    This module deals with the user management functionalities

    Step 1: Add employees such as editor, reporter.

    Step 2: View all users in the system.

    Step 3: Edit user privileges.

    Step 4: a user.

    News centre module

    This module deals with the News centre functionalities

    Step 1: Editor Add news to FP .

    Step 2: Registered user and Viewer Views all uploaded news in the

    FP.

    Step 3: Delete a news.

    Step 4: Show top news and normal news.

    Market module

    This module deals with the money market functionalities like

    Step 1: Editor add basic share information such as company name, face

    value etc.

    Step 2: Reporter gives the current share price movement report.

    Step 3: Editor update the share prices, opening price, high price ,low

    price, last traded price and closing price based on the current share

    price from reporter.

    15

  • 8/8/2019 Report Final Sep1

    16/53

    Finance Portal

    Step 4: View market information such as current share price, currency

    rate and different market index.

    Step 5: Delete share information.

    Step 6: Generate graph of share movement.

    Portfolio module

    This module deals with the portfolio handling functionalities .

    Step 1: Add shareholding details of registered user. Step 2: View portfolio(stock holding) summary .

    Step 3: Return calculation based current stock market price.

    Step 4: Delete portfolio.

    16

  • 8/8/2019 Report Final Sep1

    17/53

    Finance Portal

    4. SOFTWARE FEATURES

    The application development architecture recognized for this software isspecified in this section. The application architecture is specified on the basis of

    requirements. The main development architecture used is J2EE.

    4.1 SOFTWARE SPECIFICATION

    Technology : J2EE, JDK 1.4 or higher.

    Web Server : Apache Tomcat 5.0.

    Graphic Tool : AdobePhotoshop 7.0,Macromedia Dream weaver 8.

    Backend : Oracle 10g.

    Platform : Windows XP/2000 or higher.

    4.2 HARDWARE SPECIFICATION

    Processor : Pentium 4 CPU Gigahertz.

    RAM : 256 MB.

    Hard Disk : 40 GB.

    Monitor : 15 inch.

    Mouse : 3 button scroll.

    Key board : 108 keys.

    4.3 SELECTION OF SOFTWARE

    About Java

    Java was introduced by Sun Microsystems in 1995 and instantly created a new

    sense of the interactive possibilities of the web. Originally it was called Oak. It was

    mainly developed for the development of software for consumer electronic devices.

    Both of the major Web browsers include a Java virtual machine (JVM). Almost all

    major operating system developers (IBM, Microsoft and others) have added Java

    complier as part of their product offerings.

    17

  • 8/8/2019 Report Final Sep1

    18/53

    Finance Portal

    It is a platform independent language. It is the first programming language that

    is not tied to any particular hardware or operating systems. Programs developed in

    Java can be executed anywhere on any system. The Internet helped propel Java to the

    forefront of programming, and Java, in turn, has had a profound effect on the Internet.

    Java is a true object-oriented language. It is a programming language

    expressly designed for use in the distributed environment of the Internet. It was

    designed to have the look and feel of the C++ language, but it is simpler to use than

    C++ and enforces a completely object-oriented view of programming. Java can be

    used to create complete application that may run on a single computer or bedistributed among servers and clients in a network. Java is generally regarded as the

    most strategic language in which to develop applications for the Web.

    It comes with an extensive set of classes, arranged in packages. The object

    model in Java is simple and easy to extend. It can also be used to build small

    application modules or applets for use as part of a Web page. Applets make it possible

    for a Web page user to interact with the page. Java could be easily incorporated into

    the Web system. Before Java, the WWW was limited to the display of still images and

    texts. But the incorporation of Java into Web pages has made it capable of supporting

    animation, graphics, games, and a wide range of special effects.

    The programs you create are portable in a network. The output is Byte code.

    Byte code is a highly optimized set of instructions designed to be executed by the

    Java run-time system. It is a code understood by any processor. Translating a Java

    program into byte code helps makes it much easier to run a program in a wide varietyof environments. Your program is complied into Java byte code that can be run

    anywhere in a network on a server or client that has a java virtual machine.

    The Java virtual machine interprets the byte codes into code that will run on

    the real computer hardware. We then get a class file with Class extension. Platform-

    specific versions of your programs are no longer needed.

    18

  • 8/8/2019 Report Final Sep1

    19/53

    Finance Portal

    About J2EE

    The Software Development Kit (SDK) comes mainly in 3 forms:

    Java2 Standard Edition (J2SE)

    Java2 Mobile Edition (J2ME)

    Java2 Enterprise Edition (J2EE)

    J2EE is a very effective concept used to build large scale components. It is an

    updated version of Java. The Java Community Programs (JCP) formed it.

    Why J2EE?

    It is used to simultaneously handle 1000s of users 24 hours a day, 7 days a week,

    without any downtime.

    About JSP (Java Server Pages)

    Java Server Pages are a technology for developing web pages that include

    dynamic content. The first Java Server Pages specification draft was released by Sun

    in early 1998. The JSP specification defines JSP as a technology for building the

    application for generating dynamic Web content such as HTML, DHTML and XML.

    A JSP contains standard mark up language elements such as HTML tags. JSP allows

    you to separate the mark up language code, such as HTML from the programming

    language. Instead of embedding HTML in programming code, JSP lets you to embed

    specialized code into HTML pages. JSP defines a number of standard elements useful

    for any web application, such as accessing Java Beans component, passing control

    between pages and sharing information between request, pages and users. The

    combination of standard elements and custom elements allows for creation ofpowerful web applications.

    19

  • 8/8/2019 Report Final Sep1

    20/53

    Finance Portal

    DATABASE Connectivity

    JDBC Process

    Although each J2EE component is different, J2EE components use a similar

    process for interacting with a DBMS. This process is divided into five routines. These

    include:

    Loading the JDBC driver

    The JDBC driver must be loaded before the J2EE component can connect to

    the DBMS. The Class.forName() method is used to load the JDBC driver. The

    parameter used in this method is sun.jdbc.odbc.JdbcOdbcDriver.

    Connecting to the DBMS

    Once the driver is loaded, the J2EEcomponent must connect to the DBMS

    using the DriverManager.getConnection() method. The Java.sql.DriverManager class

    in java.sql hierarchy is responsible for managing driver information. This method

    returns a Connection interface that is used throughout the process to reference the

    database.

    Create and Execute SQL Statement

    The next step after the connection is established is to send SQL query to

    DBMS for processing. The connect.createStatement () method is used to create a

    Statement object. The Statement object is then used to execute a query and return a

    Result Set object that contains the response from the database. Typically query is

    assigned to a String object, which is passed to the Statement objects execute Query ()

    method. Once the Result Set is received from the Database, the close () method is

    called to terminate the statement.

    20

  • 8/8/2019 Report Final Sep1

    21/53

    Finance Portal

    Process Data Returned by the DBMS

    The java.sql.ResultSet object is assigned the results received from the DBMSafter the query is processed. This object consists of methods used to interact with data

    that is returned by the DBMS to the J2EE component.

    Terminate the Connection to the DBMS

    The connection to the DBMS is terminated by using the close() method of the

    Connection object once the J2Eecomponent is finished accessing the DBMS.

    Although the database connection automatically closes the Result Set object, it isbetter to close the Result Set explicitly before closing the connection

    21

  • 8/8/2019 Report Final Sep1

    22/53

    Finance Portal

    5. SYSTEM TESTING

    System testing is a critical element of software quality assurance andrepresents the ultimate review of specification, design and coding. Testing is the

    process of exercising or evaluating a system by manual or automatic means to verify

    that it satisfies the specified requirements or to identify difference between actual and

    expected results. Testing enhances the integrity of a system by identifying deviations

    in design and development of the expected product. It should focus more on the error

    prone areas of application. Testing is an important part of the software development

    process, to detect bugs, improve software design and to reduce usability problems.

    5.1 Purpose

    A good test case is one that has a high probability of finding an as yet

    undiscovered error. They are all about making sure that the product fulfils the

    requirement of the system. Then all about making sure that the product fulfils the

    requirement of the system. Then the test procedures are designed for these test cases

    and finally test scripts are created to implement the procedures. Two types of test case

    designs are white box testing and black box testing. White box testing also called

    glass-box testing focus on the program control structure. Black box testing method

    focuses on the functional requirements of the software.

    5.2 Quality

    Quality software is reasonably bug-free, delivered on time and within budget,

    meets requirements and/or expectations, and is maintainable. However, quality is

    obviously subjective term. It will depend on who the customer is and their overall

    influence in the scheme of things. A wide-angle view of the customers of a software

    development project might include end-users, customer acceptance testers, customer

    contract officers, customer management, the development organizations management

    /accounts/testers/sales people, future software maintenance engineers, stockholders,

    magazine columnists, etc. Each type of customer will have their slant on quality- the

    22

  • 8/8/2019 Report Final Sep1

    23/53

    Finance Portal

    accounting department might define quality in terms of profits while an end-user

    might define quality as user-friendly and bug-free.

    Design and development planning should culminate in a plan that identifiers

    necessary tasks, procedures for anomaly reporting and resolution, necessary

    resources, and management review requirements, including formal design reviews. A

    software life cycle model and associated and activities should be identified, as well as

    those tasks necessary for each software life cycle activity.

    The software quality plan should include:

    The specific tasks for each life cycle activity;

    Enumeration of important quality factors (e.g.: reliability,

    maintainability, and usability);

    Method and procedure for each task;

    Task acceptance criteria;

    Criteria for defining and documenting outputs in terms that will allow

    evaluation of their conformance to input requirements;

    Input for each task;

    Output from each task;

    Role, resources, and responsibility for each task;

    Documentation of user needs;

    5.3 Testing Strategies

    A strategy for software testing integrates software test case design methods in

    to a well planned series of steps that results in the successful construction of the

    software. The strategy provides a road map that describes the step to be conducted aspart of testing, when these steps are planned and undertaken, and how much effort,

    time and resources will be required. Therefore any testing strategy must incorporate

    test planning, test case, design, test execution and resultant data collection and

    evaluation. A software testing strategy should be flexible enough to promote

    customized testing approach. At the same time, it must be rigid enough to promote

    reasonable planning and management tracking as the project processes. The project

    23

  • 8/8/2019 Report Final Sep1

    24/53

    Finance Portal

    manager, software engineer and testing specialists develop a strategy for software

    testing. The general characteristics of software testing strategy are:

    1 Testing begins at the component level and works outward toward the

    integration of the entire computer system.

    2 Different testing techniques are appropriate at different point in time.

    A strategy for software testing must accommodate low-level testis that are

    necessary to verify a small source code segment has been correctly implemented as

    well as high level testing that validate major system function against customer

    requirements.

    5.4 Dimensions of Testing

    1. Unit Testing.

    2. Integration Testing.

    3. User acceptance Testing.

    4. Data validation Testing.

    5. Final Testing.

    5.4.1 Unit Testing

    Unit test comprises of a set test performed by an individual programmer prior

    to the integration of the unit into large system. Program unit is usually small enough

    that the programmers who developed and can it in great detail and certainly in greater

    than will possible when the unit is integrated into evolving software project. Module

    unit testing should be an exhaustive as possible to ensure that each representation is

    handled by each module has been test.

    55555 Integration Testing

    Integration testing is a system technique for constructing the program structure

    while at the same time conducting test to uncover errors associated with interfacing.

    The objective is to take unit testing modules and build a program structure that has

    been dictated by design. Bottom-up integration is the traditional strategy used to

    integrate the components of a software system into functioning whole. Bottom-up

    24

  • 8/8/2019 Report Final Sep1

    25/53

    Finance Portal

    integration consists of a unit test followed by testing of the entire system. Subsystem

    consists of several modules that communicated with other defined interface. The

    errors were isolated and corrected to produce a fully functional system. Top-down

    integration method is an incremental approach to the construction of the program

    structure.

    5.4.2 Data Validation Testing

    Data validation is the process of testing the accuracy of data; a set of rule you

    can apply to a control to specify the type and range of data that can enter. It can be

    used to display error alert when users enter incorrect values into a form.

    5.4.3 Final Testing

    Final testing is a kind of testing and it comes at the final stage. It should be

    performed after inspection. It can defects whose consequences obvious but which are

    buried in complex code, and thus will be hard to detect while inspection.

    Project testing details

    In the project first step of testing is carried out through unit testing. In unit testing

    each form are verified separately. i.e. Modules of the software are tested separately. It

    is very easy to find errors and debug the software. After unit testing the integration

    testing is carried out. Integrated testing is used to find the overall software

    performance.

    In project implementation phase, source code contains both global and formal

    variables. It contains predefined functions as well as the user defined functions. The

    results of the new system are compared with old systems and if the result is wrong

    then the error is debugged again.

    Procedures and functions in the new system are very simple as that any one can

    understand and correspondingly act by the system with no difficulty.

    25

  • 8/8/2019 Report Final Sep1

    26/53

    Finance Portal

    6. SYSTEM IMPEMENTATION

    The final and important phase in the system in the life cycle is the

    implementation of the new system. The term implementation has different meanings

    ranging from the conversion of a basic application to a complete replacement of a

    computer system. The procedure however, is virtually the same. Implementation

    includes all those activities that take place to convert from old system to new. The

    new system may be totally new replacing an existing system manual or automated or

    it may be major modification to an existing system.

    Implementation simply means converting a new system into operation. An

    important aspect of the system analysts job is to make sure that the new design is

    implemented to establish standards. Implementation means the process of converting

    a new revised system in an operational one.

    The three types of implementation are

    Implementation of new computer system to replace an existing one.

    Implementation of modified application to replace an existing one.

    Implementation of a computer system to replace manual system.

    The method of implementation and time scale to be adopted is found out

    initially. Next the system is tested properly and at the same time users are trained in

    the new procedure .Proper implementation is essential to provide a reliable system to

    meet organization requirements. Successful implementation may not guarantee

    improvement in the organization using the new system, but it will prevent improper

    installation. The implementation involves the following things.

    Careful Planning

    Investigation of the system considerations.

    Design the method to achieve the changeover.

    Evaluation of change over method.

    Implementation of a new system requires the operating staff installing the

    software and creating computer files. There are many ways in which this can be

    achieved. The most common method is following.

    26

  • 8/8/2019 Report Final Sep1

    27/53

    Finance Portal

    Direct change over.

    Parallel Running.

    Pilot Running Change Over.

    Conversion

    The objective of conversion is to put the tested system into operation while

    holding costs, risks and personal problem to minimum.

    It involves three major steps

    Creating computer compatible files.

    Training the operation staff.

    Installing hardware/Software.

    Procedures and documents are unique to the conversion phase.

    Project implementation Details

    The proposed system Finance portal is a not entirely a new system in this

    category. This system is developed to eliminate the disadvantages of existing system.

    All the functionalities provided at the interface are developed using JSP using the

    editor Dream Weaver and the web server used for the deployment purpose is Tomcat.

    The database used is Oracle 10g for data storing.

    . The system is developed using platform independent language so that it will

    work with most of the platforms. Since it is a web based system the users of the

    system will reside remotely. Most of the browsers available today are compatible with

    the system so that the users can users any browser that is available with them.

    27

  • 8/8/2019 Report Final Sep1

    28/53

    Finance Portal

    7. CONCLUSION

    The project Finance Portal was completed successfully. This serves as a

    single point for giving updated financial information. All inputs given are validated

    properly, which makes the output more accurate. The system is more flexible and can

    be modified easily whenever needed.

    This system has been developed after going through all the phases in the

    development of the software. It has been developed to be user-friendly. The interfaces

    are designed and coded in such a way to minimize user input there by restricting the

    time and effort taken during the data entry process. This software is developed in such

    a way that future enhancements can be incorporated with a little change in the coding.

    The system is now designed so that the every novice user can use it in a very

    friendly manner. Comparing with other websites, this software and website will

    provide more friendliness to users. Since the system is developed using J2EE, it is

    platform independent and it can be run on any type of platform currently available.

    All the types of the phases such as system study, analysis, design etc are done and the

    several testing steps are also completed. The users are satisfied in all these aspects and

    so the system is very necessary. However we can add more details and make the

    system friendlier in the future.

    Also measure can be taken to enhance security features. All suggestions in the

    system proposal have been successfully completed and final threshold of the

    application has been crossed.

    28

  • 8/8/2019 Report Final Sep1

    29/53

    Finance Portal

    8. FUTURE ENHANCEMENTS

    Changes in software engineering technology are indeed rapid. By the time adecision is made to adopt a new method, conduct the training necessary to understand

    its application and introduce the technology into the software development culture,

    something new and bettor has come along, and the process begins.

    Computer software is one of the few key technologies that will have a

    significant impact on nearly every aspect of modern society. It is a medium for

    automating business, industry and government. It is also a medium for transferring

    new technology, a method for capturing valuable expertise for use by others and a

    window into a corporations knowledge.

    The purpose of future enhancement is to make updating in the developed

    software as the needs arise and the new technology comes. The future enhancement is

    subjected to the user needs and the technological growth. The system has been design

    and developed flexibly according to the current requirement of the user. As the

    information requirements may still increase in the near future. Further such

    development can be attempted.

    The following enhancement will be done in future.

    1. In future the market module can be enhanced by technical analysis such as

    candle stick chart.

    2. More services to the registered user by adding investors forum, mutual

    fund prices.

    3. Message alerts through SMS by incorporating mobile phone services.

    4. Facility to view live multimedia report from reporter.

    5. Facility to read company balance sheet, auditors report etc

    29

  • 8/8/2019 Report Final Sep1

    30/53

    Finance Portal

    BIBLIOGRAPHY

    1. Java Hand Book,Patrick Naughton,Tata Mc Graw Hill Publishing.

    2. Beginning Java Server Pages,Vivek Chopra,Rupert Jones, Jon

    Eaves ,Wiley Publishing, Inc.

    JSP 2.0 Complete reference, Phil Hanna, Tata Mc Graw Hill Publishing.

    Analysis and design of Information systems,James.A.senn,Second Edition,Tata Mc

    Graw Hill Publishing.

    3. National Stock Exchange ,www.nseindia.com.

    4. W3Schools,www.w3schools.com.

    5. Oracle tutorials,www.rfceditor.org,

    30

  • 8/8/2019 Report Final Sep1

    31/53

  • 8/8/2019 Report Final Sep1

    32/53

    Finance Portal

    LEVEL 1 DFD OF USERMANAGEMENT FOR ADMINISTRATOR

    Fig a2

    32

    AdministratorLogin

    Admin login

    Add

    editor

    Add

    reporter

    View

    users

    Delete

    Employee _login

    Employee

    Employee_ login

    Employee

    Registered_ user

    Employee

    Employee_login

    User_login

  • 8/8/2019 Report Final Sep1

    33/53

    Finance Portal

    LEVEL 1 DFD OF NEWSCENTER FOR EDITOR

    User name, password

    Fig a3

    33

    Editor

    Login

    Add

    news

    View

    news

    Delete

    news

    Employee_login

    News

  • 8/8/2019 Report Final Sep1

    34/53

    Finance Portal

    LEVEL 1 DFD OF MARKET FOR REPORTER

    Username,

    password

    Fig a4

    34

    Reporter

    Login

    Marke

    t live

    Employee_login

    Share

    Market _report

  • 8/8/2019 Report Final Sep1

    35/53

    Finance Portal

    LEVEL 1 DFD OF MARKET FOR EDITOR

    Username, password

    Fig no 5

    LEVEL1 DFD OF PORTFOLIO FOR REGISTERED USER

    35

    Editor

    Login

    Employee

    Add

    share

    Share

    Updat

    e

    Addcurrenc

    y rate

    Market_ index

    Share

    Market_ report

    Market_today

    Currency_rate

    Add

    Stock

    -market

    Index

    Share graph image files

  • 8/8/2019 Report Final Sep1

    36/53

  • 8/8/2019 Report Final Sep1

    37/53

  • 8/8/2019 Report Final Sep1

    38/53

    Finance Portal

    LEVEL 1 DFD OF NEWS CENTER FOR REGISTERED USER

    Fig a8

    38

    Registered

    user

    View

    news

    News

  • 8/8/2019 Report Final Sep1

    39/53

    Finance Portal

    LEVEL 1 DFD OF MARKET MODULE FOR VIEWER

    Fig a9

    39

    Viewer View

    Market

    Market_inde

    Currency_rate

    Share

    Market_ today

    Share graph image files

  • 8/8/2019 Report Final Sep1

    40/53

    Finance Portal

    LEVEL 1 DFD OF MARKET FOR REGISTERED USER

    Fig a10

    40

    Registered

    userView

    Market

    Market_ index

    Currency _rate

    Share

    Market_ today

    Share graph image files

  • 8/8/2019 Report Final Sep1

    41/53

    Finance Portal

    APPENDIX B

    TABLE DESIGN

    1 .TABLE NAME :- REGISTERED_USER

    FIELD NAME TYPE SIZE CONSTRAINT

    ID Number 4 Primary key

    Name Varchar2 20

    Contact address Varchar2 90

    Mobile no Varchar2 10Email Varchar2 40 Unique

    2. TABLE NAME :- USER_LOGIN

    FIELD NAME TYPE SIZE CONSTRAINT

    Id number 4 Foreign key

    Email Varchar2 40 Primary keyPassword Varchar2 15

    3. TABLE NAME:- ADMIN_LOGIN

    FIELD NAME TYPE SIZE CONSTRAINT

    Username Varchar2 20 Primary key

    Password Varchar2 15

    4. TABLE NAME:- EMPLOYEE

    FIELDNAME TYPE SIZE CONSTRAINT

    EID Varchar2 6 Primary key

    Name Varchar2 20

    Designation Varchar2 20

    41

  • 8/8/2019 Report Final Sep1

    42/53

    Finance Portal

    5. TABLE NAME:- EMPLOYEE _LOGIN

    FIELD NAME TYPE SIZE CONSTRAINT

    EID Varchar2 6 Foreign key

    username Varchar2 10 Primary key

    Password Varchar2 20

    6. TABLE NAME :- NEWS

    FIELD NAME TYPE SIZE CONSTRAINT

    Newsid Number 4 Primary key

    Newstype Varchar2 15

    Title Varchar2 40

    Rating Varchar2 7

    Industry Varchar2 10

    Article Varchar2 1000

    7. TABLE NAME:- SHARE

    FIELD NAME TYPE SIZE CONSTRAINT

    Isin Varchar2 15 Primary key

    Companyname Varchar2 25

    Symbol Varchar2 10

    Facevalue Varchar2 2

    Listing date Date

    Issued Capital Number 10

    42

  • 8/8/2019 Report Final Sep1

    43/53

    Finance Portal

    8. TABLE NAME:- Market_Today

    FIELD NAME TYPE SIZE CONSTRAINT

    Isin Varchar2 15 Foreign key

    Symbol Varchar2 10 Primary key

    Today Date

    Opening Number 4

    High Number 4

    Low Number 4

    Closing Number 4

    Ltp Number 4

    8. TABLE NAME:- Market_report

    FIELD NAME TYPE SIZE CONSTRAINT

    Reportno Number 5 Primary key

    Reporter Varchar2 15

    Reportdate Date

    Reporttime Timestamp(6) 6

    Isin Varchar2 15 Foreign key

    Symbol Number 10Price Number 4

    9. TABLE NAME:- Market_index

    FIELD NAME TYPE SIZE CONSTRAINT

    Id Number 2 Primary key

    Indexname Varchar2 10

    Point number 4

    10. TABLE NAME:- Currency_rate

    FIELD NAME TYPE SIZE CONSTRAINT

    Id Number 2 Primary key

    Currency name Varchar2 10

    Rate number 4

    43

  • 8/8/2019 Report Final Sep1

    44/53

    Finance Portal

    APPENDIX C

    INPUT FORMS

    Fig c1: News upload form.

    44

  • 8/8/2019 Report Final Sep1

    45/53

    Finance Portal

    Fig c2: User registration form.

    45

  • 8/8/2019 Report Final Sep1

    46/53

    Finance Portal

    Fig c3 : Login form for registered user.

    46

  • 8/8/2019 Report Final Sep1

    47/53

    Finance Portal

    Fig c4 : Portfolio adding form for registered user.

    47

  • 8/8/2019 Report Final Sep1

    48/53

    Finance Portal

    Fig c5 : Live share price report form for Reporter.

    48

  • 8/8/2019 Report Final Sep1

    49/53

    Finance Portal

    Output Forms

    Fig c6 : Stock summary form of Registered user portfolio.

    49

  • 8/8/2019 Report Final Sep1

    50/53

    Finance Portal

    Fig c7:News view form.

    50

  • 8/8/2019 Report Final Sep1

    51/53

    Finance Portal

    Fig c8:Detailed News view form.

    51

  • 8/8/2019 Report Final Sep1

    52/53

    Finance Portal

    Fig c9 Market update form

    52

  • 8/8/2019 Report Final Sep1

    53/53

    Finance Portal

    Fig c10 Market view