Databases Reference
In-Depth Information
7.
The
Pooling
and
Scalability
tab will have properies that you can set for pooling
and scalability.
8.
The
Properies
tab will display the runime parameters for the coniguraions.
What just happened?
We have created a coniguraion using the
HRSchema
connecion for the clients to be able
to interact with the deployed applicaion modules. Whenever a coniguraion is created, we
will have a file named
bc4j.xcfg
to hold the informaion that has been provided for the
coniguraions. Each of the connecions and the coniguraion informaion is stored in this
ile along with other runime parameters used for pooling and high availability.
Have a go hero - explore the bc4j.xcfg file
Explore the
bc4j.xcfg
ile to know more about the coniguraions and properies
associated with each of the coniguraions.
Exposing data
We can expose the operaion of the business components to the view layer using the
client
interface
opion. The opion to expose the methods from the Java class is explained in the
following segments.
Time for action - exposing a method using the client interface
Carry out the following steps to expose a method using the client interface:
1.
Open the
EmpDirectoryModuleImpl.java
file and add the following method:
public String getHelloWorld(){
return "Hello World";
}
2.
Go to the
Java
tab from the
EmpDirectoryModule.xml
file, and click on the pencil
icon in the
Client Interface
secion.
Search WWH ::
Custom Search