Sei sulla pagina 1di 16

This product or document is protected by copyright and

distributed under licenses restricting its use, copying,


distribution and decompilation. Please view Mark of
Authenticity label to establish proper licensed usage. No
part of this document may be copied, reproduced, printed,
distributed, modified, removed, amended in any form by
any means whether electronic, mechanical, digital, optical,
photographic or otherwise without prior written
authorization of NIIT and its authorized licensors, if any.
Information in this document is subject to change by NIIT
without notice. The names of companies, products, people,
characters, and/or data mentioned herein are fictitious and
are in no way intended to represent any real individual,
company, entity, services, product or event, unless
otherwise noted.
All products are registered trademarks of their respective
organizations.
All software is used for educational purposes only.
Disclaimer: The documents and graphics on this
courseware could include technical inaccuracies or
typographical errors/translation errors. Changes are
periodically added to the information herein. NIIT may
make improvements and/or changes herein at any time.
NIIT makes no representations about the accuracy of the
information contained in the courseware and graphics in
this courseware for any purpose. All documents and
graphics are provided "as is". NIIT hereby disclaims all
warranties and conditions with regard to this information,
including all implied warranties and conditions of
merchantability, fitness for any particular purpose, title
and non-infringement. In any event, NIIT and/or its
licensor(s)/supplier(s) shall not be liable to any party for
any direct, indirect, special or other consequential
damages for any use of the courseware/translated
courseware, the information, or on any other hyper linked
web site, including, without limitation, any lost profits,
business interruption, loss of programs or other data on
your information handling system or otherwise, even if
NIIT is expressly advised of the possibility of such
damages.
Due to the dynamic nature of the internet, the URLs and
web references mentioned in this document may be (are)
subject to changes, for which NIIT shall not hold any
responsibility.
DMAJ - Project/10-M06-V02
Copyright NIIT. All rights reserved.

COURSE DESIGN-PROJECT
STUDENT GUIDE

About This Project


Prologue
Description
The concepts related to technology platforms and software
engineering need to be implemented in real-life projects to
ensure that learning is complete. You need to assimilate all
the skills learned and implement the same in each phase of
the SDLC.
This project provides you an opportunity to apply all the
technological and software engineering skills that you
have acquired. During this project, you will experience the
phases involved in the development of a software project
and the activities that are performed during each phase.

Objectives
The objective of this project is to:
Create a mobile-based application

Prerequisites
The students who want to undertake this project should
have knowledge of:
Java ME
Core Java
JDBC
Object-oriented Analysis and Design Using UML

Conventions
Convention

Indicates...
Note

Project
This project will enable you to apply the skills that you
have acquired in Java ME and provide a solution to the
given scenario.

Objectives
In this project, you will learn to:
Create a mobile-based application

Case Study 1: SaveMore Bank

Overheads are increasing because SaveMore Bank has to


employ a number of people to cater to the increasing
business. The head of the marketing department, Sandra
Drew, had done an extensive research on current trends in
the banking market. She made the following remarks in
the board meeting:
Most of the competitors of SaveMore Bank
enable their customers to access their account
information using mobile phones.
Online banking is proving to be very successful.
Most people prefer online banking, because it
saves time.
Enabling the customers to gather information
about various new schemes and offers issued by
the bank through their mobile phones is an
effective medium to reach new customers.
Online banking saves resources, because
automation of services will reduce team size and
bring down errors.

Background
Norman Bates established SaveMore Bank seventy years
ago in New York. SaveMore Bank has spread across the
world and has its regional headquarters at London, Paris,
Istanbul, Cairo, Kuala Lumpur, New York, and Singapore.
The activities have also increased in terms of the services
offered and the volumes of transaction.

Existing System
At the macro level, the bank provides three types of
services - regular deposits, loans, and credit. Customers
can open different types of accounts, such as current
account and savings account, with the bank. Any person
can avail the loan facility by registering with the bank,
provided certain prerequisites are fulfilled. A customer can
choose from the personal loan, car loan, housing loan, or
business loan schemes. The bank also offers a credit card
facility. SaveMore Bank also has ATM centers in most of
the business quarters of the cities where it has branches.
The ATM facility is a useful addition to the banks
services. Customers can deposit or withdraw money at any
of the ATM centers twenty-four hours a day.
In the last board meeting, it was observed that the profits
of the bank have increased manifold over the last financial
year due to an increase in the number of customers. The
management has now started facing some problems
regarding the quality of the services provided to the
customers. Customers have complained that they find it
difficult to access their accounts when they are traveling.
Transfer of funds from one account to another poses a
problem for the administrators. The sales team is finding it
difficult to cater to the large number of people who want
to open accounts or take loans.

Envisioned System
Based on the findings of this report, Scott decided it was
high time for SaveMore Bank to enable the customers of
the bank to access their accounts through mobile banking.
He approached Karl Hoover Business Software Solutions
(KHBSS) to build a mobile banking application for
SaveMore Bank. Ms. Betty Charmers, the Software
Programmer, analyzed the system and decided to
incorporate the following features in the new banking
application:
To enquire about different types of accounts that
they can open with the bank, the minimum
amount required to open a particular type of
account, and the rate of interest offered by the
bank for each account type, such as:
Current Account
Savings Account
To enquire about the various types of loan
facilities provided by the bank such as, home
loan, car loan, education loan, and personal loan,
and the interest rates charged. The customers can
also fill the loan requirements form by using their
mobile phones without visiting the bank.
To enable the existing customers and the account
holders to check the status of their bank accounts,
such as balance in their accounts, the record of
the transactions, through their mobile phones
without needing to visit the bank.
To check the credentials of registered customers.
The login mechanism checks credentials of
registered customers before granting rights to
access their banking information.
To register new customers.

To maintain the details of bank accounts


information, loan detail information, registered
customer information and banking transaction
information in a central database named
OnlineBankSystem. The details of bank accounts
information to be stored include account type,
minimum balance amount and rates of interest.
The details of loan detail information to be stored
include loan type, rates of interest and minimum
down payment. The details of registered
customer information to be stored include user
name, password, address, bank account number,
email id, and contact number. The details of the
banking transaction information to be stored
include bank account number, customer name,
and account type, banking transaction amount
and transaction date.
To display the account information and
transaction details for the existing account
holders.
To display the status of the loan application for
the registered users.
To display the rate of interest and home loan
charges in various currencies for international
clients. This is implemented using a Web service.
The Web service stores the exchange rates of
different currencies.
To implement all the preceding features, the system needs
to have the following modules:
Welcome screen module: This module gives
information about the bank and provides a list of
various types of accounts and other facilities such
as loans.
Login module: This module checks the
credentials of registered bank customers.
Registration module: This module registers a
new bank customer.
Core module 1: This module creates custom
tags, creates User Interfaces, and implements the
search functionality to enquire about different
bank accounts and loan details.
Core module 2: This module implements session
management to implement system application
functionality such as checking account balance
status, banking transaction status, and loan
application status.

Case Study 2: Technology Systems


Background
Technology Systems is one of the leading mobile
manufacturing companies in the US. The organization was

established in 1985 to provide high performance mobile


devices and related accessories to the customers all over
the US.
The staff at Technology Systems designs, builds, and
customizes products. Till now, the organization has sold
more than 1 million mobile devices in the country and its
customer base is expanding everyday.

Existing System
The mobile phones manufactured by the organization have
small amount of memory and they provide only limited set
of functionality to the users. Therefore, the customers of
the organization are complaining about the poor
performance of the mobile devices.
The following points list the drawbacks of the mobile
phones that are currently manufactured by Technology
Systems:
The existing mobile devices do not allow users:
To add, delete, and search user data.
To send and receive multimedia messages.
To connect to the Internet.
To set alarms and customize alarm tones.
To set meeting schedules and reminders.
To provide general purpose applications,
such as calendar and calculator.
To record sounds.
To implement security features, such as
passwords and screen savers, to protect
mobile devices from unauthorized access.
Also, the existing mobile devices do not provide
the following features:
Support for downloading high performance
multimedia application, such as sound tracks,
video clips, games, and wallpapers
An intuitive user interface

Envisioned System
To cater with the highly competitive market of the mobile
phones, the management of the organization decides to
launch a new range of smart phones. The organization
wants to develop the devices keeping in consideration the
drawbacks of the existing mobile devices. The
organization wants to provide full-fledged Personal Digital
Assistant (PDA) software in the new range of mobile
phones. Therefore, the organization asks Steve Irvin, a
Java ME programmer to develop a Java ME mobile
application for the PDA devices. The PDA should provide
the following features to the users:
A highly intuitive and easy to use user interface.
Access to the Internet and download enhanced
multimedia services at high speed.
Store large amount of data.

Edit data, such as adding and deleting phone


numbers. It will also enable users to search for a
particular data.
Set reminders and use schedulers to set meeting
schedules.
Use calculator to perform large calculations
accurately and in less time.
Set alarms and screen savers.
Authorization by checking the credentials such as
user name and password.

