Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Please Help  RSS feed

 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please forward me a link where i can get a simple example for 1:1 relation ship using entity bean with local interfaces.
i tried google search but i could not get anything.
In HFEJB there is hardly any complete example.

Thanks for help.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's a Many-To-Many example here, but I think you could easily make it One-To-One :
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/CMP.html#83238
 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for link
but the problem is that when i try to open RosterApp.ear file using deploytool
it throws exception "java.lang.RuntimeException: Invalid XML : No document type for org.apache.crimson.tree.XmlDocument@6c42e0"
Can you tell me how to remove this exception?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!