Dylan van Iersel wrote:

Hi,

I have created a new bean and have named it
 @ejb:bean name="Some Something and Something Else"
In the documentation it says that it is used for the name in the dd,
however the files that are generated by ejbdoclet are all:
 Some Something and Something ElseLocal.java
 Some Something and Something ElseRemote.java
etc.

This looks like a bug to me. Any comments?
No, this is not a bug, this is the way xdoclet works. Two things: first, it's illegal to have spaces in the bean name. According to the EJB specification, a bean name must be a valid java identifier. Second, if can override the name of the generated interfaces using

@ejb.interface
remote-class="fully qualified class name"
local-class="FQCN"

or

@ejb.interface
remote-pattern="pattern"
local-pattern="pattern"

or

@ejb.interface
remote-package="package"
local-package="package"

Take a look at our documentation. I know it's not perfect, but it has some value.

http://xdoclet.sourceforge.net/tags/ejb-tags.html

--
MB



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to