Someone else is pitching this at the Atlanta training (Karl you there)?

You seem to want the create to be BMP but the rest to be CMP.  Strictly
speaking this is a spec violation but we are beyond spec violation in this
group and it seems we are becoming the spec anyway (JSR111 anyone?).

Ok I don't see a fundamental reason why we could not support this and this
you are the second person that asks for this in 2 days I am even open to
supporting that mixed persistence mode.

>From our point of view it means that the interceptor that does all the work
in BMP is now only doing the BMP work with the CMP interceptors in there.
Today we do not support "mix-mode" persistence manager but I believe we
could.

The thing that I see working in our favor is that we are talking about CMP
for the Remote methods and then the BMP for the Home.  That means that we
can bypass the ejbLoad/Store that are called on the invoke flow vs the
invokeHome flow.  In other words we already have a flow separation in the
interceptor invoke mechanisms so that we could quite easily hack the
invokehome try and finally blocks to support something like that.

The only thing that I find difficult is in supporting the new metadata
BMP/CMP/DMP (Doubly Managed Persistence?) for this... and propagating that
through ALL the container factory etc etc... maybe not, don't know

One thing I will do is sit down on Friday with the person of the Atlanta
class (custom labs day) and walk through the interceptors and see where we
could hook up that.  The guys in the class are *really* good btw, quite
impressive,


marc


|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Ray
|Sent: Wednesday, May 16, 2001 3:30 PM
|To: [EMAIL PROTECTED]
|Subject: [JBoss-user] Overriding CMP entity creation
|
|
|Hello again.
|
|I'm getting the hang of this ... :-)
|
|Now, because I have an autoincrementing primary key, I need to
|write my own
|entity creator. So what I'm after is a bean-managed entity
|create(), whilst
|everything else is container managed.
|
|I know that you can override the finder methods, but can I override the
|entity create methods?
|
|Thanks.
|
|
|_________________________________________________________
|Do You Yahoo!?
|Get your free @yahoo.com address at http://mail.yahoo.com
|
|
|_______________________________________________
|JBoss-user mailing list
|[EMAIL PROTECTED]
|http://lists.sourceforge.net/lists/listinfo/jboss-user



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

Reply via email to