Exercises

A nice short exercise for you today.

The starting point for the exercise is a version of today's case study that uses BMTD for the AdvertiseJob bean. Now your job is to convert the Register bean (that deals with applicants) to use BMTD rather than CMTD. The code to work on is in the Day 8 exercise directory.

To avoid the complications of specifying EJB QL and generated SQL statements in the CMP version of the database, today's exercise reverts back to the original database; in fact, all remaining exercises based on the Agency case study will use the original database schema. The steps you should now perform are as follows:

1.
Make sure you restore the original database schema by going to the Day 2 directory and running the command ...

Get Sams Teach Yourself J2EE™ in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.