aspose file tools
The moose likes Sockets and Internet Protocols and the fly likes Problem Remoting via Provider Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "Problem Remoting via Provider" Watch "Problem Remoting via Provider" New topic
Author

Problem Remoting via Provider

Stephan King
Greenhorn

Joined: Apr 11, 2010
Posts: 13
Hi,
I am just playing around with JBoss Remoting - I have managed to successfully call a ProviderInterfaces Methods.
However now I would like to use the provider interface to return different Services to the Client.

For this I have made a new Interface for the Service and the corresponding Implementation on the Server - MedicalProviderInterface + MedicalProviderImpl

The ServiceProvider has a method that generates a new MedicalProviderImpl


In the client I perform following code for the call, only knows about MedicalProviderInterface and not MedicalProviderImpl:


This results in the following error code:


I know it is complaing about not having imported MedicalProviderImpl - but I want to be able to make the calls to MedicalProviderImpl on the server via the Inteface without importing it to the client. Also I would like to be albe to get these services via my Profider so that I have a single access point.

Many thanks in advanced for your help. If you can see any major flaws in my approach I would also appreciate any pointers.

Stephan


 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Problem Remoting via Provider
 
Similar Threads
Suggestions for providing service interfaces to POJO client applications
how to write java web service client
seam remoting: can I pass a pojo FROM a client TO a session bean?
webservices - do I need application server?
B&S Stub errors running in network client mode