98
 CONTENTS 1. Introduction 1.1 Introduc tion t o Co mpany 1.2 Introduc tion t o Pr oject 1.3 Introduc tion t o Mo dules 2. Analysis Identification of Need 2.1 Fea sibi lity Study 2.2 Problem Specific ation 2.3 Require ment S pecifica tion 2. 3. 1 Cl ie nt re qu ir emen ts 2. 3. 2 Ha rd ware requir ements 2. 3. 3 soft ware re qu ir ements

Trade Tax Documentation

Embed Size (px)

Citation preview

Page 1: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 1/98

 

CONTENTS

1. Introduction

1.1 Introduction to Company

1.2 Introduction to Project

1.3 Introduction to Modules

2. Analysis

Identification of Need

2.1 Feasibility Study

2.2 Problem Specification

2.3 Requirement Specification

2.3.1 Client requirements

2.3.2 Hardware requirements

2.3.3 software requirements

Page 2: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 2/98

3. Selected Software

4. Design

4.1 Software Paradigm

4.2 Normalization

4.3 Data Dictionary

4.4 E-R Diagrams

4.5 Data Flow Diagrams.

5. Output Screens (Forms)

6. System Testing and Implementation

6.1 Test Data

6.2 Validations

7. Conclusion

8. Scope for Expansion

9. Bibliography

  Introduction to Company

iNEK  was established to actively meet the growing needs of various industries indelivering cost-effective IT solutions. iNEK was founded by a group of technocrats with

extensive experience in IT, we understand what it takes to keep us at the cutting-edge of 

technology. iNEK  Technologies is a full service Information Technology solutions provider specializing in e-business, ERP and CRM implementations, systems integration,

custom application design and development and computer programming services.

We provide a sophisticated range of IT solutions for achieving superior business

results to enable our clients to cut costs, respond rapidly to market needs, streamline

internal operations, enhance customer services and mitigate risks. iNEK key strength isour focused specialization in building, integrating and support mission-critical businessapplication and systems.

VISION

Making our customer’s businesses stronger by empowering them to be more responsive

to their customers and to the competitive environment.

Page 3: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 3/98

We’ll achieve this by focusing on the intersection of our client’s emerging needs and the

acceleration of business and technological change. Our commitment to innovation keepsus focused on the future and being ready at every level to service change.

MISSION

Every application we develop, every challenge we embrace, every investment in new

resources, every recommendation we make - is dedicated to one goal.

POLICY

To be competitive and proactive in providing software solutions to customers by

continuously striving to exceed their expectations.

We are dedicated to being the leader in providing quality products and services throughcontinuous refinement and improvements in our practice of procedures & methodologiesin our business and technical processes.

Develop and support highly motivated and trained teams of employees and support staff in order to maintain excellence.

Services:  iNEK  Technologies is a full service Information Technology solutions provider 

specializing in e-business, ERP and CRM implementations, systems integration, custom

application design and development and computer programming services. Since itsfoundation, iNEK  Technologies has been committed to total customer satisfaction,

quality services, reliable solutions, long-term partnerships, and a price/value structure.

iNEK  Technologies specializes in helping leaders refine business and function level

strategies, plan results-oriented strategic initiatives and drive relentless execution untilthose objectives are achieved. Leveraging innovative outcome oriented approaches,

iNEK  Technologies works with business leaders to refine and translate strategies

developed in-house or with the help of following areas.

iNEK  Technologies offers the following Software Process Consulting Services. The

Client has the option of An Integrated Software Process Improvement Program, wheresome or all of the services defined below are packaged together depending on the client's

requirements. iNEK  Technologies delivers the same through its Software ProcessImprovement Methodology (SPIM) .

Page 4: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 4/98

  CLIENTS

 

ABSTRACT

Computerized Information System for Trade Tax enables a

state commercial taxation department to improve its services using IT. The software

covers various aspects of the working of the department.

The trade / commercial tax department is the organization that collects tax on the sale or 

 purchase of goods at a certain point of sale as well as purchase of goods throughout the

state. It may be divided into various zones, regions, circles, divisions or sectors to

facilitate better monitoring and control.

To enforce the commercial tax laws and to check tax evasion, there are several road

check-posts, railway check-posts, mobile squads and special investigation branches.

Page 5: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 5/98

The ‘Computerized Information System for Trade Tax’

system has the following modules:

Dealer information system

Returns processing system

Dealer assessment system

Tax accounting system

Arrears recovery system 

INTRODUCTION

Project Overview

DealerInformationSystem 

Handles the registration of dealers under commercial tax and central sales tax:

It registers dealers under commercial tax and central sales tax, effectively checks the

mandatory enclosures, and displays warnings Effectively tracks amendments in the

 business details of dealers Issues duplicate registration certificates Monitors cancellation

of dealer registration Efficiently tracks transfer of dealers Keeps track of unregistered

dealers liable to pay tax Effectively maintains records of stocks of forms at various

offices, issues forms to dealers, and monitors forms lost and used. Issues show-cause

notices Generates an application status report for the monitoring of various applications

Page 6: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 6/98

ReturnsProcessSystem

Takes on the task of returns filing and monitoring of defaulters:

Periodicity of returns filing can be fixed / changed at any time with a minimum of effort

Monitors filing of returns under different acts (VAT, SAT, ET, CST) Effectively

generates a defaulter list for monitoring dealers who have not filed returns Displays the

list of defaulters for reminders / advance tax notices Issues revenue recovery certificates

(RRC)

DealerAuditingSystem

Controls the assessment of the dealers registered for trade tax and central sales tax:

Automatically generates and displays a list of dealers who are to be assessed Generates

hearing notices for assessment Assesses dealers on the basis of the returns filed

Effectively generates demand notices Monitors demand notices for compliance and

generates RRCs in case of non-compliance Effectively generates refund orders Adjusts

 payments against any other demands or payment of refunds after adjustment Reassesses

dealers (on a request by the dealer or the authority)

ArrearsRecoverySystem

Handles the collection of arrears from dealers and non-dealers:

Institutionalizes recoveries Issues demand notices under the Land and Revenue Act

Issues warrants for the attachment of movable / immovable assets Maintains a record of 

attached dealer assets Generates announcement notices for the auction of attached assets

Keeps records of auctions Automatically adjusts amounts in case a payment is made at

any point in time Automatically de-attaches assets in case a payment is made or a case is

decided in favor of the dealer Keeps a record of write-off cases

LuxuryTaxSystem

This module controls the registration of hoteliers under luxury tax:

Registers hoteliers under the law and issues registration certificates Generates penaltynotices in case of late registration Amends the registration details of the hotelier Issues

duplicate certificates when hoteliers lose permanent certificates Transfer of hoteliers

Cancels registration when sought by hoteliers Cancels registration when sought by

various authorities Captures details of unregistered hoteliers Processes returns along with

Page 7: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 7/98

challans Processes assessments and issues assessment orders and demand notices

Processes refund amounts in case of refunds Provides for appeals / revisions

ProfessionalTaxSystem

Caters to the registration and monitoring of dealers under the Professional Tax Act:

Registers dealers under the Professional Tax Act (both as employers and persons)

Generates penalty notices in case of late registration or furnishing of false information

Issues amended registration certificates to dealers in cases of amendments Issues

duplicate registration certificates Cancels registration when sought by an employer or 

 person Efficiently detects unregistered employers or persons Effectively tracks dealers

shifting their place of work Efficiently tracks returns filed by dealers Assesses dealers

and issues demand notices or refund orders Monitors cases under appeal / revision

IndustrialExemptionSystem

Deals with the exemptions given to dealers for starting new businesses:

Records and updates application details Identifies dealers eligible for exemptions

Provides an efficient method for verification of capping amounts and exemption periods

at the time of filing returns Issues provisional / permanent certificates for exemption /

deferment

INTRODUCTION TO MODULES

• Administrator Module

• Dealer Module.

• Supervisor Module

We have front end communicating with back end which has a driver interface

 between them and GUI components to interface with the user. For designing here we use

HTML and J2SE as front end and Orcal9i or higher as back end. The system works by

comparing the dates in the database with the current date of the server.

FUNCTIONALITY

Page 8: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 8/98

1. The administrator Functionalities

• Approve Dealer 

• Supervisor Management

• View Products

• Reports

2. Dealer Functionalities

• Edit Personal Information

• Product Management

• Order Details

3. Supervisor Functionalities

• Product Management

• Personal Information

• Tax Management

• Order Management

Page 9: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 9/98

 

Software Requirement Specification

Purpose of this document:

Software Requirement Specification will assist the

potential users to determine if the software specified meets

their needs or how the software must be modified to meet

their needs.

Page 10: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 10/98

And the complete descriptions of the functions which are

being carried out in the present system are to be performed by

the software specified in the SRS.

System Analysis:

Proposed System:

Information System for Trade Tax is specially designed for 

organization to keep track of employee leave –tracking. This system aims to reduce the

 paper-work to track-down employee leave with accuracy and minimal fuss, thus saving

time and money.

 

Our Trade Tax can retrieve the latest information for employees leave

application, leave cancellation, entitlement updating and leave approval which are

automated and user-friendly with the information displayed for preparing reports,

enquiries or updating relevant details.

By using this system the employee can apply, approve, cancel, postpone and

view leave records at their finger tips at anytime, anywhere.

Existing System:

In early days we maintain Information of an employee in the form of registers.

If we want to retrieve information regarding their leaves and dates we have to refer to

several sets of registers.

It was very time consuming and lengthy process .We needs to perform manual

upgrade whenever new features are added. It may lead to waste of time and money.

FEASIBILITY STUDY 

Page 11: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 11/98

Feasibility Study is a compressed capsule version of scope and objectives

is confirmed and corrected and any constraint imposed on the systems are identified.

Heuristics are searched as analyzed for feasibility. To yield a successful to the

organization that can be obtained through efficient feasibility study. These are a number 

of feasibility studies to be conducted by the three equally important tests of feasibility

studies are:

Technical Feasibility

Operational Feasibility

Economical Feasibility

TECHNICAL FEASIBILITY:

Evaluating the technical feasibility is the trickiest part of a feasibility study. This

is because, at this point in time, not too many detailed design of the system, making it

difficult to access issues like performance, costs on (on account of the kind of technology

to be deployed) etc. A number of issues have to be considered while doing a technical

analysis.

1. Understand the different technologies involved in the proposed system

Before commencing the project, we have to be very clear about what are the

technologies that are required for the development of new system.

2. Find out whether the organization currently possesses the required technologies

Is the required technology available with the organization?

If so is the capacity sufficient?

For instance – “Will the current printer be able to handle the new reports and

forms required for the new system?”

OPERATIONAL FEASIBILITY:

Page 12: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 12/98

Proposed projects are beneficial only if they can be turned into information

systems that will meet the organizations operating requirements. Simply stated, this test

