Exercises

To extend your knowledge of the subjects covered today, try the following exercise:

Add the deleteLineItem(String lineItemId) method to the OrderEJB class and its remote and local interfaces. Also modify the client to use the newly added method. Finally, package and deploy the entity bean.

Get Sams Teach Yourself EJB in 21 Days 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.