Yup there's no standard CMP engine provider API.

MVCSoft uses a neat way to do it:
You program your bean as CMP, create ejb-jar.xml for it and then pass it
to MVCSoft's tool, it derives a new class from your CMP bean as "BMP",
and creates a new ejb-jar.xml where your cmp bean is not used as
ejb-class but the derived BMP one, and it handles persistence there. So
there's no need for a cmp provider API to plug into the app server.

PS: I have no relation with MVCSoft.

Ara.

> Ah, but what's the standard way for replacing the EJB's CMP engine?
Where,
> precisely, in the 2.0 specification (the first place the idea of a
> replaceable PersistenceManager) , does a bean indicate the kind of
> Persistence Manager it was intending to use?
>
> Ted Neward
> {.NET || Java} Course Author & Instructor, DevelopMentor
> (http://www.develop.com)
> http://www.javageeks.com/tneward

> > [snip]
> >
> > And that's why you use CMP, cmp engine handles it...
> > and if the app server's cmp engine is dumb then use something like
> > MVCSoft's persistence manager which is cheap and works on many app
> > servers.
> >
> > Ara.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


===========================================================================
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".

Reply via email to