of feasibility asks if the system will work when it is developed and installed. Are there

major barriers to Implementation? Here are questions that will help test the operational

feasibility of a project:

Is there sufficient support for the project from management from users? If the

current system is well liked and used to the extent that persons will not be able to

see reasons for change, there may be resistance.

Are the current business methods acceptable to the user? If they are not, users

may welcome a change that will bring about a more operational and useful

systems.

Have the user been involved in the planning and development of the project?

Early involvement reduces the chances of resistance to the system and in General

and increases the likelihood of successful project.

Since the proposed system was to help reduce the hardships encountered In the existing

manual system, the new system was considered to be operational feasible.

ECONOMIC FEASIBILITY:

Economic feasibility attempts 2 weigh the costs of developing and implementinga new system, against the benefits that would accrue from having the new system in

 place. This feasibility study gives the top management the economic justification for the

new system.

A simple economic analysis which gives the actual comparison of costs and

 benefits are much more meaningful in this case. In addition, this proves to be a useful

 point of reference to compare actual costs as the project progresses. There could be

various types of intangible benefits on account of automation. These could include

increased customer satisfaction, improvement in product quality better decision making

timeliness of information, expediting activities, improved accuracy of operations, better 

documentation and record keeping, faster retrieval of information, better employee

morale.

INCOME TAX:

Page 13: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 13/98

The income from the other sources is one of the means of income and hence, included in

the Gross Total Income. The classical examples are Royalty, pension, remuneration-

received, winnings from lotteries, winnings from the crossword puzzles, income from

horse race, Income from undisclosed means and income other than the above. The set off 

and carry forward of losses are reduced from the gross total income. This is availed as per 

the sections of 69 to 71 of the Income Tax Act 1961. The set off and carry forward of 

losses are availed subject to the conditions stipulated.

Income Tax Rates for the Assessment Year 2005-2006 Previous Year 2004-2005 are as follows

 TOTAL INCOMERATE OF TAX

≤ Rs. 50,000Nil

Rs. 50,000 – Rs. 60,000 10 percentRs. 60,000 – Rs. 1,50,000 20 percentRs. 1,50,000 and above 30 percent

 

SALES TAX:

Is a consumption tax charged at the point of purchase for certain goods and

services. The tax is usually set as a percentage by the government charging the tax. There

is usually a list of exemptions. The tax can be included in the price (tax-inclusive) or added at the point of sale (tax-exclusive).

Most sales taxes are collected by the seller, who pays the tax over to the

government which charges the tax. The economic burden of the tax usually falls on the

 purchaser, but in some circumstances may fall on the seller. Sales taxes are commonly

Page 14: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 14/98

charged on sales of goods, but many sales taxes are also charged on sales of services.

Ideally, a sales tax is "fair", has a high compliance rate, is difficult to avoid, is charged

exactly once on any one item, and is simple to calculate and simple to collect.

Corporate Tax

A company has been defined as a juristic person having an independent and separate

legal entity from its shareholders. Income of the company is computed and assessed

separately in the hands of the company. however the income of the company which is

distributed to its shareholders as dividend is assessed in their individual hands. Such

distribution of income is not treated as an expenditure in the hands of company, the

income so distributed is an appropriation of the profits of the company.

VALUE ADDED TAX:

The system had been postponed many times, mainly because of opposition from

the powerful trading lobby. Ashim Dasgupta, who heads a panel overseeing the

implementation of VAT, said: "We are very happy to announce that a broad consensus

among states was arrived at the meeting to introduce VAT on April 1, 2005." The

Congress-led new left-leaning United Progressive Alliance (UPA) government has made

implementing VAT one of its key priorities.

ORGANIZATION STRUCTURE OF THE INCOME TAX

AUTHORITIES IN INDIA

FINANCE MINISTRY 

CENTRAL BOARD OF REVENUE

CENTRAL BOARD OF DIRECT TAXES (CBDT)

Administrative Administrationof IT

Appellate Tribunal

Page 15: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 15/98

DirectorGeneral of 

Income Tax

Chief Commissionerof Income Tax

Commissionerof Income Tax

Appeals

HighCourt

Director of Income Tax

Commissionerof Income Tax

AdditionalCommissionerof Income Tax

Appeals

Supreme Court

AdditionalDirector of 

Income Tax

AdditionalCommissionerof Income Tax

 Joint Directorof Income Tax

 JointCommissionerof Income Tax

AssistantDirector of 

Income Tax

AssistantCommissioner

of Income taxIncome Tax

Officer

Income TaxInspector

Performance Requirements

Performance is measured in terms of reports generated according to the requirements.

Software Requirements:

 Operating System : Windows XP/2003 Server

Framework : MVC Architecture

Langages : Core Java, Servlets, JSPs, JDBC, HTML etc..,

Data Base : Oracle 9i

WEB Server : Tomcat 5.5v

Page 16: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 16/98

 Tools : Eclipse, My Eclipse, AJAX

 

Hardware Requirements:

  Intel Pentium : 600 MHz or above.

RAM (SD/DDR) : 1GB

Hard Disc : 30GB

Page 17: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 17/98

 

An Overview of Servlets And JSP Technology

What is JDBC and why JDBC?

JDBC is a front-end tool for connecting to a server and is similar to ODBC

however, JDBC can connect only Java client and it uses ODBC for the connectivity.

JDBC is essentially a low level application programming interface. It is called a low level

Page 18: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 18/98

API since any data manipulation, storage and retrieval has to be done by the program

