[XDoclet-JIRA] Commented: (XDT-579) @ejb.home defaults do not apply when one bean extends another

"vanduynslaeger olivier (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
    [ http://opensource.atlassian.com/projects/xdoclet/browse/XDT-579?page=comments#action_17237 ] 

vanduynslaeger olivier commented on XDT-579:
--------------------------------------------

This affect also version 1.2.3

> @ejb.home defaults do not apply when one bean extends another
> -------------------------------------------------------------
>
>          Key: XDT-579
>          URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-579
>      Project: XDoclet
>         Type: Bug
>   Components: EJB Module
>     Versions: 1.2 Beta 3
>  Environment: ejbdoclet @ejb.home
>     Reporter: Michael Pichler
>     Assignee: xdoclet-devel (Use for new issues)
>     Priority: Minor

>
>
> Having one bean implementation class derived from another like this:
> /**
>  * @ejb.bean type="Stateless" name="hwtest/Test" jndi-name="hwtest/Test"
>  */
> public class TestBean extends HelloBean implements SessionBean
> { ... }
> xdoclet 1.2 needs an explicit @ejb.home tag with the default values - otherwise it will generate
>   public interface TestHome extends foo.HelloHome
> and
>   public interface TestLocalHome extends foo.HelloLocalHome
> Both make no sense because of the duplicate create() method (just differing in the return type).
> After adding the default values explicitly
>  * @ejb.home extends="javax.ejb.EJBHome" local-extends="javax.ejb.EJBLocalHome"
> you get the same code as with xdoclet 1.1:
>   public interface TestHome extends javax.ejb.EJBHome
>   public interface TestLocalHome extends javax.ejb.EJBLocalHome

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.