We currently have a DAO class contained in a common utility jar within our EAR file. Up to this point most of our Databases access has occurred through the use of entity beans, but we're looking to move more to DAOs. Here is the problem:
While using entity beans, we employed a PrimaryKeyGenerator entity bean during inserts. Now that we moved some of our database logic out of the entity beans and into this DAO class which is now outside of the EJB jar, how can we generate primary keys? It is my understanding that having code within a common jar that is included in the EAR make a call to EJB code is in violation of the J2EE paradigm. Thanks for the help - Scott p.s. using the database itself to generate the keys is not a possibility _________________________________________________________________ Internet access plans that fit your lifestyle -- join MSN. http://resourcecenter.msn.com/access/plans/default.asp =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