Case Study 3: Mountain Marketing


Background
Mountain Marketing is a multinational organization. The
organization deals in products ranging from clothes to
highly functional electronic goods. Mountain Marketing
has its manufacturing unit at Texas and two branch offices
offering door to door selling services to the customers in
Boston and California. The organization is known for its
high quality products.

Existing System
The organization maintains a centralized database
containing the details of the organizations products at its
branch office located in California. The sales personnel of
the organization provide door to door selling services to
the organizations customers. The sales personnel need to
inform the marketing heads of the organization about
number of products sold by them every day. The
marketing heads of the organization regularly update the
database with the sales details provided by the sales
personnel. The sale personnel inform the marketing heads
by sending them e-mail messages. However, as the sales
personnel are traveling most of the time, it is very difficult
for them to access the Internet through a computer and
send e-mail messages to the marketing heads. Therefore,
the marketing heads of the organization are not able to
keep track of the daily sales of the various products of the
organization.

Envisioned System
The organization is looking forward to enable the sales
personnel to send e-mail messages to the marketing
directors through their mobile phones. This will enable the
marketing directors to keep track of the daily sales of the
organization and regularly update the organizations
database. The organization asks Pat Wilkins, a Java ME
programmer to develop a mail application for the mobile

device. Pat analyzes the existing system of the


organization and decides to incorporate the following
features in the mail application:
It would allow the sales personnel to connect to
the Internet through their phone.
It would allow the sales personnel to send and
receive e-mail messages through their phones.
It would allow the sales personnel to access their
e-mail messages without using a computer and a
dedicated Internet connection.
It would allow the sales personnel to maintain the
customers details, such as name, address, and
details of the products purchased by the
customers, in their mobile phones.
It would provide the sales personnel with user
name and password level security to protect their
mails from unauthorized access.

Case Study 4: New Wave Cinemas


Background
New Wave Cinemas came up thirty years ago. It was first
started in New York and gradually spread across various
cities of United States. Considering its growing popularity,
it is going to further expand to various other cities.

Existing System
Broadly, New Wave Cinemas provides services for
booking tickets and cancelling bookings. Initially, it had
the queuing system to book tickets both for advance and
current booking. However, few years back, it relieved
movie-goers of the long and tiring wait in queues to book
tickets. It brought out its website to provide a better option
over the manual booking method. Its online service
facilitated them to book tickets easily and quickly. The
online booking received tremendous response from the
customers. This move increased New Wave Cinemas
popularity among people and increased their business
manifold.
New Wave Cinemas frequently conducts survey to gather
information on how to improve customer satisfaction and
to study the current market trends and compare with their
existing system. In a recently conducted survey, it has
been observed that customers want the ability to book
movie tickets on the move. Also, they want to be able to
cancel the tickets from anywhere and at anytime. The
online booking facility is the only alternative at present,
but it does not provide with the flexibility desired by the
customers. The following points were observed in a recent
survey on market trends:

Most of the competitors of New Wave Cinemas


provide the facility to book tickets using mobile
phones.
Online booking is picked up quite well with the
customers.
Most people prefer online booking because it
saves time and is convenient as compared to the
manual booking.
People also preferred to book tickets using their
mobile phones.

Envisioned System
Based on the findings of this report, it was decided that
New Wave Cinemas come up with mobile booking to meet
customer requirements and effectively face the
competition. GoldenEdge Software Solutions is to build a
mobile booking application for New Wave Cinemas. Ms.
Angelina Drew, the Software Programmer, analyzed the
system and decided to incorporate the following features
in the new mobile booking application:
Enable customers to view the movies listing and
the shows available.
Enable customers to view synopsis of movies.
Enable customers to choose from the available
seats as per their preference.
Enable customers to book for tickets using credit
cards.
Provide customers with the status of booking to
the customer once the booking has been made.
Enable customers to cancel an existing booking.
Enable customers to view the location of the
cinemas.
Maintain the details of the booking in a
centralized database named OnlineBooking. The
details of the booking include the information
about the movie, cinema/region, timings, seats,
and quantity of tickets. The database needs to be
updated in case of any cancellations made.
To implement the preceding features, the system needs to
have the following modules:
Welcome screen module: This module gives
information about the movies being showed.
Movie schedule module: This module lists the
movie, along with the shows available for it.
Cinema module: This module provides
information about the location of the various
cinema halls.
Preference module: This module allows
choosing from the available seats for a specific
show.
Booking module: This module allows booking
tickets for a show.
View module: This module displays the status of

the booking.
Search module: This module implements the
search functionality to enquire about movie
listings and seat availability.
Validation and modification module: This
module validates the credit card details at the
time of payment and implements system
application functionality such as checking
whether a booking has been made, view it and
cancel it when the customer requests.

Case Study 5: Technology Next


Corp.
Background
Technology Next Corp. is one of the leading mobile
telecommunications company. The company was
established in 2002 in United States of America (USA)
and is emerging as a tough competitor to other mobile
telecommunications companies.
Apart from the mobile services, Technology Next Corp.
also provides services for Broadband Internet, Calling
Cards, and Wireless Internet. This year, the annual
turnover of the company is more than 20 million dollars.

Existing System
After achieving a good turnover this year, the marketing
heads of the company decided to expand their business
and customer base in further parts of world.
Technology Next Corp. frequently conducts survey to
gather information on how to increase customer
satisfaction and to study the current market trends and
compare them with their existing system.
In a recently conducted survey, it was observed that
customers faced problems while submitting their phone
bill in the following situations:
While involved in constant touring jobs
While relocating to some new place, where they
are unable to find company service centers
While involved in some important office work, or
in some sort of emergency
In order to save the time of the customers, the marketing
heads thought of providing a facility to the customers,
where they can submit their bills through SMS and pay
their bills on time.

Envisioned System
Based on the findings, it was decided that Technology

Next should come up with a service that would facilitate


their customers to pay their bills through mobile phones.
This will enable Technology Next to keep up with the
competition in the market.
Therefore, the organization has asked Mr. Lance Roberts,
a Java ME programmer, to analyze the existing system.
After analysis, Mr. Roberts and his team members came
up with the following features and a design plan that can
be implemented in their system module:
Welcome screen module: This module provides
information about the facility and lists the various
bills that a customer can pay using the mobile
service.
Login module: This module checks the
credentials of a customer.
Registration module: This module allows the
customer to register his credit card number and
all the necessary information such as expiry date
and Card Verification Value (CVV). Once the
customer has been registered with Technology
Next, a 4 digit pin number is generated. The
customer is required to enter this pin number
whenever he/she has to pay the bill.
View module: This module is used to display the
status of the transactions performed by the
customer.

Project Execution
This book contains five case studies. Each student will be
working on one project case study.

Project Evaluation Guidelines


The project is to be evaluated based on the following
parameters:
Quality: Conformance to requirements of the
case study - 20 marks
The solution maps to the requirements
specified in the case study.
The technologies selected are correct
according to the requirements of the case
study.
Timeliness - 10 marks
Timely completion of the project.
Quality of Documentation - 50 marks
Completion of all formats
Correctness of various diagrams such as
Use Case diagram and logical flow
diagram
Adherence to standards and processes
Query handling during project walkthrough - 20
marks

Project Standards and Guidelines


This project requires knowledge of almost all Java ME
concepts that you have learned during the course. You
have to decide on an optimal mix of all the technologies
that you learned. That is the challenge that lies in front of
you at the onset of the project. Here we will give you hints
about the technologies that are appropriate for different
programming aspects.

Phases in Project Execution


The project will be carried out in the following phases:
System Analysis: Refers to an in-depth study of
the existing system to depict the functionality of
the system. The analysis phase is the most crucial
phase in a project because it helps developers to
identify the processes in the system and
functioning of each process. The project teams
will analyze their respective case studies before
moving on to the development phase.
Development: Involves developing the project
based on the given specifications.
Testing and debugging: Involves testing the
project before submitting it to the coordinator.
Documentation: Involves documenting the
entire project. The project documentation should
be submitted to the coordinator in the formats
given in this book before the project
walkthrough. The blank report following the case
studies is to be filled up, detached from the book,
and submitted on the specified date.

Project Activities
You can use the knowledge that you have gained about
Java and Object Oriented Programming (OOP) to create
all the diagrams.
You will get 12 hours to complete the project. The
activities to be performed during this period are:
Analyze the case study to identify the system
processes.
Create the Use Case diagram representing the
functional requirements of the application.
Create the logical flow diagrams of the
application architecture.
Create the documentation and submit it to the
faculty.
Present the solution of the project to the faculty.
The faculty will assign marks to the student
based on the evaluation criteria specified in this
section.

Project Timelines
You should ensure that you complete the following
activities before beginning with the actual coding of the
system:
Analysis of the case study
Architecture design
During the project development phase, you need to work
individually on one project case study.
The following table provides a suggested break-up of
activities that you should perform to ensure timely
completion of the project.

Medical Central Supplies have sales operations running all


over the US. The organization maintains its data, such as
details about their products and sales personnel, in a
central Microsoft SQL Server database. The organizations
sales personnel need to access the central database to
gather information about available stock and prices of the
products while selling products to the customers.
The details of the organizations items are maintained in a
separate table, INV_TAB. The details stored in the
INV_TAB table include item id, item name, price of the
item, and quantity of the item. The structure of the
INV_TAB table is shown in the following table.

Structure of the INV_TAB Table

Tasks to be Performed

To protect database from unauthorized access, the


organization has provided each sales personnel with a user
name and password. Before providing access of the central
database to the sales personnel, the user name and
passwords entered by the sales personnel are verified with
the authorization information of the sales personnel stored
in the central database of the organization. The
organization maintains a separate table, AUTH_TAB for
authorization information of the sales personnel.
The authorization details stored in the AUTH_TAB table
include ID, username, and password of the sales
personnel. The structure of the AUTH_TAB table is shown
in the following table.

Sample Case Study: Medical Central


Supplies
Structure of the AUTH_TAB Table

Background
Medical Central Supplies is a medium-sized, chemical
manufacturing organization. Corrine Wallace established
medical Central Supplies eight years back in Atlanta.
Today, under the chairmanship of Steve Irvin, Medical
Central Supplies has spread all over the US and has its two
branch offices at Ohio and Houston and several sales
offices across the country. Through their wide network of
branches across the country, they offer customers the most
competitive interest rates, processing fees, administrative
fees, and a dedicated sales force to deliver services at the
customers doorstep. Its persistent focus on customer
needs and high quality services has lead to a sizable
growth in its business.

Existing System

While selling products to the customers, sales personnel


often needs to access the central database of the
organization to retrieve latest information about the
products, such as their price and quantity. The current
system of Medical Central Supplies has many drawbacks
in it because sales personnel need to use the customers
computer to retrieve data from the central database. The
current system of Medical Central Supplies has the
following drawbacks:
The current system of the Medical Central
Supplies is not secure.
The sales personnel are breaching the customers
privacy by accessing their computers.
The current system involves lots of paper work,
because sales personnel need to maintain all the
details of the customers, such as name, address,
and amount paid by the customers, manually.
The current system needs a high-speed

connection to the Internet.


The hardware requirements of the current system
are quite expensive.
The current system does not allow sales
personnel to quickly contact the organizations
head office in case of any problem.

Envisioned System
Medical Central Supplies is looking forward to reduce the
time and effort involved in the process of selling products
to the customers by sales personnel. The organization
wants to enable the sales personnel to access the
organizations database without using the customers
computers. The organization also wants the sales
personnel to set up a
high-speed connection with the database and access the
latest product information in minimum time.
Medical Central Supplies identifies that GPRS enabled
mobile devices can enable sales managers to access
organizations database easily and quickly. Therefore, the
organization decides to have GPRS based solution in place
to provide door-to-door product selling services to its
customers.
The exact details and features required in the GPRS based
solution are:
The GPRS based solution will provide the sales
personnel with a list of menu items. The sales
personnel can select the items in the menu to
perform various functions such as retrieving sales
data from the server.
The GPRS based solution will display the latest
rates of the products to the sales persons. The
latest rates of the products will be shown to the
sales personnel as a moving ticker on the screen
of the mobile device.
The GPRS based solution will enable sales
personnel to maintain the customers details in
the mobile device and therefore, reduce the
paperwork.
The GPRS enabled system will allow sales
personnel to retrieve data using a servlet stored in
Jakarta Tomcat Web server.
The GPRS enabled system will enable the sales
personnel to access the sales data using the HTTP
protocol with their GPRS enabled mobile
devices.
The sales personnel can also save and view the
data about their current and previous sales details
in their mobile devices.
The sales personnel can save the data about their
personal expenses while traveling so that they
can get reimbursement from the organization.
In order to develop the software system for Medical

Central Supplies, you need to analyze the existing system


and create an architect level design for the envisioned
system. You need to perform the following tasks:
Analyze the case study and identify the various
functional requirements of the project.
Create the logical flow diagram.
Design and implement the database.
Create the code for the client.
Create the code for the server.

Ask your faculty to demonstrate the solution


for the Sample Case Study: Medical Central
Supplies.

Sample Project Documentation:


Medical Central Supplies

Blank Project Documentation

Potrebbero piacerti anche