19.04.2014 Views

java based implementation of an online home delivery system

java based implementation of an online home delivery system

java based implementation of an online home delivery system

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Ubiquitous Computing <strong>an</strong>d Communication Journal<br />

5.4 STRUCTURE OF THE SYSTEM<br />

The proposed <strong>system</strong> is a distributed web<br />

application, containing three modules.<br />

1. Web Module<br />

2. Cellular Phone Module<br />

3. Desktop Module (Server Side Module)<br />

Struts are used as architecture that is famous<br />

model view controller pattern. EJBe<strong>an</strong>s (Entity<br />

Java Be<strong>an</strong>s) are used <strong>an</strong> application layer between<br />

browser <strong>an</strong>d data base.<br />

Through the web application <strong>of</strong> the <strong>system</strong><br />

customer c<strong>an</strong> log in to the super store <strong>an</strong>d c<strong>an</strong> do<br />

shopping according to his/her needs.<br />

The cellular phone application is developed using<br />

J2ME (Java 2 Micro Edition) to facilitate the<br />

customer to place order using cellular phones.<br />

That is basically a Midlet <strong>an</strong>d data moved from<br />

Midlet to JSP <strong>an</strong>d from JSP to EJBe<strong>an</strong>s<br />

(Inside application server which is Bea Web<br />

Logic) <strong>an</strong>d then to the database.<br />

The basic functionality is to place order <strong>an</strong>d<br />

display a unique order id <strong>an</strong>d display it to the user.<br />

It is import<strong>an</strong>t how at run time a catalog is made<br />

<strong>an</strong>d its sub items are retrieved from database using<br />

EJBe<strong>an</strong>s <strong>an</strong>d displayed on a constrained memory<br />

<strong>an</strong>d user interface cellular device.<br />

The desktop application (server side application)<br />

that is communicating with the database through<br />

Bea Web Logic, which is <strong>an</strong> application server for<br />

sending <strong>an</strong>d retrieving data from the data base.<br />

5.5 State Chart Diagram <strong>of</strong> Super Store<br />

M<strong>an</strong>agement<br />

A state chart diagram shows the behavior <strong>of</strong><br />

classes in response to external stimuli. This<br />

diagram models the dynamic flow <strong>of</strong> control from<br />

state to state within the present <strong>system</strong> [10].<br />

select m<strong>an</strong>age store activity<br />

wait for <strong>an</strong>y activity<br />

wait for <strong>an</strong>y<br />

at main menu<br />

businessDecision activity<br />

press exit<br />

modify existing b decision<br />

select b decision<br />

to be modified<br />

press exit<br />

select new decision<br />

display b<br />

decision form<br />

add b decision<br />

press ok<br />

display save<br />

confirmation<br />

press save<br />

entering details<br />

enter details<br />

press ok<br />

press ok<br />

modify details<br />

display modify<br />

confirmations<br />

press update<br />

display b decision<br />

details to be modified<br />

Figure 5: State Chart Diagram <strong>of</strong> Super Store M<strong>an</strong>agement<br />

6. CONCLUSION<br />

The design <strong>an</strong>d development phases <strong>of</strong> the<br />

proposed <strong>system</strong> for Online Home Delivery are<br />

described in this paper. The m<strong>an</strong>ual <strong>system</strong>, <strong>of</strong> <strong>an</strong>y<br />

org<strong>an</strong>ization or super store c<strong>an</strong> takes care <strong>of</strong> its<br />

stock <strong>an</strong>d store items to a limited extent. It does<br />

not provide technically mature <strong>an</strong>d sophisticated<br />

features that are currently needed by the<br />

m<strong>an</strong>agement.<br />

The Proposed <strong>system</strong> will capture Sales<br />

Information at POST, M<strong>an</strong>ages Inventory,<br />

Customers Information, <strong>an</strong>d provides <strong>online</strong><br />

Shopping facility to remote users. Unlike the<br />

existing outdated largely m<strong>an</strong>ual Sale, <strong>an</strong>d<br />

Inventory <strong>system</strong>. The product provides accurate<br />

Volume 2 Number 4 Page 63<br />

www.ubicc.org

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!