itself. Some tools that Provide a higher level of abstraction is expected shortly.

The next question is why we need JDBC, once we have ODBC on hand. We can

use the ODBC to connect to all the databases and ODBC is a proven technology. Problem

for doing this is ODBC gives a ‘C’ language API, which uses pointer extensively, since

Java open JDBC to suit its needs.

Jdbc Driver Tipes

There are various types of driver, identified the sun such that each one has some

unique features and facilitates a connection to the database.

JDBC drivers fit into of four categories:

1. The JDBC-ODBC bridge provides JDBC access via most ODBC drivers. Note that

some ODBC binary code and in may cases database client code must be loaded on

each client machine that uses this diver so this kind of driver is most application on a

corporate network or for application server code written in Java in a 3-tier 

architecture.

2. A native-API partly-Java driver converts JDBC calls into on the client API for Oracle

Sybase Informix DB2 or other DBMS. Note that, like the bridge driver this style of 

driver requires that some binary code be loaded on each client machine.

3. A net-protocol all-Java driver translates JDBC calls into a DBMS-independent net

 protocol which is then translated, to a DBMS protocol by a server. This net server 

middle aware is able to connect its all Java client to many different databases. The

specific protocol used depends on the vendor. In general this is the most flexible

JDBC alternative. It is likely that all vendors of this solution will provide suitable for 

intranet requirements for security, access through firewalls, etc. that the web imposes

several vendors are adding JDBC drivers to their existing database middle aware

 products.

4. A native protocol driver 

  Jdbc Architecture

JDBC architecture is as follows

1. JDBC Driver Manager 

Page 19: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 19/98

2. JDBC Diver 

3. JDBC-ODBC Bridge

4. Application

JDBC Driver Manager

Function of the driver manager is to find out available driver in the system and connect

the application to the appropriate database, whenever a connection is requested.

However, to help the driver manager identify different types of drivers, each driver 

should be registered with the driver manager.

JDBC Driver:

Function of the JDBC driver is to accept the SQL calls from the application and convert

them into native calls to the database,. However, in this process it may take help from

some other drivers or even servers, which depends on the type of JDBC driver we are

using. It also is possible that the total functionally of the database server could be built

into the driver itself.

JDBC - ODBC Bridge :

Sun soft provides a special JDBC Driver called JDBC-ODBC bridge which can be used

to connect any existing database, that is ODBC complaint.

Servlet and JSP technology has become the technology of choice for developing

online stores, interactive Web applications, and other dynamic Web sites. Why? This

chapter gives a high-level overview of the reasons for its popularity. Later chapters

specific details on programming techniques.

A Servlet’s Job

Servlet are Java programs that run on applications servers. Acting as a middle layer 

 between requests coming from web browsers or other HTTP clients and databases or 

applications on the HTTP server. Their job is to perform the following tasks.

Read the explicit data sent by the client.

Page 20: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 20/98

The end user normally enters this data in an HTTP from on a web page. However the

data could also come from an applet or a custom HTTP client program. Chapter 4

discusses how servlet read this data.

Read the implicit HTTP request data sent by the browser.

The shows a single arrow going from the client to the web server (the layer where

servlets and JSP execute), but there are really two varieties of data: the explicit data that

the end user enters in a from and the behind-the –scenes HTTP information. Both

varieties are critical. The HTTP information includes cookies, information about media

types and compression schemes the browser understands and so forth it is discussed in

chapter 5.

Generate the results.

This process may require talking to a database, executing an RMI or EJB call, invoking a

web service, or computing the response directly your real data may be in a relational

database. Fine. But your database probably doesn’t  speak HTTP or return results in

HTML, so the web browser can’t talk directly to the database. Even if it could, for 

security reasons, you probably would not want it to.

The same argument applies to most other applications. You need the web middle layer to

extract the incoming data from the HTTP stream, talk to the application, and embed the

result inside a document.

Send the explicit data (i.e., the document )to the client.

This document can be sent in a variety of formats including text (HTML or XML), binary

(GIF images), or even a compressed format like zip that is layered on top of some other 

underlying format. But, HTML is by far the most common format, so an important,

servlet / JSP task is to wrap the results inside of HTML.

Send the implicit HTTP response data.

The shows a single arrow going from the web middle layer (the servlet or JSP page) to

the client. But there are really two varieties of data sent: the document itself and the

 behind-the –scenes HTTP information. Again both varieties are critical to effective

Page 21: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 21/98

development. Sending HTTP response data involves telling the browser or other client

what type of document is being returned (e.g., HTTP), setting cookies and caching

 parameters, and other such tasks.

Features of JSPJSP provides an attractive alternative to other dynamic scripting language by offering the

following features:

Platform independence:

  The use of adds versatility to a web application by enabling its execution on any

computer.

Enhanced performance:

 The compilation process in JSP produces faster results or output.Separation of logic from display:

The use of JSP permits the HTML-specific static content and a mixture of HTML, Java,

and JSP-specific dynamic content to be placed in separate fillies.

Ease of administration

  The use of JSP eliminates the need for high-level technical expertise, thereby helping

web developers, content creators, and content managers to work together and develop

Java-based applications in less time and with less effort.

Ease of use:

All JSP applications run on major web server and operating systems, including Microsoft

IIS, Netscape enterprise server, I Planet web server, and apache web server. These

applications are available on Windows NT, windows 2000, and solaris7.

Competing Products across Platforms:

Competing products include active server pages (ASP), hypertext pre processor(PKP)

