IMSFinal Doc
IMSFinal Doc
IMSFinal Doc
Mailing System
Chapt
er 1
Abstr
act
Abstract
System shall accept the mails from authorized users providing security.
Submitted messages will be delivered to appropriate person only. Provides
the facility to review messages from the respective folders. Effective
Communication has become an integral part of organizations today. The rapid
development of intranets may provide construction and design teams with an
innovative tool for meeting these growing communication challenges.
The user can access this mailing system for sending the information to
other users of the same organization. He is also provided with login and
logout services, service of checking into the mails through the inbox, sending
the mails using compose service, checking the sent mails list, creating and
deleting the folders in association to the user involved in the communication.
User is also provided with the flexibility of maintaining the address book in
the mailing system through which he can store the details of his contacts.
Users of the intranet mailing system are also provided with the chance to
change the password of his account through the options service designed.
• Operating System
• Software requirements
Web-Server: Tomcat Server.
Front-end: HTML, JavaScript.
Communication Architecture: Servlets.
Database maintenance: Oracle 8i.
Client Browsers: Internet Explorer or Netscape Navigator.
Hardware Requirements:
• Hardware Configuration
Pentium III Processor with 700 MHz Clock Speed
128 MB RAM, 20 GB HDD, 32 Bit PCI Ethernet Card.
Chapt
er 4
System
Analysis
Feasibili
ty Study
Fact Finding Techniques
Feasibility Study
Operational Feasibility
Since the actual processing of the data takes place on the remote
client the data has to be transported over the network. As a rule this leads to
increased network stress (Load). The client also controls how to conduct the
transactions. Advanced techniques like two-phase-committing can’t be run.
PCs are considered to be "un-trusted" in terms of security, i.e. they are
relatively easy to crack. Nevertheless, sensitive data is transferred to the PC,
for lack of an alternative.
Proposed System
People for long time have tried to sort out the problems faced in the
postal system but as these problems exist even now, a parallel mailing
system evolved and came to be known as the Intranet Mailing System. The
advantages of this mailing system are:
• Security
• Cost effective
• Less Mailing Time
• Gift Incentives
The user is also expected to have the facility to store the information
of his communication links, to speed up the communication process i.e. the
process of maintaining the details, which include the authentication of the
other registered users, and their detailed information required for the
communication process. The user is also to be provided with manipulation
facility of the details maintained with his Mail ID.
Dataflo
w
Diagram
DATA FLOW DIAGRAMS
Mail SERVER
0.0
Level 1 Diagram.
Level 3 Diagram.
1.3.1
1.3.2
Level 3 Diagram.
1.3.3
1.3.4
Level 2 Diagram.
2.1 2.2
2.3 2.4
Level 2 Diagram.
2.5 2.6
Cache File
Level 3 Diagram.
2.7
CGI File
Level 2 Diagram.
Mail Server
er 6
3.1 3.2 3.3
S
Prepare O/P Retrieve O/P end the File
Response Data Req headers Data Request
Type
3.4
Send the
O/P
Request Client
Data
Type
System
Descrip
tion
System Description
• Inbox
• Compose
• Options
• Folders
• Address
• Sent messages
• Logout
This Module deals with basic architecture of handling the user details
while they register into the mailing system and checks for the authorization
when they enter into the mailing transactions module or the other
Mailing Transactions
detailed maintenance of the records of the same. This module involves the
constructs of database required for the purpose, user interface screens and
their connectivity.
Other Transactions
This module deals with the extra services to be provided to the users
These services include the options which deals with the change password
activity, Address book, which deals with the detailed maintenance of the
contact information related to the users logged in, and some features like
Folders which are designed to redirect the mails in the inbox to a folders
depending on the user interest. Creation and deletion of folders by the users
Serv_Address:
This class and collaboration diagram describes the parameters and methods
used in the constructing the service of address book maintenance to the
accounts of various users using the intranet mailing system.
Serv_changePwd:
The change password class and collaboration diagram describes the
parameters and methods involved in the constructing the service of options
provision for various users in changing their passwords, in using the intranet
mailing system with security standards.
Serv_Compose:
This construct of class and collaboration diagram describes the parameters
and methods used in the designing the service of composing the mails to
send to other users using the intranet mailing system. This design includes
the maintenance of information regarding the mail data, mail from, subject
and mail to with the related details for the communication.
Serv_DeleteAddress:
This diagram explains the constructs implemented in the servlet program for
designing the concept of deleting addresses from the address book. The user
is given flexibility to add his contacts information into his database of the
mailing system for his easy and faster communication.
Serv_DeleteCkd:
This diagram explains the constructs implemented in the servlet program for
designing the concept of deleting checked mails from the database. The
users is given flexibility of getting into the mailbox and delete the mails he
checked from the database for clearing the memory contents and increase
the space for next mails expected to be dropped in.
Serv_DeleteFolder:
This class and collaboration diagram describes the parameters and methods
used in the constructing the service of deleting folders from the account of
the users using the intranet mailing system.
Serv_DeleteMessage:
This diagram explains the constructs implemented in the servlet program for
designing the concept of deleting messages from the database. The users is
given flexibility of getting into the mailbox and delete the mails he checked
from the database for clearing the memory contents and increase the space
for next mails expected to be dropped in.
Serv_EditAddress:
This diagram explains the constructs implemented in the servlet program for
designing the concept of editing the contact address from the database. The
user is given flexibility of editing addresses of his account and change
according to his desire and update with the latest information.
Serv_EditFolder:
This diagram explains the constructs implemented in the servlet program for
designing the concept of editing the folder information from the database.
The user is given flexibility of editing folders related to his account and
change according to his desire and update with the latest information.
Serv_Enter:
This diagram explains the constructs implemented in the servlet program for
designing the concept of entering the information of mails into the folders.
Serv_Folder:
This construct of class and collaboration diagram describes the parameters
and methods used in the designing the service of Folders in the intranet
mailing system. This design includes the maintenance of information
regarding the mail data, mail from, subject and mail to with the related
details folder stored into for the communication.
Serv_Inbox:
This construct of class and collaboration diagram describes the parameters
and methods used in the designing the service of Inbox in the intranet
mailing system. This design includes the maintenance of information
regarding the mail data, mail from, subject and mail to with the related
details in the Inbox in the mail communication.
Serv_Logout:
This construct of class and collaboration diagram describes the parameters
and methods used in the designing the service of Logout in the intranet
mailing system.
Serv_ModifyAddress:
This diagram explains the constructs implemented in the servlet program for
designing the concept of modifying the addresses in the address book. The
user is given flexibility to add his contacts information into his database of
the mailing system for his easy and faster communication.
Serv_ModifyFolder:
This diagram explains the constructs implemented in the servlet program for
designing the concept of modifying the folders information from the
database. The user is given flexibility of modifying folders related to his
account and change according to his desire and update with the latest
information.
Serv_MoveMessage:
This diagram explains the constructs implemented in the servlet program for
designing the concept of moving mails from the inbox to a desired folders in
the database. The user is given flexibility of moving mails from one folder to
another folder related to his account and change according to his desire and
update with the latest information.
Serv_NewAddress:
This diagram explains the constructs implemented in the servlet program for
designing the concept of entering the new addresses information into the
database. The user is given flexibility of adding new contact information
related to his account and change according to his desire and update with the
latest information.
Serv_NewFolder:
This diagram explains the constructs implemented in the servlet program for
designing the concept of creating the folders in the database. The user is
given flexibility of creating folders of his interest in his account and change
according to his desire and update with the latest information.
Serv_Option:
This construct of class and collaboration diagram describes the parameters
and methods used in the designing the service of Option in the intranet
mailing system. This design includes the maintenance of Option to the user
to change the password.
Serv_SeeMessage:
This construct of class and collaboration diagram describes the parameters
and methods used in the designing the service of viewing the messages from
the inbox sent by other users.
Serv_Send:
This construct of class and collaboration diagram describes the parameters
and methods used in the designing the service of sending the mails to other
users using the intranet mailing system.
Serv_SentMessages:
This construct of class and collaboration diagram describes the parameters
and methods used in the designing the service of viewing the sent messages
from the database of the intranet mailing system.
Serv_SignmeUp:
This construct of class and collaboration diagram describes the parameters
and methods used in the designing the service of signing up a new user into
the database with his detailed information into the organization.
Serv_SignUp:
This construct of class and collaboration diagram describes the parameters
and methods used in the designing the service of logging in into the mailing
system for accessing the service provided and utilizing the system for the
communication.
Software
Overview
Servlets
Servlets can be embedded in many different servers because the servlet API,
which you use to write servlets, assumes nothing about the server's
environment or protocol. Servlets have become most widely used within
HTTP servers; many web servers support the Servlet API.
The ServletResponse interface gives the servlet methods for replying to the
client. It:
• Allows the servlet to set the content length and MIME type of the reply.
• Provides an output stream, ServletOutputStream, and a Writer through
which the servlet can send the reply data.
About Html
embedded in the text of a document with HTML. We can build web pages or
language. The browser reading the document interprets mark up tags to help
(world wide web) pages are written using HTML. HTML tags control in part
the representation of the WWW page when view with web browser. The
browser interprets HTML tags in the web document and displays it. Different
browsers show data differently. Examples of browsers used to be web pages
include:
• Netscape
• Internet Explorer
<html>
<head><title>Welcome To Intranet Mailing System</title></head>
<body bgcolor=#40004>
<pre>
<center><h1><font color=white size=+3 face=mscomic><img
src="wel1.gif"></font></center></h1>
<center><h1><font color=white size=+3 face=mscomic>Intranet Mailing
System</font></center></h1>
<center><img src="email.gif" border=0></center>
<center><h1><u><a href="loginsc.html"><font color=yellow>-------Enter
into the WebPage-------</h1></a></center></font>
</pre>
</body>
</html>
The first thing you need to do is check that you are set up properly.
This involves the following steps:
To install both the Java tm platform and the JDBC API, simply
follow the instructions for downloading the latest release of the JDK tm
(Java Development Kit tm ). When you download the JDK, you will get
JDBC as well. The sample code demonstrating the JDBC 1.0 API was
written for JDK1.1 and will run on any version of the Java platform
that is compatible with JDK1.1, including JDK1.2. Note that the sample
code illustrating the JDBC 2.0 API requires JDK1.2 and will not run on
JDK1.1.
Your driver should include instructions for installing it. For JDBC
drivers written for specific DBMS, installation consists of just copying
the driver onto your machine; there is no special configuration needed.
The JDBC-ODBC Bridge driver is not quite as easy to set up. If you
download either the Solaris or Windows versions of JDK1.1, you will
automatically get the JDBC-ODBC Bridge driver, which does not itself
require any special configuration. ODBC, however, does. If you do not
already have ODBC on your machine, you will need to see your ODBC
driver vendor for information on installation and configuration.
If you do not already have a DBMS installed, you will need to follow
the vendor's instructions for installation. Most users will have a DBMS
installed and will be working with an established database.
Setting Up a Database
Loading Drivers
Loading the driver or drivers you want to use is very simple and
involves just one line of code. If, for example, you want to use the
JDBC-ODBC Bridge driver, the following code will load it:
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Your driver documentation will give you the class name to use.
For instance, if the class name is jdbc.DriverXYZ , you would load the
driver with the following line of code:
Class.forName("jdbc.DriverXYZ");
Chapt
er 7
Testing
&
Debuggi
ng
Testing
Testing Objectives
Levels of Testing
System Testing
Client Needs
Integration Testing
Unit Testing
Requirements
Design
Code
System Testing
The philosophy behind testing is to find errors. Test cases are devised
with this in mind. A strategy employed for system testing is code testing.
Code Testing
This strategy examines the logic of the program. To follow this method
we developed some test data that resulted in executing every instruction in
the program and module i.e. every path is tested. Systems are not designed
as entire nor are they tested as single systems. To ensure that the coding is
perfect two types of testing is performed or for that matter is performed or
that matter is performed or for that matter is performed on all systems.
Types Of Testing
Unit Testing
Link Testing
Unit Testing
Unit testing, focuses verification effort on the smallest unit of software
i.e. the module. Using the detailed design and the process specifications
testing is done to uncover errors within the boundary of the module. All
modules must be successful in the unit test before the start of the integration
testing begins.
Link Testing
Link testing does not test software but rather the integration of each
module in system. The primary concern is the compatibility of each module.
The Programmer tests where modules are designed with different
parameters, length, type etc.
Integration Testing
After the unit testing we have to perform integration testing. The goal
here is to see if modules can be integrated properly, the emphasis being on
testing interfaces between modules. This testing activity can be considered
as testing the design and hence the emphasis on testing module interactions.
In this project integrating all the modules forms the main system. When
integrating all the modules I have checked whether the integration effects
working of any of the services by giving different combinations of inputs with
which the two services run perfectly before Integration.
System Testing
Here the entire software system is tested. The reference document for
this process is the requirements document, and the goal is to see if software
meets its requirements. Here entire ‘VOIP’ has been tested against
requirements of project and it is checked whether all requirements of project
have been satisfied or not.
Acceptance Testing
Chapt
er 8
Output
Screens
Database Tables:
Chapt
eC orn c9
lusion
&
Recommenda
tions
Conclusion
The efficiency of any system designed to suit the requirement depends
cooperation during the implementation stage and also flexibility of the
system to adopt itself to the client and system requirements. “Intranet
Mailing System” has been developed to overcome the problems with
traditional 2-tier Architecture.
Reliability
BIBLIOGRAPHY
H.M.DIETEL.P.J.DIETEL, Java How to Program, PhL, Second Edition
Patrick Naughton & Herbert Schildt, Java: The Complete Reference, Tata Mc
REFERENCES
http://java.sun.com/products/servlet
http://servletguru.com
http://servletcentral.com
http://www.servlets.com