|
CS536 J2EE/EJB Term Project
1. Project Description
Design and implement a web based auction house, like mini Ebay,
using WebLogic application/web server, Oracle DB server or Microsoft
SQL server. The auction house should allow sellers to register and
post their items to the house. It should allow buyers to register to
the house and to bid on the items. It should also allow anyone to
search for item, view item lists, and view item details. The house
will record and report day's transactions, notify buyers and
sellers, and bill sellers.
Since this is relative large scale of the project, you can reduce
your business model to specialize on certain merchandises, such as
used book, used car, used furniture, etc.
2. Project Requirements
Auction House Requirements
Obtain buyer and seller information
Bill sellers for posting item
Record and report the day's transactions
The detail business logics for auction house are
a). House Identifies Buyers and Sellers
A buyer needs to know whom the seller is to pay him or her, and
seller needs to know who the buyers are to answer product questions
and to finalize the sale. So, to post or bid on an auction item,
buyers and sellers are required to register. Registration needs to
get the following information from buyers and sellers:
- User ID and password for buying and selling
- Email address, so highest bidder and seller can
communicate when
item
closes.
- Credit card information, so auction can charge
sellers for listing their
items.
Once registered, a user can post or bid on an item for sale.
b). House Determines Highest Bidder.
At a specified time of a day, the application (your software)
queries the database to record and report the day's transactions.
The application finds items that have closed and then determines the
highest bidder.
c). House Notifies Buyers and Sellers
The auction application uses e-mail to notify the highest bidder and
seller of the sale and to debit the seller's account.
User Requirements
Bid or sell an item
Search or view items for sale
Notify buyer and seller of sale
The elaboration of any user's activity:
a). Anyone Searches for an Item.
Sellers and buyers enter
a search string to locate all auction items in the database.
b). Anyone Views Items for Sale
To popularize the auction
and encourage new buyers and sellers, the application allows anyone
to view auction items without requiring user ID and password. To
keep things simple, the auction allows anyone to view summarized
lists of items in the following three ways:
- All items up for auction
- New items listed today (anyone can view)
- Items due to close today (anyone can view)
c). Anyone Views Item Details
The summarized lists of
auction items should link each item to the following detailed
information. Detail information on auction items is available to
anyone without identification.
- Item summary
- Auction item number
- Current price
- Number of bids
- Date posted for auction
- Seller ID
- Highest bidder
- Item description
d). Sellers Posts Items for Sale
To post an item for sale,
a seller needs to identify himself or herself and describe the item
for sale, as follows:
- User ID and password for seller identification
- Summary description of item
- Starting price for bidding
- Details description of item
- Number of days item is available for bidding
e). Buyer Bids on Items
The detailed summary page
for each item lets registered users identify themselves and bid on
item by providing the following information:
- User ID
- Password
- Bid amount
f). Input data validation
All the input data from
web browser must be validated on server side. Regular expression
should be used for validation.
3. Implementation Tips
More tips will be given as course going. Here are the use case
diagram and activity/state diagram:
a). Use case diagram
b). Activity/State Diagram
|