and Java script.

JSP versus ASP:

ASP is the immediate competing technology from Microsoft. The dynamic content of 

JSP is written in Java, in contrast to that of ASP, which is written using an ASP-specific

Page 22: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 22/98

language, such as VBScript. As a result, complex applications can use the power of Java

to result and embed Java components in JSP applications, second, JSP is portable to other 

operating systems and servers in contrast to the allegiance of ASP to windows

 NT/2000and IIS.

JSP versus PHP:

PHP is similar to ASP and JSP to a certain extent. PHP is a free, open-source, HTML-

embedded, server-side scripting language, with basic HTML knowledge, however, a

VBScript programmer can write ASP applications and a Java programmer can create JSP

applications, whereas PHP requires learning an entirely new language, second by virtue

if the power of Java, JSP has access to an extensive API for networking, database access,

and objects distribution.

JSP Objects & its Scopes

In JSP there are two types of objects.

Implicit objects

Explicit objects

Implicit objects are automatically created.

Explicit objects are created using actions.

Whenever a request has been made for a JSP PAGE, JSP page will create two types

of objects. They are:

1. Implicit objects

2. Explicit objects

Implicit objects are automatically created by the JSP web developers can use this

objects for their processing.

Explicit objects are created thought actions. Scripting code is used to create these

explicit objects. Every explicit object has some visible attribute. Scripting elements can

access the explicit objects thought scripting-level variables.

JSP defines several scopes for JSP objects.

Objects Scopes:

JSP defines several scopes for objects. Scopes are used to indicate the context in

which the bean should be made available.

Page 23: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 23/98

Four types of scopes. They are:

1. Page

2. Request

3. Application

4. Session

While process the request, the JSP page can create and /or the some Java objects.

Scopes are used to indicate the context in which the dean should be made

available in JSP there are four scopes are available. They are:

Page:

It is the default scopes for all the Java objects. It is used to indicate that the objects are

only available on the current page. Once the response is sent back or the request is

forwarded somewhere else all the object reference, which has the page scope, will be

released object that contains

Page scope is stored in the page Content object of the current page.

Request:

The request scope is used to indicate that the objects are only available for the current

client request. If the request is forwarded to a resource in the same runtime, the Object is

still available. Once the request is processed, all the object reference, which has the

request scope, will be released. Objects that contain request scope will be released.

Object references that contain request scope are stored in the request Object.

Session:

The session scope indicates that the available to all pages during the life of the current

session. All references to the objects shall be released after the associated session ends.

References to objects with session scope are stored in the session objects associated with

the page activation.

Application:

Page 24: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 24/98

The application scope indicates that it is available to all pages that share the same context

object references which contain the application scope will be released when the runtime

environment reclaims the servlet context objects references that contain the application

scope are stored are stored in the application objects associated with the page activation.

Directives And Actions:

JSP elements can be directives or actions. Directives elements provide global information

for the translation phase. Actions elements provide for the request-processing phase. New

action can be created from the tag extension mechanism.

JSP:

Elements can be directives or actions. Directive elements are used to provide global

information, which is not dependent for any specific received by the JSP page. For 

example directive elements can be used to include the external file inside the JSP PAGE.

Action elements provide information, which is dependent on the details of the specific

request received by the JSP page.

Directive elements provide information for the compilation/translation phase.

Action can create some objects and may make available to the scripting element. Action

elements follow the syntax of XML elements.

JSP contains a tag extension mechanism that enables the addition of new actions.

Because of the mechanism JSP can b easily portable. Actions can be customized to

 provide access to the attribute values and to their body. Custom action be nested and their 

 bodies can include scripting elements.

ODBC:

Two distinct ways to access ODBC data sources with DAO the Microsoft Jet database

engine DBC direct Microsoft jet provides a broad range of functionality. It handles many

of the details of establishing and managing connection, translating queries into a form

acceptable to the server, and managing returned data in some cases, if you want to bypass

the micro soft Jet database engine and use DAO to make calls directly to the ODBC

driver manager. This functionality is available through ODBC Direct.

Page 25: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 25/98

The following steps offer a "quick start" to accessing ODBC data:

1. Use the ODBC data source manager in the windows control panel to setup your 

ODBC data source and assign it a data

2. Source name (DSN)3. In your Visual Basic code, set an ODBC connect string that references the data

source. The connect string is used to establish a connection to the data source

4. Create a new table def object and set it’s connect string to the value specified in

step two.

5. Append the table to the table defs collection

6. Open a record-set object on the linked table. This record-set

7. Object contains data in your OBDC data source and you can manipulate it using the

 properties and methods of a record-set object.

Page 26: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 26/98

Page 27: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 27/98

 

System Design

SOFTWARE ENGINEERING PARADIGM APPLIED- (RAD-MODEL)

The two design objectives continuously sought by developers are reliability and

maintenance.

Reliable System

  There are two levels of reliability. The first is meeting the right requirements. A

careful and through systems study is needed to satisfy this aspect of reliability. The

second level of systems reliability involves the actual working delivered to the user. At

this level, the systems reliability is interwoven with software engineering and

development. There are three approaches to reliability.

1. Error avoidance: Prevents errors from occurring in software.

2. Error detection and correction: In this approach errors are recognized whenever they

are encountered and correcting the error by effect of error, of the system does not fail.

3. Error tolerance: In this approach errors are recognized whenever they occur, but

enable the system to keep running through degraded perform or by applying values

that instruct the system to continue process.

Maintenance:

