Jonathan Wynett [EMAIL PROTECTED] wrote:
> I'm generating a stateless session bean and the remote
> interface is being
> generated but doesn't seem to be coming out correctly. There
> are a couple of
> problems:
> ...
> * @ejb.bean
> * name="SessionManager"
> * type="Stateless"
> * view-type="both"
> * remote-business-interface=
> "com.digitalglobe.nextview.ppq.dataobjects.ejb.Ses
sionManagerRemote"
> * local-business-interface=
> "com.digitalglobe.nextview.ppq.dataobjects.ejb.Sess ionManager"
These last two are the problem. I assume you are trying a simple example
of a bean that generates its own interfaces. If that's the case, then
you need to use the tags
remote-interface
local-interface
[Verify those tag names in the docs -- no time myself right now, but
definitely remove the "business-" part.]
The business-interface tags are used when you define interfaces that the
remote/local bean interfaces will extend themselves. The default
interface names are the bean name minus the "Bean" suffix, with "Local"
appended for the local one. These two combined create the problem of the
interfaces extending themselves as they think they're extending a
business interface.
If this wasn't enough info, post again and I'll explain further after a
few meetings.
David Harkness
Sr. Software Engineer
Sony Pictures Digital Networks
(310) 482-4756
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user