multiple entity classes - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

multiple entity classes


I am trying to implement a simple EJB application using Netbeans. I decided to implement a DVD database applcation. I made an entity class for the Customers and another one for the Dvd Information. The Customers entity consists of jsps that add view and delete a customer. The same for the dvd information i.e. it contains an add, view and delete dvd.

I followed this tutorial
and managed to do the add customer and view customers. I did the same for the add dvd and view dvds. The add customer and view customers worked fine. Though the add dvd and view dvds only the header is being displayed the rest is being skipped. What I am not understanding why it is not working is since that I have the same code.

Should I include a MDB for each entity class? What shall I do in order to use multiple entities?

thanks very much
Sign In or Register to comment.