Usage of Java in Siebel
Part 1
Prepared By Moslem Ghalandari Date 2022-09-21
Review Sarah Hosseinjani Date 2022-09-22
1|Page
Table of Contents
Review ............................................................................................................................................. 3
1- The EAI Java Business Service consists of the following: .......................................................... 4
2- The EAI Java Business Service works in two different ways: .................................................... 4
1.1. 32-bit JVM. The EAI Java Business Service works by creating a 32-bit Java Virtual
Machine (JVM) in-process with the Siebel application and invoking Java
implementations using Java Native Interface (JNI). Each Siebel process (component) has
at most one JVM. JVMs are not shared across components. .............................................. 4
1.2. 64-bit JVM. The EAI Java Business Service works by creating a 64-bit Java Virtual
Machine (JVM) that runs in a separate process from Siebel application and invokes Java
implementations using HTTP. ............................................................................................ 4
3- Requirements for implementing a Java Business Service: ....................................................... 4
4- More information: .................................................................................................................... 5
2|Page
Review
Anyone familiar with Siebel, must have heard about eScript.
But to review:
Siebel eScript is a scripting or programming language that application developers
use to write simple scripts to extend Siebel applications. JavaScript, a popular
scripting language used primarily on Web sites, is its core language.
Siebel eScript is ECMAScript compliant. ECMAScript is the standard
implementation of JavaScript as defined by the ECMA-262 standard. The Siebel
ST eScript engine, the default scripting engine in Siebel 8.0, supports ECMAScript
Edition 4.
Siebel eScript provides access to local system calls through two objects, Clib and
SElib, so that you can use C-style programming calls to certain parts of the local
operating system. This capability allows programmers to write files to the local
hard disk and perform other tasks that standard JavaScript cannot.
In my opinion eScript is sufficient for small requirements.
But as the project grows we need more powerful tools; this is where java comes in.
The EAI Java Business Service (JBS) is a service framework that allows
custom business services to be implemented in Java and run from a Siebel
application.
Firstly why use a JBS? Using a JBS allows us to implement features that are not
available out of the box. We can leverage all of the open source software that
already been built and tested, and just plug and play in Siebel.
The Siebel documentation provides some good high level information on the basics
of a JBS, but there is no step by step details on how to implement it.
That’s why I am here to share with you the knowledge I have gained through
experience and research.
3|Page
The following information has been compiled from the Oracle Siebel CRM Documentation,
impossiblesieble.com ,…
1- The EAI Java Business Service consists of the following:
A template business service, EAI Java Business Service, which is defined in
the repository.
An abstract Java class, com.siebel.eai.SiebelBusinessService, that defines
the interface of the Java class that implements the business service.
2- The EAI Java Business Service works in two different
ways:
1.1. 32-bit JVM. The EAI Java Business Service works by creating a 32-bit Java
Virtual Machine (JVM) in-process with the Siebel application and invoking
Java implementations using Java Native Interface (JNI). Each Siebel process
(component) has at most one JVM. JVMs are not shared across components.
1.2. 64-bit JVM. The EAI Java Business Service works by creating a 64-bit Java
Virtual Machine (JVM) that runs in a separate process from Siebel application
and invokes Java implementations using HTTP.
3- Requirements for implementing a Java Business Service:
To implement a Java business service, the following software must be installed and
properly configured on each Siebel Server or Siebel Mobile and Developer Web
Clients:
A Java Runtime Environment (JRE)
All necessary Java code
A configured named subsystem of type:
o JVMSubSys for a 32-bit JRE or
o JavaContainerSubSys for a 64-bit JRE
4|Page
4- More information:
Note: for more basic details please check the original Siebel doc in
docs.oracle.com(Recommended)
If you want to know Steps to implement a JBS follow second part of this
document
5|Page