You can optimize the ADF Business Components application module pool for web services by changing some Business Component properties.
To change the configuration properties:
Configuration.createRootApplicationModule()
method is the same
as the name of the configuration where you set the properties.
jbo.ampool.dynamicjdbccredentials
=
false
true
, which allows
each user to dynamically provide new username/password credentials
for each use of the application module.false
.
jbo.ampool.resetnontransactionalstate
=
false
true
because sharing the non-transactional application module state (VO where
clauses, view criteria, and so on) should be done consciously.false
, prepared
statements can be shared across uses of the pooled application
module avoiding the JDBC overhead of recreating and reparsing them.
Generating a Web Service Class for
the Application Module
Creating Web Services from ADF Business
Components Using Generated Web Service Classes
Before Deploying a Web Service from an ADF Business Components Application
Module
Copyright © 1997, 2004, Oracle. All rights reserved.