Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6389399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:23:55+00:00 2026-05-25T03:23:55+00:00

In my rich client application there is a setting to change the server address.

  • 0

In my rich client application there is a setting to change the server address. When the server address changes I want to be able to change where ECF looks for remote services (R-OSGI). It looks like ECF supports two mechanisms for finding an ECF server over a WAN: edef or zookeeper. I could care less which one I use as long as it works and lets me change servers without shutting down the application.

How do change the server address ECF uses when it looks up remote services?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T03:23:56+00:00Added an answer on May 25, 2026 at 3:23 am

    Take a look to OSGi Configuration Admin, you can modify component properties in execution time (that is, you can modify the properties of the services present in the DS.xml for example):

    Configuration conf = configAdmin.getConfiguration("YourComponentName");
    
    Dictionary dict = conf.getProperties();
    //check things or whatever
    dict = new Hashtable();
    dict.put("service.exported.interfaces", "*");
    dict.put("service.exported.configs", "ecf.generic.server");
    dict.put("ecf.exported.containerfactoryargs", "ecftcp://localhost:3789/server");
    
    conf.update(dict);
    

    After that, I have to restart the component from the command line to let ECF the creation of the container:

    disable yourComponentID
    enable yourComponentID
    

    I still don’t know how to do this part automatically. I am still investigating in Configuration Admin and Remote Services Admin. If you, or other, can help, it would be nice 😉

    I am also interested in your question. I think there are no much docummentation about distributed services in WANs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a client/server application with a rich client front end (in .Net) and
I am working on a .net rich client server application, the client call the
I'm looking to create a rich-featured application using a client/server model, using WCF as
I am rewriting my client-server rich client database application (Swing) to a three-tiered application
I am developing a rich client application that will use the Entity Framework (with
Is Google Earth a Thick Client (Rich Client) application or a Rich Internet Application?
We have a system where our front end is either a Rich Client application
We have an rich client application running with dojo 1.2.x. Sometimes users are pasting
I have an application built atop the Eclipse rich-client platform. It does not yet
I'm currently building an web application for a customer that uses a rich client.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.