While working it is the Key to reduce the need for maintenance, if possible to do

essential tasks.

1. More accurately defining user requirement during system development.

2. Assembling better systems documentation.

3. Using more effective methods for designing, processing, login and communicating

information with project team members.

4. Making better use of existing tools and techniques.

Page 28: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 28/98

5. Managing system engineering process effectively.

Output Design

One of the most important factors of an information system for the user is the

output the system produces. Without the quality of the output, the entire system may

appear unnecessary that will make us avoid using it possibly causing it to fail. Designing

the output should process the in an organized well throughout the manner. The right

output must be developed while ensuring that each output element is designed so that

 people will find the system easy to use effectively.

The term output applying to information produced by an information system

whether printed or displayed while designing the output we should identify the specific

output that is needed to information requirements select a method to present the

formation and create a document report or other formats that contains produced by the

system.

Types of output

Whether the output is formatted report or a simple listing of the contents of a file, acomputer process will produce the output.

• A Report

• A Document

• A Message

• Retrieval from a data store

• Transmission from a process or system activity

• Directly from an output sources

Layout Design

It is an arrangement of items on the output medium. The layouts are building a

mock up of the actual reports or document, as it will appear after the system is in

Page 29: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 29/98

operation. The output layout has been designated to cover information. The outputs are

 presented in the appendix.

Input design and control

Input specifications describe the manner in which data enter the system for 

 processing. Input design features will ensure the reliability of the systems and produce

results from accurate data, or thus can be

result in the production of erroneous information. The input design also determines

whenever the user can interact efficiently with this system.

Objectives of input design

Input design consists of developing specifications and procedures for data

 preparation, the steps necessary to put transaction data into a usable from for processing

and data entry, the activity of data into the computer processing. The five objectives of 

input design are:

• Controlling the amount of input

• Avoiding delay

• Avoiding error in data

• Avoiding extra steps

• Keeping the process simple

Controlling the amount of input

Data preparation and data entry operation depend on people, because labour costs

are high, the cost of preparing and entering data is also high. Reducing data requirement,

input requirement the speed of entire process from data capturing to processing will

increase to provide results for users.

Avoiding delay

Page 30: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 30/98

The processing delay resulting from data preparation or data entry operations is

called bottlenecks. Avoiding bottlenecks should be one objective of input.

Avoiding errors

Through input validation we control the errors in the input data.

Avoiding extra steps

The designer should avoid the input design that cause extra steps in processing saving or 

adding a single step in large number of transactions saves a lot of processing time or 

takes more time to process.

Keeping process simple:

If controls are more people may feel difficult in using the systems. The best-designed

system fits the people who use it in a way that is comfortable for them.

  Data dictionary

Admin-Table

The administrator is the person who is authorized to access all the

leaves and to scrutinize the leave0. So it is must to provide some mechanism for 

accessing this account .So this table contains the details pertaining to the administrator 

for his login. This table contains only one tuple which contains the details of the

administrator.

Field Type Size constraint Description

Uname Varchar2 15

 Primary key

Administrator- Name

Pwd Varchar2 10 Not null Administrator-

 password

Page 31: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 31/98

Dealer-table

  This is the dealer table, which includes user id and password details of the

candidate. Every candidate has his unique user id and password. The candidate can login

into his account by making use of the dealer id and login.

Field Type Size Constraint Description

DELERID Varchar2 25 Primary key Dealer-id

FNAME Varchar2 25 Not null First Name

LNAME Varchar2 10 Not Null Last Name

UNAME Varchar2 25 Not Null User Name

PWD Varchar2 10 Not Null Dealer-

 password

PHN Varchar2 15 Not Null Phone-

 Number 

EXT Varchar2 10 Not Null

MOBILE Varchar2 15 Not Null Mobile- Number 

EMAIL Varchar2 25 Not Null Email-id

ADDR Varchar2 50 Not Null Address

CITY Varchar2 15 Not Null City name

STATE Varcahar2 15 Not Null State Name

CNTRY Varchar2 15 Not Null Country-

 Name

ZIP Varchar2 10 Not Null

BNAME Varchar2 25 Not Null Business-

 Name

BLOC Varchar2 15 Not Null Business-

Location

Page 32: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 32/98

BPHN Varchar2 15 Not Null Business-

 phone

  Order-Table

Employee table contains details of employees and his department number And his

superior number so this table contains employee name, date of birth, date of joining,

email-id and so on.

 

Field Type Size Constraint Description

ORDID Varchar2 15 Primary-Key Order-id

DEALERID Varchar2 15 Not Null Dealer-id

PRODID Varchar2 15 Not Null Product-id

PRODNAME Varcahr2 15 Not Null Product-Name

QTY Number 15 Quantity

PRODCOST Number 10 Product-Cost

VAT Number (10,3) Value-added-tax

IT Number (10,3) Income-Tax

ST Number (10,3) Sales-Tax

CT Number (10,3) Corporate-Tax

TOTCOST Number (10,3) Total-Cost

ORDATE DATE Order-Date

APRDDATE DATE Approval-Date

STATUS Varchar2 25 Not Null Status

 

Page 33: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 33/98

Product-Table:

Field Type Size constraint Description

PRID Varchar2

 

15

 Not-Null Product-Id

PRNAME Varchar2 25 Primary Key Product-Name

QTY Number 10 Not-Null Quantity

EXPDATE DATE Expiry-Date

UNITTYPE Varchar2 15 Not-Null Unit-Type

PCOST Number 10 Product-Cost

