The following comment has been added to this issue:
Author: Matthias Germann
Created: Fri, 24 Dec 2004 9:52 AM
Body:
Hi Lukasz,
You have to use the view-type parameter of the ejb.bean tag to control the dd
elements and the interface generation.
/**
* @ejb.bean
* name = "MySessionA"
* type = "Stateful"
* jndi-name = "SBA"
* view-type = "remote"
*/
The generate parameter of the ejb.interface tag is not evaluated when writing
the dd.
What's the purpose of the generate-parameter?
Have a nice x-mas,
Matthias
---------------------------------------------------------------------
View this comment:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-624?page=comments#action_15489
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-624
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-624
Summary: generate option in @ejb.interface and @ejb.home work incorrect.
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
EJB Module
Versions:
1.2 Beta 3
Assignee: xdoclet-devel (Use for new issues)
Reporter: Lukasz Osipiuk
Created: Sat, 30 Aug 2003 3:55 PM
Updated: Fri, 24 Dec 2004 9:52 AM
Environment: JRE 1.4.
Linux.
Blackdown
Description:
The problem concerns the ejb.home and ejb.interface tag.
Im not sure if i used the generate option correctly because documentation says
something strange about it:
documentation from ejb.interface:
"Which interfaces should be generated. Defaults to true.
Valid options are:
true
false
Default value(s):
local,remote."
I set this option to local (instead of default local,remote) and xdoclet did
not create remote interface for my bean (which is what i wanted).
The problem is that this remote interface is still present in the deployment
descriptor and my deplyment tool fails.
The same problem apears with @ejb.home tag.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel