MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
sbarreros
Post subject: Remote Interface methods are not being created  PostPosted: Mar 02, 2004 - 04:37 PM
Veteran Member
Veteran Member


Joined: Dec 11, 2003
Posts: 8

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! :x
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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Mar 02, 2004 - 05:49 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824


_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
sbarreros
Post subject:   PostPosted: Mar 02, 2004 - 06:03 PM
Veteran Member
Veteran Member


Joined: Dec 11, 2003
Posts: 8

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?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Mar 02, 2004 - 08:22 PM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6760

Quote:

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:
Code:

@ejb.interface-method view-type = "remote"

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits