Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1269

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1269
    Summary: Addition of methods (tagged in ejb) to business interface
       Type: Improvement

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             EJB Module
   Versions:
             1.2.2

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Justin Walsh

    Created: Tue, 8 Feb 2005 9:26 AM
    Updated: Tue, 8 Feb 2005 9:26 AM
Environment: x-doclet 1.2.2 

Description:
I have an session bean whose remote interface extends a business interface 
(used by other components too), BUT in addition, the remote interface of the 
bean adds several methods to those described in the business interface.

i.e.

-----------------------------

FooBusinessInterface
 void foo()
      ^
      |
      |
BarRemoteInterface
 void bar()

-----------------------------

If I specify the <remoteinterface /> task inside the <ejbdoclet> task with the 
bean tagged as follows:

@ejb.bean 
      name = "MySessionBean"
      remote-business-interface = "com.acme.FooBusinessInterface"
      type = "Stateful"
      view-type = "remote"

/**
 * @ejb.interface-method 
 *      view-type="remote"
 */
public void bar() {
   // some code
}

... then the methods that are tagged in the bean (even though they are not in 
the business interface are ignored)

i.e. 

public interface MySession 
 extends EJBObject, com.acme.FooBusinessInterface 
{
    // empty interface
}

If I remove the  remote-business-interface tag from the bean, then I have no 
way of specifying that the remote interface should extend the business 
interface.

A suggestion:
When you specify a remote interface using the remote-business-interface tag AND 
have interface methods that are tagged in the bean, the x-doclet engine should 
generate a  remote interface that extends the business interface AND add the 
methods to the remote interface that are tagged in the bean.


---------------------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to