facebook

Entity bean class overview doc in generated remote interface

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #225727 Reply

    aci
    Member

    XDoclet will generate the remote interface for an entity/session bean and include the Javadoc associated with the business methods.

    It does not, however; include any general class documentation in the generated interface.

    Can you? If so how.

    Thanks

    Jason

    #225744 Reply

    Riyad Kalla
    Member

    It does not, however; include any general class documentation in the generated interface.

    Please explain what you mean, can you give an example?

    #225765 Reply

    aci
    Member

    For example, there is a businessMethod() with the XDoclet tag @ejb.interface-method view-type = “remote” and associated Javadoc

    /**
    * My class overview Javadoc. This text is not included in the generated
    * remote interface Test
    * @author: Jack
    */

    public class TestBean extends EntityBean {

    ….

    /**
    * businessMethod performs blah blah
    * @return some string
    * @ejb.interface-method view-type = “remote”
    */

    public String businessMethod() {
    }

    }

    The businessMethod() method will be included in the remote interface as generated by XDoclet because of the presence of the XDoclet tag @ejb.interface-method view-type = “remote”.

    The text starting with “My class overview Javadoc…” does not.

    I hope this explains it.

    Jason

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Entity bean class overview doc in generated remote interface

You must be logged in to post in the forum log in