Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » Riena + Declarative Services(Creating Riena Remote Services using Declarative Services)
Riena + Declarative Services [message #902378] Fri, 17 August 2012 07:43 Go to next message
Dinuka Perera is currently offline Dinuka Perera
Messages: 7
Registered: April 2012
Junior Member
I have being following [this][1] tutorial on Riena Remote Services. Is there a project or tutorial available so I can use Riena along with Declarative Services? I'm finding a bit of a challenge converting the above example into Declarative Services.
Thanx.

[1]:http://wiki.eclipse.org/Riena/Getting_started_with_Remote_Services
Re: Riena + Declarative Services [message #902799 is a reply to message #902378] Mon, 20 August 2012 09:39 Go to previous messageGo to next message
Jordan Dukadinov is currently offline Jordan Dukadinov
Messages: 15
Registered: July 2009
Location: Germany
Junior Member
Hello, what tutorial exactly are you looking for?

If you would like to use declarative services _without_ remoting (OSGi only), refer to the Equinox documentation [1]. Look for Declarative Services (equinox.ds)


If you want to use the Riena remoting plus declarative services, you need to create the client side service proxy manually as described in [2]. Riena does currently not offer a fully declarative remoting mechanism. Then you can use declarative services to consume the service implementation on the client.



[1] http://www.eclipse.org/equinox/bundles/
[2] http://wiki.eclipse.org/Riena/Getting_started_with_Remote_Services#Accessing_the_remote_OSGi_Service
Re: Riena + Declarative Services [message #902914 is a reply to message #902799] Tue, 21 August 2012 02:48 Go to previous message
Dinuka Perera is currently offline Dinuka Perera
Messages: 7
Registered: April 2012
Junior Member
I was referring to the latter. i.e using / configuring Riena remote services using Declarative Services. And I was wondering if there is a possible way to deploy the server bundle using Declarative Services, something like defining the remote service properties(Hashtable) through the component definition.

But from your previous post I understand that Riena does not offer a declerative remoting mechanism.

So my option is, & correct me if I'm wrong,
>To create the server bundle and the client.config bundle using the Activator (as stated in the example)
> and to consume the service in the client side using Declarative Services.

I will try the above method and get back to you on its status.

Thanx.
Previous Topic:ArrayIndexOutOfBoundsException after connection was interrupted
Next Topic:how-to change default submodule within module?
Goto Forum:
  


Current Time: Fri Aug 22 15:52:56 EDT 2014

Powered by FUDForum. Page generated in 0.02044 seconds