Welcome to web Pages of Vicky Shiv

Resume Experience Projects Courses Thesis Download

MailBox Application Architecture

 

A Prototype of a MailBox Application is developed. It consist of several administrator with several mailboxes. Each Administrator consist of list of MailBox. Each Administrator keep tract of creating, deleting, changing password for a given mailbox. Each Mailbox keeps two vector/list of messages (one list for old Message and another for new Message). The responsibility of the Mailbox is review, save and delete messages. Following classes MailBox, Administrator, Message, MainSystem Menu were developed in C++ and Java in order to support the application.

A Prototype of a MailBox is developed. It consist of several administrator with several mailboxes. Following custom classes were developed in C++ and Java.

  • Administrator
  • MailBox
  • Message
  • MainSystem Menu

Administrator

Administrator.jpg (15195 bytes)

Administrator Class Properties Each Administrator has a following properties:

Property Name

One-Tier Application

TwoTier and Three Tier Database Application

  • List of MailBox
    mylist
  • Declared as Vector of Objects in Java and CList of Objects in VC++
  • Stored as Serelizable Object
  • Declared as Vector of ID in Java and CList of ID in VC++
  • Stored as Rows in MailBox Table in the database
  • Password
    m_password
  • Declared as String in Java and CString in VC++
  • Stored as Serelizable Object
  • Declared as String in Java and CString in VC++
  • Stored as VARCHAR in the Database

 


Administrator Functionality Administrator is responsible for the following:

Functionality One-Tier Application TwoTier and Three Tier Database Application
  • Create a new MailBox
  • Check to see if the MailBox Exists in the Vector/ CList.
  • Create a new MailBox Object with a default attributes.
  • Add that Object to the List of MailBox.
  • Check to see if the MailBox Exists in the MailBox Table in Database.
  • Create a new MailBox in the Database.
  • Add the ID of the MailBox in the Vector and CList.
  • Delete an existing MailBox
  • Check to see if the MailBox Exists in the Vector/ CList.
  • Remove the Object from the List of MailBox.
  • Delete the MailBox Object.
  • Check to see if the MailBox Exists in the MailBox Table in Database.
  • Remove the ID of the MailBox from the Vector and CList.
  • Delete the MailBox in the Database.
  • Change the password of an existing MailBox
  • Check to see if the MailBox Exists in the Vector/ CList.
  • Change the password field in the MailBox Object.
  • Check to see if the MailBox Exists in the MailBox Table in Database.
  • Change the password field in the MailBox Table.

 


MailBox

mailbox.jpg (21297 bytes)

MailBox Class Properties Each MailBox has a following properties:

Property Name

One-Tier Application

TwoTier and Three Tier Database Application

  • List of New Message
    new message
  • Declared as Vector of Objects in Java and CList of Objects in VC++
  • Stored as Serelizable Object
  • Declared as Vector of ID in Java and CList of ID in VC++
  • Stored as Rows in Message Table in the database
  • List of Old Message
    oldmessage
  • Declared as Vector of Objects in Java and CList of Objects in VC++
  • Stored as Serelizable Object
  • Declared as Vector of ID in Java and CList of ID in VC++
  • Stored as Rows in Message Table in the database
  • Extention
    m_extention
  • Declared as String in Java and CString in VC++
  • Stored as Serelizable Object
  • Declared as String in Java and CString in VC++
  • Stored as VARCHAR in the Database
  • Password
    m_password
  • Declared as String in Java and CString in VC++
  • Stored as Serelizable Object
  • Declared as String in Java and CString in VC++
  • Stored as VARCHAR in the Database
  • Greeting
    m_greeting
  • Declared as String in Java and CString in VC++
  • Stored as Serelizable Object
  • Declared as String in Java and CString in VC++
  • Stored as VARCHAR in the Database

MailBox Functionality MailBox is responsible for the following:

  • Create a new Message
  • Delete an existing Message
  • Changing the MailBox Password
  • Changing the MailBox Greeting
  • Transferring message from list of old messages to new.
  • Transferring message from list of new messages to old.

:


Message

message.jpg (13056 bytes)

 

Message Class Properties Each Message has a following properties:

Property Name

One-Tier Application

TwoTier and Three Tier Database Application

  • Message
    m_message
  • Declared as String in Java and CString in VC++
  • Stored as Serelizable Object
  • Declared as String in Java and CString in VC++
  • Stored as VARCHAR in the Database

Message Functionality Message is responsible for the following:

 


1