If you want the data object accessable remotely then you need to put setData and getData methods in your XDOclet commented source code, with appropriate (@ejb:interface-method) tags... have a look at AccountBean for an example
cheers dim On Fri, 12 Oct 2001 [EMAIL PROTECTED] wrote: > Hi all, > > I'm using XDoclet 1.0.1. I have a CMP Entity Bean, which defines an > @ejb:data-object tag like this: > > @ejb:data-object setdata="true" > > My ant build script includes a dataobject task for XDoclet. The > DataObject and its getter and setter in the generated bean implementation > are all correct, but the getter and setter is not being added > automatically to the remote interface. I can get it to work by adding an > abstract getData() and setData() method in my bean implementation class > (extended and then implemented by the XDoclet generated bean class), but > shouldn't there be an option to just add these to the remote (or local) > interfaces automatically? Or am I just missing some option that does this > already? > > -jason _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
