ASSIGNMENT: Write an (remote) client which accesses a database passing through an EJB layer.
The client must be able to:
- write some data in the DB
- list all data in DB
- search for some data in the DB by using JPQL (see http://docs.oracle.com/javaee/6/tutorial/doc/bnbtg.html)
(You can use the DB you prefer: if you use Derby, take a look here for the JBOSS configuration: http://www.hameister.org/JBoss_DatasourceDerby.html)
Optional: write a second client, which acessess the same database via Hibernate.
Deadline Oct 12, 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 - 3rd WEEK ASSIGNMENT DELIVERY
The client must be able to:
- write some data in the DB
- list all data in DB
- search for some data in the DB by using JPQL (see http://docs.oracle.com/javaee/6/tutorial/doc/bnbtg.html)
(You can use the DB you prefer: if you use Derby, take a look here for the JBOSS configuration: http://www.hameister.org/JBoss_DatasourceDerby.html)
Optional: write a second client, which acessess the same database via Hibernate.
Deadline Oct 12, 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 (Accessing a DB though an EJB layer), your name)
- Introduction (problem statement, description of the domain, i.e. which data will you be dealing with?)
- Implementation (report and comment the mos trelevant pieces of soure code and config files)
- 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 - 3rd WEEK ASSIGNMENT DELIVERY