Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2007

Tip: Looking for answers? Try searching our database.

RMI Method takes and processes object - Where do i put the class?

Thread view: 
KDawg44 - 14 Oct 2007 02:09 GMT
Hi,

I have to implement an RMI instant messaging application in Java for a
class project.  I was given a stub to work with.

In the remote interface there is a method that like this that
registers the client with the server:

void register(RegistrationInfo reg) throws RemoteException;

My question is, where do I put the RegistrationInfo class?  I have to
create a RegistrationInfo object on the client side, but then when I
call the remote method, it complains that it doesn't know what a
RegistrationInfo object is.  Where do I put this class?

Thanks very much for your help.
Joshua Cranmer - 14 Oct 2007 02:17 GMT
> Hi,
>
[quoted text clipped - 12 lines]
>
> Thanks very much for your help.

Well, my first suggestion is to read this document:
<http://java.sun.com/javase/6/docs/technotes/guides/rmi/index.html>.

My second suggestion is to provide a SCCSE:
<http://www.physci.org/codes/sscce.html>.

My third suggestion is to post the full error message and backtrace here
along with your SCCSE and indication that you have read said document.

Signature

Beware of bugs in the above code; I have only proved it correct, not
tried it. -- Donald E. Knuth



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.