STATUS Varchar2 15 Not-Null Status

Supervisor-details: 

Field Type Size constraint Description

SID Varchar210

Primary keySupervisor-Id

UNAME Varchar2 15 Not null User-Name

PWD Varchar2 15 Not-Null Password

FNAME Varchar2 15 Not-Null First-Name

LNAME Varchar2 15 Not-Null Last-Name

PHONE Varchar2 15 Not-Null Phone-Number  

Page 34: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 34/98

EMAIL Varchar2 15 Not-Null Email-Id

Unit Table:

 

Field Type Size constraint Description

UNID Varchar2

 

15

 

 Not-Null

Unit Type

UNITTYPE Varchar2 25 Primary Key Unit-Type

VAT Number (10,3) Value-Added-

Tax

IT Number (10,3) Income-Tax

ST Number (10,3) Sales-Tax

CT Number (10,3) Corporate-Tax

Design Document

• The entire system is projected with a physical diagram which

specifics the actual storage parameters that are physically necessary for any

database to be stored on to the disk. The overall systems existential idea is

derived from this diagram.

• The relation upon the system is structure through a conceptual ER-

Diagram, which not only specifics the existential entities but also thestandard relations through which the system exists and the cardinalities that

are necessary for the system state to continue.

Page 35: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 35/98

DATA FLOW DIAGRAMS

Data flows are data structures in motion, while data stores are data structures.

Data flows are paths or ‘pipe lines’, along which data structures travel, where as the data

stores are place where data structures are kept until needed.

Data flows are data structures in motion, while data stores are data structures at

rest. Hence it is possible that the data flow and the data store would be made up of the

same data structure.

Data flow diagrams is a very handy tool for the system analyst because it gives

the analyst the overall picture of the system, it is a diagrammatic approach.

A DFD is a pictorial representation of the path which data takes from its initial

interaction with the existing system until it completes any interaction. The diagram will

describe the logical data flows dealing the movements of any physical items. The DFD

also gives the insight into the data that is used in the system i.e., who actually uses it is

temporarily stored.

A DFD does not show a sequence of steps. A DFD only shows what the different

 process in a system is and what data flows between them.

The following are some DFD symbols used in the project

External entities

Data Flow Process

Process: A transaction of information that resides within

the bounds of the system to be module.

Data Store: A repository of data that is to be

stored for use by one or more processes may be as

simple as buffer of queue or as a relational

database.

Page 36: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 36/98

Logi

Add Del upda

Add Del Upda

Level - 0

Page 37: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 37/98

Administrator 

Level - 1

Page 38: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 38/98

Dealer Reg

 

Dealer 

Page 39: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 39/98

Supervisor Lo

Supervisors

Page 40: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 40/98

UseCaseDia

1.Administrat

Page 41: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 41/98

2.Dealer 

Page 42: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 42/98

 

3.Superviso

Page 43: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 43/98

Activity Diagram1.Administrator 

Page 44: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 44/98

2.Dealer 

Page 45: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 45/98

3.Supervisor 

 

Page 46: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 46/98

Log in Add

Log in

Sequence

Page 47: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 47/98

Register 

Registe

Page 48: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 48/98

Login

Log in

Page 49: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 49/98

ClassDiagram

Administrator 

- password

+ Name

- Logid

Page 50: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 50/98

ER-diagrams

 The entity Relationship Diagram (ERD) depicts the relationship between the data

objects. The ERD is the notation that is used to conduct the date modeling activity the

attributes of each data object noted is the ERD can be described resign a data object

descriptions.

• The set of primary components that are identified by the ERD are

Data object

Relationships

Attributes

Various types of indicators.

• The primary purpose of the ERD is to represent data objects and their 

relationships.

Page 51: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 51/98

 

1.Administrator 

E R Diagram :

Invoice

Page 52: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 52/98

2.Dealer 

Assigne

 Tax-na

Page 53: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 53/98

3.supervisor 

 

Page 54: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 54/98

 

Page 55: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 55/98

Page 56: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 56/98

Page 57: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 57/98

Page 58: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 58/98

Page 59: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 59/98

Page 60: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 60/98

Page 61: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 61/98

Page 62: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 62/98

Page 63: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 63/98

Page 64: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 64/98

Page 65: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 65/98

Page 66: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 66/98

Page 67: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 67/98

Page 68: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 68/98

Page 69: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 69/98

 

Page 70: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 70/98

Page 71: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 71/98

Page 72: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 72/98

Page 73: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 73/98

Page 74: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 74/98

Page 75: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 75/98

Page 76: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 76/98

Page 77: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 77/98

Page 78: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 78/98

Page 79: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 79/98

Page 80: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 80/98

Page 81: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 81/98

Page 82: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 82/98

Page 83: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 83/98

Page 84: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 84/98

Page 85: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 85/98

Page 86: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 86/98

Page 87: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 87/98

Page 88: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 88/98

Page 89: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 89/98

Page 90: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 90/98

  Testing

Software testing is a critical element of software quality assurance and

represents the ultimate review of specification, design and coding. Testing is the

exposure of the system to trial input to see whether it produces correct output.

Page 91: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 91/98

Testing Phases:

Software testing phases include the following:

• Test activities are determined and test data selected.

• The test is conducted and test results are compared with the

expected

Results.

There are various types of Testing:

Unit Testing:

Unit testing is essentially for the verification of the code produced duringthe coding phase and the goal is test the internal logic of the module/program. In the

Generic code project, the unit testing is done during coding phase of data entry

