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.
hi,
I tried to work my way through the guide, and I have managed to get the above code working but only as standalone. What do I have to do to get it to run in the jboss as server?
I know I have to configure some xml files but I am really not sure where to place them or what exactly I have to write in them to get this to work.
I was wondering whether any of you have found any deasent Open Source GUI editors for GWT. I have only come across GWT Builder witch obviously is not OpenSource.
I am a bit confused as to what the exact purpous of JBoss AS is when you can code a Java RMI Server just as easily.
I am sure there are pleanty of good reasons, just I couldn't identfy them myself yet.
So far I have simply put the code into Eclipse linked it to an JBoss AS Server and hit deploy.
No - I proably havn't done that since I am don't know how to do that. Can you help me out with that? As I said I am a total newbie to setting up Jboss AS Servers and all the configurations are still dark magic to me.
I keep getting the following error message saying that no connection could be established:
org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [socket://localhost:5400/?serializationtype=jboss]
The server is running - and the code seems to have been deployed successfully (since I can find it in the servers deploy folder).