Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

External relationships using XDoclet

Joris De Winne
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm using Lomboz for Eclipse and I want to create a 1-1 relationship between two entity beans. But each bean is in a different ejb-jar file.
So bean A is in a.jar and bean B is in b.jar

I think I have to use @ejb.ejb-external-ref, but when I generate the EJB classes I always get errors. Can somebody give a good example or tutorial about how to define relationships using XDoclet (I've been on the home page of XDoclet) when both sides of the relationship are in a different ejb jar.

Any help is welcome!

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic