ASSIGNMENT: Write a minimal engine for managing an on-line store, and a client to test it.
1) Decide a domain (cars, music, smartphones... whatever you like)
2) Decide a (simple) data-structure (with inheritance, at least one subclass of your basic data type)
3) Write the entity(ies) which represent your data, and map them to a DB
4) implement the following functionalities:
- Add to DB
- Search in the DB (eg. find all items with a name starting with "AN")
- Add an item to the cart (pssing the item ID)
- List all items in the cart (the cart should NOT be persisted on the DB!)
- Remove everything in the cart
5) Write a simple client to issue commands to the engine (from command line: if you want to use a GUI thats fine, but do not spend too much time on it)
KISS! but the project must show a good use of EJB patterns!
Deadline Oct 27, 2014 (strict, delivering with a delay will have a penalty proportional to the delay)
You have to deliver:
- source code
- a report.
The report must have the following structure:
with subject: WEBARCH - 4th WEEK ASSIGNMENT DELIVERY
1) Decide a domain (cars, music, smartphones... whatever you like)
2) Decide a (simple) data-structure (with inheritance, at least one subclass of your basic data type)
3) Write the entity(ies) which represent your data, and map them to a DB
4) implement the following functionalities:
- Add to DB
- Search in the DB (eg. find all items with a name starting with "AN")
- Add an item to the cart (pssing the item ID)
- List all items in the cart (the cart should NOT be persisted on the DB!)
- Remove everything in the cart
5) Write a simple client to issue commands to the engine (from command line: if you want to use a GUI thats fine, but do not spend too much time on it)
KISS! but the project must show a good use of EJB patterns!
Deadline Oct 27, 2014 (strict, delivering with a delay will have a penalty proportional to the delay)
You have to deliver:
- source code
- a report.
The report must have the following structure:
- Title Page containing date, title ("A simple on-line store engine"), your name)
- Introduction (problem statement, description of the domain, i.e. which data will you be dealing with?)
- Architecture (class diagram showing your system's architecture)
- Deployment (screen shots of your app running, deocumenting the various steps)
- Comments and notes (optional: any problems encountered during the project development, any other comment
with subject: WEBARCH - 4th WEEK ASSIGNMENT DELIVERY