On 07 Aug 2001 12:19:14 +0530, vramesh wrote:
> HI!
>   Can CMP entitty bean support multiple tables? If so how to implement
> thanks in advance
> ramesh
> regards

There are a couple of options.  JAWS can create custom finders for you.
However, since these finders sitting on the home interface want to
activate a bean, they may not always what you want.  I recommend you use
a session bean for the workflow part.  This way you can comfortably
handle relationships over multiple beans with the benefit of a
transaction rollback should something go wrong.  Other possiblities
include "mixing" BMP and CMP.  Some beans I've deployed as CMP but
implemented some custom methods which look up the datasource and do some
custom SQL --just like in the ol' days :)

Works a treat.

-- 
  Nicolai P Guba    http://www.gnu.org         http://www.frontwire.com
                    mailto:[EMAIL PROTECTED]     mailto:[EMAIL PROTECTED]
                    GSM: +44 (0)7909 960 751   DDI: +44 (0)20 7368 9708

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to