Hi all, Imagine that you want to "export" some proven classes that deals with objects to an ejb project. This objects are build up from several tables, so there is no object<->(one)table mapping. These objects are not complex themselves, but takes some queries from a group a tables to get them (In some way, they are summaries of a collection of data)
I would want to use the "load" and "create" classes that already have instead of recoding all queries in ejbCreate and ejbLoad methods. ejbLoad would call my "load" methods and ejbCreate would do similary. So, almost (if not all) Sql queries would be done outside the ejb classes. Doing this surely is not the "right" thing, for a several reasons concerning with ejb rules (for example, I would take control of database access instead of letting ejbs and container do it for me) I would like to know if anyone has a similar experience or if there is better way of doing it or if it is a completely mistake. Thanks in advance =========================================================================== 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".
