File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Distributed Java and the fly likes Client program does not hit the server program in RMI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Client program does not hit the server program in RMI" Watch "Client program does not hit the server program in RMI" New topic
Author

Client program does not hit the server program in RMI

Happy S Singh
Ranch Hand

Joined: Nov 14, 2011
Posts: 55
Below are the snippets which implements RMI

Following is my Server class



Interface



Client



When I run the client code I dont get any output instead in the eclipse console header Its written javaw.exe terminated.
My question is why my client program does not hit the server.
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 8419
    
  23

Happy S Singh wrote:When I run the client code I dont get any output instead in the eclipse console header Its written javaw.exe terminated.
My question is why my client program does not hit the server.

I see you didn't follow my advice in your other thread. Why are you working on an RMI layer when you haven't even got your basic executor running properly? Sounds like a recipe for disaster to me.

Winston


Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
Happy S Singh
Ranch Hand

Joined: Nov 14, 2011
Posts: 55
Replaced
acQueryExecutor a=new acQueryExecutor(req_id,usrname,pwd,"driver","url");



with

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Client program does not hit the server program in RMI