At first sight, I think your problem is on your naming convention used for that 
method. Instead of:

  | public Collection getselectedusers() 
  | throws RemoteException; 
  | 
you should write:

  | public Collection getSelectedUsers() 
  | throws RemoteException; 
  | 
in your home interface.
And instead of:

  | public Collection ejbHomegetselectedusers() 
  | throws RemoteException 
  | { ... } 
  | 
you should use:

  | public Collection ejbHomeGetSelectedUsers() 
  | throws RemoteException 
  | { ... } 
  | 

If you don't want to change your Home interface name, then for this to work you must 
capitalize get on the bean class, like this:

  | public Collection ejbHomeGetselectedusers() 
  | throws RemoteException 
  | { ... } 
  | 

I recommend you changing to the naming convention I proposed, but if you cannot change 
this one at this moment (because you use this name method in a lot of places, for 
example) you must capitalize Get on the bean class (not on the home interface).
You should read some J2EE book about these and other conventions in method naming and 
so, because in all of them this kind of errors are normally advised most of the 
times... If you haven't any, you can take a look at this one, available as a free PDF 
download on TheServerSide:
  Mastering Enterprise JavaBeans (Second Edition)
  http://www.theserverside.com/books/wiley/masteringEJB/index.tss
On this page you can download other J2EE related books (they are listed on the right 
side of the page).
Hope this helps. Reply any feedback about it, please, just to know if I am right or 
not ;)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852434#3852434

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852434


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to