facebook

Remote Interface methods are not being created

  1. MyEclipse Archived
  2.  > 
  3. Documentation
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #204163 Reply

    sbarreros
    Member

    I have followed the configuration of Xdoclet and the Create an EJB documentation to create a Session EJB, but the problem is that when I right click on the project and select RunXdoclet, the Remote interface gets created, but none of my methods show in the Remote interface, even if I edit the example method Eclipse puts there by default the signature will remain the same as the original method! 😡
    I set the options in the Xdoclet as in the documentation for my ejb.

    Is there something I am missing or need to do in order for the Xdoclets to recognize my methods and create signatures for them in the Remote file?
    Thanks for any help

    #204172 Reply

    Riyad Kalla
    Member
    #204174 Reply

    sbarreros
    Member

    Thanks, but I have followed that tutorial and everything works fine, my ejb package is com.web.ejb, and all my Home and Remote interfaces get generated in the com.web.interfaces

    The problem is that when I insert a method in the bean and rerun the xdoclets, the signatures in my Remote interface don’t get added to it. I was under the impression Xdclets were supossed to take care of generating the signatures of every method you add in your bean. Is that not true?

    #204188 Reply

    Scott Anderson
    Participant

    I was under the impression Xdclets were supossed to take care of generating the signatures of every method you add in your bean. Is that not true?

    Actually, not exactly true. You need to specify which methods go into the remote interface by adding the appropriate XDoclet tag to its Javadoc comments. You’ll need to specify it as something like:

    
    @ejb.interface-method view-type = "remote"
    
Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Remote Interface methods are not being created

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