• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

multiple entities

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
You ridiculous clown, did you think you could get away with it? This is my favorite tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic