Release Notes > JTGO 4.5 Release Notes > New Features > Services

Deployment Descriptor

<?xml version="1.0"?>
<deployment xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation = "ilog/cpl/schema/deploy.xsd">
  <typeConverter javaClass = "mypackage.MyTypeConverter" />
</deployment>
<?xml version="1.0"?>
<deployment xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation = "ilog/cpl/schema/deploy.xsd">
  <classLoader javaClass = "mypackage.MyClassLoaderService" />
</deployment>

Class Manager

It is now possible to create static attributes through XML files. The following example illustrates how you can create a static attribute in a business class:

<class>
   <name>samples.network.customClasses.Service</name>
   <attribute>
     <name>ID</name>
     <javaClass>java.lang.String</javaClass>
   </attribute>
   <attribute static="true">
     <name>THRESHOLD</name>
     <javaClass>java.lang.Number</javaClass>
     <defaultValue javaClass="java.lang.Integer">100</defaultValue>
   </attribute>
 </class>