A wise old hermit known only as Dmitri Colebatch <[EMAIL PROTECTED]> once 
said:

> Given that no one else has put their hand up for using BMP (why on earth
> are you using it btw??? (o:  ), 

In a word, Toplink.

As I'm sure I've mentioned before, we're currently using the Sybase 
EAServer app server (we need its support for other types of components 
than EJBs, plus, we're big Sybase users generally) but in the current 
version the CMP is very messy to set up - they don't use an extra DD like 
many of the others, you have to set a bunch of component properties 
through their management GUI, and create IDL by hand for it to use for the 
bean state etc.  The next version should be easier, since it will support 
J2EE 1.3, but it's not out yet.

However, we're looking to use Toplink for the persistence stuff, so 
although we're using BMP Entity beans, we still avoid having to write 
DAOs, JDBC etc. for them ourselves.  Instead, the BMPs let their base 
class handle the ejbLoad/ejbStore/finders/etc. and we can set up the 
database mappings with their GUI tool (or xdoclet, if I ever have time to 
write a subtask for it).


Andrew.

> when I get home tonight I'll have a quick
> look at this (seems to make sense here) and the one from the other day,
> and put them in.
> 
> cheesr
> dim
> 
> On Mon, 10 Sep 2001, Andrew Stevens wrote:
> 
> > In one of my (BMP) entity beans, I've got some fields for which only 
> > getters are included in the BMP class, no setters.  That part of it 
> > works fine, but unfortunately the generated setData() method still 
> > tries to do a setX() for those fields, which gives a compilation 
> > error since they now don't exist...
> > 
> > I guess the
> >         <XDoclet:ifIsNotAggregate>
> >          <XDoclet:setterMethod/>( 
> > dataHolder.<XDoclet:getterMethod/>() );
> >         </XDoclet:ifIsNotAggregate>
> > around line 116 needs to include an <XDoclet:ifHasMethod ...> for the 
> > setterMethod, but I'm not sure where to get the parameters from at 
> > that point (I guess it might get away with omitting it, but I'd like 
> > to be *sure* I'm checking for the right match)
> > 
> > 
> > Andrew.

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to