Siebel Object Interfaces Reference > Interfaces Reference > Business Service Methods >

Release Method

The Release method() enables the release of the Business Service and its resources on the Siebel Server.




not applicable



Not applicable

Used With

Java Data Bean


The following example logs in to a Siebel Server. It then instantiates a business object, a business component, and a business service. Then, it releases them in reverse order.


public class JDBReleaseDemo
   private SiebelDataBean m_dataBean = null;
   private SiebelBusObject m_busObject = null;
   private SiebelBusComp m_busComp = null;
   private SiebelService m_busServ = null;

   public static void main(String[] args)
      JDBReleaseDemo demo = new JDBReleaseDemo();

   public JDBReleaseDemo()

         // instantiate the Siebel Data Bean
         m_dataBean = new SiebelDataBean();

         // login to the servers
         <object manager>","<user id>","<password>");
         System.out.println("Logged in to the Siebel server ");

         // get the business object
         m_busObject = m_dataBean.getBusObject("Account");

         // get the business component
         m_busComp = m_busObject.getBusComp("Account");

         // get the business service
         m_busServ = m_dataBean.getService("Workflow Process Manager");

         //release the business service
         System.out.println("BS released ");

         //release the business component

         System.out.println("BC released ");

         //release the business object
         System.out.println("BO released ");

         // logoff
         System.out.println("Logged off the Siebel server ");

      catch (SiebelException e)



Siebel Object Interfaces Reference Copyright © 2008, Oracle. All rights reserved.