• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem Remoting via Provider

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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


 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic