A wise old hermit known only as Jozsa Kristof <[EMAIL PROTECTED]> once said:
> ..does not appear in the home interface for me. If I change the bean > type to > Stateless, the ejbCreate() method gets generated into the home > interface, if > I change it back to Stateful, it does not. > > Do I need something else here among the usual staff? :) I assume you mean the home interface's create() method. Do you have an ejbCreate() in the bean file? For stateful beans, you don't *have* to have a no-argument create method, so long as there's some ejbCreate(...) method(s). For stateless, you must have a no-arg create method and no others. (sections 6.3/6.4 and 7.5 of the EJB2.0 spec) If you're using the <session> subtask, for stateless beans xdoclet adds an ejbCreate() in the generated Session class if there isn't one (so less code required in your bean class), but for stateful beans it doesn't (since you might not want it). Perhaps the home interface generation is also including a create() when there's no ejbCreate, but only for stateless session beans? Hope that helps. If not, perhaps you could post some of your code - the class level tags and create methods of your bean class in particular, and the ejbdoclet task parameters. Andrew. _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