forms whether the functions are working properly or not. In this phase all the

drivers are tested they are rightly connected or not.

Integration Testing:

All the tested modules are combined into sub systems, which are then tested.

The goal is to see if the modules are properly integrated, and the emphasis being on

the testing interfaces between the modules. In the generic code integration testing is

done mainly on table creation module and insertion module.

System Testing:

Page 92: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 92/98

It is mainly used if the software meets its requirements. The reference document

for this process is the requirement document. Acceptance Testing:

It is performed with realistic data of the client to demonstrate that the

software is working satisfactorily. In the Generic code project testing is done tocheck whether the Creation of tables and respected data entry was working

successfully or not.

Testing Methods:

Testing is a process of executing a program to find out errors. If testing is

conducted successfully, it will uncover all the errors in the software. Any testing

can be done basing on two ways:

White Box Testing:

It is a test case design method that uses the control structures of the

 procedural design to derive test cases. using this testing a software Engineer can

derive the following test cases:

Exercise all the logical decisions on either true or false sides. Execute all loops at their 

 boundaries and within their operational boundaries. Exercise the internal data structures to assure

their validity.

Black Box Testing:

It is a test case design method used on the functional requirements of the

software. It will help a software engineer to derive sets of input conditions that will

exercise all the functional requirements of the program. Black Box testing attempts

to find errors in the following categories:

Incorrect or missing functions

Interface errors

Errors in data structures

Performance errors

Initialization and termination errors

By black box testing we derive a set of test cases that satisfy the following criteria:

Page 93: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 93/98

Test cases that reduce by a count that is greater than one, the number of additional

test cases that must be designed to achieve reasonable testing.

Test cases that tell us something about the presence or absence of classes of errors

rather than errors associated only with a specific test at hand.

TEST APPROACH:

Testing can be done in two ways:

• Bottom up approach

• Top down approach

Bottom up approach:

Testing can be performed starting from smallest and lowest level modules and

 proceeding one at a time. For each module in bottom up testing a short program executes

the module and provides the needed data so that the module is asked to perform the way

it will when embedded with in the larger system. When bottom level modules are tested

attention turns to those on the next level that use the lower level ones they are tested

individually and then linked with the previously examined lower level modules.

Top down approach: Following is a template for the RS document. Some

example requirements are entered in to it to show how to use the template. Make sure that

you enter even the smallest/most trivial requirements also. That would help in validating

the system during testing.

This type of testing starts from upper level modules. Since the detailed activities

usually performed in the lower level routines are not provided stubs are written. A stub is

a module shell called by upper level module and that when reached properly will return a

message to the calling module indicating that proper interaction occurred. No attempt is

made to verify the correctness of the lower level module.

Page 94: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 94/98

Requirement specification Testing Phase:

No. Requirement Essential

or

Desirable

Description of the

Requirement

Remarks

RS1 The system should have alogin

Essential A login box shouldappear when the system

is invoked.

The logins areassigned by

the mail-

admin

RS2 The system should ‘lock’

the login id if wrong

 password is entered 3times in a row

Desirable This feature will

improve the robustness

of the application

Since the

application is

going to beused only by

the employees

of the

organization,this feature is

not essential.However, if 

time is there,

this will beimplemented.

Test-Plan (TP)

The test-plan is basically a list of testcases that need to be run on the system.

Some of the testcases can be run independently for some components (report generation

from the database, for example, can be tested independently) and some of the testcases

require the whole system to be ready for their execution. It is better to test each

component as and when it is ready before integrating the components.

It is important to note that the testcases cover all the aspects of the system (ie, all

the requirements stated in the RS document).

No. Testcase Title Description Expected

Outcome

The

requirement

Result

Page 95: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 95/98

in RS that is

being tested

1 Successful

User Verification

The login to the

system should betried with the login

assigned by theadmin and thecorrect password

Login

should besuccessful

and the user shouldenter in to

the system

RS1 Passed

2 UnsuccessfulUser 

Verification

due to wrong password

Login to the systemwith a wrong

 password

Loginshould fail

with an

error ‘Invalid

Password’

RS1 Passed

3 Unsuccessful

User Verificationdue to invalid

login id

Login to the system

with a invalid loginid

Login

should failwith anerror 

‘Invalid

user id’

RS1 Passed

Page 96: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 96/98

 

CONCLUSION

Page 97: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 97/98

 The Information System For trade Tax is an intranet based application that

can be accessed throughout the organization or a specified group or department. This

system can be used to automate the work flow of leave applications and their 

approvals. There are features like e-mail notifications, cancellation of leave

,automatic approval of leave, report generators etc in this system. This system is

important to any kind of an organization .

SCOPE FOR EXPANSION

Information System For Trade Tax can further be expanded to support Mail Server 

attachments.

BIBLOGRAPHY

  BOOKS:

Page 98: Trade Tax Documentation

8/6/2019 Trade Tax Documentation

http://slidepdf.com/reader/full/trade-tax-documentation 98/98

• The Complete Reference JAVA2

- Patric Naughton Herebet Schildt.

• Internet & World Wide Web

- H.M. Deitel , P.J Deitel , T.R. Nieto .

• JAVA Data base Programming with JDBC

-Pratik Patel, Karl Moss.

 

• Software Engineering

-Pressmen

SITES:

• www.javadevelopers.com

• www.w3schools.com

• www-128.ibm.com/developerworks/web/library/wa-dbdsgn1.html

• www-128.ibm.com/developerworks/webservices/library/co-

design6.html