| |

Ruddi UDDI profiles

The UDDIProfile class of the "inspireit.uddi.request" package defines a context of execution for an UDDI client/server interaction. UDDIProfile is basically a set of name/value pairs that instruct the Ruddi runtime on how it has to behave.

The UDDIProfile mechanism is both a very simple and powerful mechanism. It allows a Ruddi developer to write a single piece of code that can be used within various contexts. For example, a first UDDIProfile could instruct the Ruddi runtime to connect to the Microsoft UBR using UDDI 2.0-compliant XML messaging and log the client/server interactions using Apache Log4J, while another could instruct the Ruddi runtime to connect to the IBM UBR using UDDI 1.0-compliant XML messaging and no logging.

The following lists the set of properties a Ruddi developer can use.

It has to be noticed that property names starting with "inspireit" are considered as reserved keywords. Trying to register a property with a name starting with "inspireit" and that is not a recognized reserved keyword will lead to the throwing of a runtime exception.

Also, it has to be noticed that System properties available at UDDIProfile creation time are automatically part of an UDDIProfile (the System properties can then evolve separately from the UDDIProfile ). It is hence possible to use System properties as a mechanism to define UDDIProfile globals. Remind that there are basically two methods to set System properties: via the setProperty() method of the java.lang.System class or via the command line when starting the application (cf. the -D option the Java Virtual Machine of SUN Microsystems).

 

 

 

 

| |

(c) INSPIRE IT, 2003 | Send us your feedback: developers@ruddi.biz