This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

--Setting Client Properties at connection establishment

Documents for the development of and with JVx.

--Setting Client Properties at connection establishment

Postby Development@SIB » Fri Sep 17, 2010 11:08 am



This article is outdated - please use our new system at

https://doc.sibvisions.com




The use of Client/Server Properties has already been explained.

However, in some cases it may be beneficial if default values can be defined during the creation of a MasterConnection. This makes sense when, for example, client tasks are configured by the server.
A concrete example would be the distinction between productive and development mode or in addition, the default log level.

The application's config.xml can be used to predefine properties:

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>

<application>
  ... 
  <connection>
    <property name="client.loglevel">ALL</property>
    <property name="client.mode">Development</property>
  </connection>

</application>


Here it should be mentioned, that the usage of the properties has to be handled by the application (on Client).
User avatar
Development@SIB
 
Posts: 325
Joined: Mon Sep 28, 2009 1:54 pm

Return to Documentation