primary key classes

Is it possible for an primary key class to contain a reference to another entity bean (a reference to an object implementing EJBLocalObject interface) ? Will EJB 2.0 containers support this ?
[212 byte] By [brodeurc] at [2007-9-26 4:56:20]
# 1
By "another" do you mean two? Or more? Maybe I'm not clear about what you are asking.-Peris
perisb at 2007-6-29 18:50:35 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
Hi brodeurc!Yes, it is!I worked out several CMP Beans with PrimaryKeyClasses where other Beans are used.If you try JBuilder5 it will automatically create these for you. But be aware it is still buggy (1-Many , 1-1 , Many-1) is not really working.
deflektor at 2007-6-29 18:50:35 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...