Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » Server Side Preferences
Server Side Preferences [message #22683] Tue, 10 March 2009 08:39 Go to next message
Flavio Donze is currently offline Flavio DonzeFriend
Messages: 211
Registered: July 2009
Location: Switzerland
Senior Member
Hello

For my Server/Client application I need to handle the preferences on the
server.

Does Riena provide (or will in the future) a server side preference store?

I tried to publish and access the
org.osgi.service.prefs.PreferencesService without success.

Thanks for any information.
Flavio


Prozessmanagement und Qualitätsmanagement Software QMS/IMS
https://www.scodi.ch
Re: Server Side Preferences [message #22728 is a reply to message #22683] Tue, 10 March 2009 14:41 Go to previous messageGo to next message
Christian Campo is currently offline Christian CampoFriend
Messages: 597
Registered: July 2009
Senior Member
We are (like any on else) driven by what we see in bugzilla and first of all by what our customers want. Although I have
heard of requirement for user preferences stored on the server we havnt planned to implement that yet.

I am not sure if IPreferencesServices is a good interface for remote services but you should be able to do it anyway.
The only problem is really that you always have an IPreferencesServices OSGi service (also on the client) and when
injecting you need to local preference store apart from the remote proxy of the preference store. But that sounds doable.

What were your problems when doing that yourself ?

christian



Flavio Donzé schrieb:
> Hello
>
> For my Server/Client application I need to handle the preferences on the
> server.
>
> Does Riena provide (or will in the future) a server side preference store?
>
> I tried to publish and access the
> org.osgi.service.prefs.PreferencesService without success.
>
> Thanks for any information.
> Flavio
>
Re: Server Side Preferences [message #22904 is a reply to message #22728] Thu, 12 March 2009 22:06 Go to previous messageGo to next message
Jose Carlos de Missias is currently offline Jose Carlos de MissiasFriend
Messages: 41
Registered: July 2009
Member
.... I think that treat the preferences in hand server through API would
be great.

Christian Campo wrote:

> We are (like any on else) driven by what we see in bugzilla and first of all
by what our customers want. Although I have
> heard of requirement for user preferences stored on the server we havnt
planned to implement that yet.

> I am not sure if IPreferencesServices is a good interface for remote
services but you should be able to do it anyway.
> The only problem is really that you always have an IPreferencesServices OSGi
service (also on the client) and when
> injecting you need to local preference store apart from the remote proxy of
the preference store. But that sounds doable.

> What were your problems when doing that yourself ?

> christian



> Flavio Donzé schrieb:
>> Hello
>>
>> For my Server/Client application I need to handle the preferences on the
>> server.
>>
>> Does Riena provide (or will in the future) a server side preference store?
>>
>> I tried to publish and access the
>> org.osgi.service.prefs.PreferencesService without success.
>>
>> Thanks for any information.
>> Flavio
>>
Re: Server Side Preferences [message #22947 is a reply to message #22728] Fri, 13 March 2009 17:13 Go to previous message
Flavio Donze is currently offline Flavio DonzeFriend
Messages: 211
Registered: July 2009
Location: Switzerland
Senior Member
Hi Christian

On the client I get the following exception when I call
service.getSystemPreferences();

osgi> 13.03.2009 18:01:46 com.caucho.hessian.io.SerializerFactory
getDeserializer
WARNUNG: Hessian/Burlap:
'org.eclipse.core.internal.resources.ProjectPreferences' is an unknown
class in org.eclipse.core.runtime.internal.adaptor.ContextFinder@a6fed5:
java.lang.ClassNotFoundException:
org.eclipse.core.internal.resources.ProjectPreferences
13.03.2009 18:01:46 com.caucho.hessian.io.SerializerFactory getDeserializer
WARNUNG: Hessian/Burlap: 'com.softmodeler.service.ServerPlugin' is an
unknown class in
org.eclipse.core.runtime.internal.adaptor.ContextFinder@a6fed5:
java.lang.ClassNotFoundException: com.softmodeler.service.ServerPlugin

Publishing works fine and on the client I would use the "filter" parameter
to make sure I get the remote service.
By the way I'm using the org.osgi.service.prefs.PreferencesService and not
the org.eclipse.core.runtime.preferences.IPreferencesService.
The IPreferencesService doesn't even publish (not sure), because I get
HessianProxy cannot connect to
'http://localhost:8080/hessian/IPreferencesServiceWS
on the client.

Should I add a FeatureRequest for "Remote Preferences" in BugZilla?

cheers and have a nice weekend
Flavio




Christian Campo wrote:

> We are (like any on else) driven by what we see in bugzilla and first of all
by what our customers want. Although I have
> heard of requirement for user preferences stored on the server we havnt
planned to implement that yet.

> I am not sure if IPreferencesServices is a good interface for remote
services but you should be able to do it anyway.
> The only problem is really that you always have an IPreferencesServices OSGi
service (also on the client) and when
> injecting you need to local preference store apart from the remote proxy of
the preference store. But that sounds doable.

> What were your problems when doing that yourself ?

> christian



> Flavio Donzé schrieb:
>> Hello
>>
>> For my Server/Client application I need to handle the preferences on the
>> server.
>>
>> Does Riena provide (or will in the future) a server side preference store?
>>
>> I tried to publish and access the
>> org.osgi.service.prefs.PreferencesService without success.
>>
>> Thanks for any information.
>> Flavio
>>


Prozessmanagement und Qualitätsmanagement Software QMS/IMS
https://www.scodi.ch
Re: Server Side Preferences [message #581172 is a reply to message #22683] Tue, 10 March 2009 14:41 Go to previous message
Christian Campo is currently offline Christian CampoFriend
Messages: 597
Registered: July 2009
Senior Member
We are (like any on else) driven by what we see in bugzilla and first of all by what our customers want. Although I have
heard of requirement for user preferences stored on the server we havnt planned to implement that yet.

I am not sure if IPreferencesServices is a good interface for remote services but you should be able to do it anyway.
The only problem is really that you always have an IPreferencesServices OSGi service (also on the client) and when
injecting you need to local preference store apart from the remote proxy of the preference store. But that sounds doable.

What were your problems when doing that yourself ?

christian



Flavio Donzé schrieb:
> Hello
>
> For my Server/Client application I need to handle the preferences on the
> server.
>
> Does Riena provide (or will in the future) a server side preference store?
>
> I tried to publish and access the
> org.osgi.service.prefs.PreferencesService without success.
>
> Thanks for any information.
> Flavio
>
Re: Server Side Preferences [message #581237 is a reply to message #22728] Thu, 12 March 2009 22:06 Go to previous message
Jose Carlos de Missias is currently offline Jose Carlos de MissiasFriend
Messages: 41
Registered: July 2009
Member
.... I think that treat the preferences in hand server through API would
be great.

Christian Campo wrote:

> We are (like any on else) driven by what we see in bugzilla and first of all
by what our customers want. Although I have
> heard of requirement for user preferences stored on the server we havnt
planned to implement that yet.

> I am not sure if IPreferencesServices is a good interface for remote
services but you should be able to do it anyway.
> The only problem is really that you always have an IPreferencesServices OSGi
service (also on the client) and when
> injecting you need to local preference store apart from the remote proxy of
the preference store. But that sounds doable.

> What were your problems when doing that yourself ?

> christian



> Flavio Donzé schrieb:
>> Hello
>>
>> For my Server/Client application I need to handle the preferences on the
>> server.
>>
>> Does Riena provide (or will in the future) a server side preference store?
>>
>> I tried to publish and access the
>> org.osgi.service.prefs.PreferencesService without success.
>>
>> Thanks for any information.
>> Flavio
>>
Re: Server Side Preferences [message #581254 is a reply to message #22728] Fri, 13 March 2009 17:13 Go to previous message
Flavio Donze is currently offline Flavio DonzeFriend
Messages: 211
Registered: July 2009
Location: Switzerland
Senior Member
Hi Christian

On the client I get the following exception when I call
service.getSystemPreferences();

osgi> 13.03.2009 18:01:46 com.caucho.hessian.io.SerializerFactory
getDeserializer
WARNUNG: Hessian/Burlap:
'org.eclipse.core.internal.resources.ProjectPreferences' is an unknown
class in org.eclipse.core.runtime.internal.adaptor.ContextFinder@a6fed5:
java.lang.ClassNotFoundException:
org.eclipse.core.internal.resources.ProjectPreferences
13.03.2009 18:01:46 com.caucho.hessian.io.SerializerFactory getDeserializer
WARNUNG: Hessian/Burlap: 'com.softmodeler.service.ServerPlugin' is an
unknown class in
org.eclipse.core.runtime.internal.adaptor.ContextFinder@a6fed5:
java.lang.ClassNotFoundException: com.softmodeler.service.ServerPlugin

Publishing works fine and on the client I would use the "filter" parameter
to make sure I get the remote service.
By the way I'm using the org.osgi.service.prefs.PreferencesService and not
the org.eclipse.core.runtime.preferences.IPreferencesService.
The IPreferencesService doesn't even publish (not sure), because I get
HessianProxy cannot connect to
'http://localhost:8080/hessian/IPreferencesServiceWS
on the client.

Should I add a FeatureRequest for "Remote Preferences" in BugZilla?

cheers and have a nice weekend
Flavio




Christian Campo wrote:

> We are (like any on else) driven by what we see in bugzilla and first of all
by what our customers want. Although I have
> heard of requirement for user preferences stored on the server we havnt
planned to implement that yet.

> I am not sure if IPreferencesServices is a good interface for remote
services but you should be able to do it anyway.
> The only problem is really that you always have an IPreferencesServices OSGi
service (also on the client) and when
> injecting you need to local preference store apart from the remote proxy of
the preference store. But that sounds doable.

> What were your problems when doing that yourself ?

> christian



> Flavio Donzé schrieb:
>> Hello
>>
>> For my Server/Client application I need to handle the preferences on the
>> server.
>>
>> Does Riena provide (or will in the future) a server side preference store?
>>
>> I tried to publish and access the
>> org.osgi.service.prefs.PreferencesService without success.
>>
>> Thanks for any information.
>> Flavio
>>


Prozessmanagement und Qualitätsmanagement Software QMS/IMS
https://www.scodi.ch
Previous Topic:Additional Views in Riena
Next Topic:SwtApplication vs AbstractApplication
Goto Forum:
  


Current Time: Fri Apr 19 03:12:43 GMT 2024

Powered by FUDForum. Page generated in 0.02068 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top