Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

multiple entities

 
chris devone
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Musab Al-Rawi
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

What do you mean with "the rest is skipped".
Are you using JSP's, JSF or servlets?
any Exception in the server's log?
when you try to insert a DVD, do you get the form, and dose DB change?

Elaborate more please
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic