It may seem strange, but that's really the way it works.
Remember, the wonderful thing about
EJB is that the container takes care of all the complicated things, leaving you to worry about the stuff that really matters!
So, when we do EJB stuff, we work with actual beans, not primary keys and all that crazy database stuff. In addition, since all we have are the component interfaces, we don't have any choices as far as throwing around primary keys. In fact, in some applications we may not even be able to see primary keys!
Just throw around directors and movies and you'll be okay. That really is the way it works now.
Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED