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!

Categories

multiple entity classes

Hey,

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
http://www.netbeans.org/kb/60/javaee/ejb30.html
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.