Appendix B Repository Properties Reference


Component properties

Description

Component property names begin with com.sybase.jaguar.component . In Jaguar Manager, configure component properties in the Component Properties dialog box.


com.sybase.jaguar.component.auto.failover

Description

Specifies whether client proxies can transparently fail over to a different server.

Syntax

Allowable values are true and false .

Usage

In Jaguar Manager, set this property using the "Automatic failover" check box on the Transactions tab.

See Also

Chapter 7, "Load Balancing, Failover, and Component Availability"

Chapter 25, "Managing Persistent Component State," in the EAServer Programmer's Guide.


com.sybase.jaguar.component.bind.naming

Description

Specifies the name with which the component is bound to the name service. If not specified, the default is package/component where package is the EAServer package name, and component is the component name.

Syntax

name

Where name is the name service path, relative to the server or cluster's initial naming context.

Usage

In Jaguar Manager, you can set this property in the Component Properties dialog as follows:

See Also

com.sybase.jaguar.server.CosNaming.initialcontext,
com.sybase.jaguar.cluster.initialcontext


com.sybase.jaguar.component.bind.object

Description

Specifies whether instances are bound to client's object reference.

Syntax

true or false . The default is false .

Usage

This property cannot be enabled unless the component is stateful and thread-safe.

In Jaguar Manager, set this property using the Bind Object check box on the Instances tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.thread.safe,
com.sybase.jaguar.component.stateless,
com.sybase.jaguar.component.tx_vote


com.sybase.jaguar.component.bind.thread

Description

Specifies whether instances are bound to the thread that created them.

Syntax

true or false . The default is false .

Usage

Set this property to true if your component uses thread-local storage. This property must be enabled for ActiveX components.

In Jaguar Manager, set this property using the Bind Thread check box on the Instances tab in the Component Properties dialog box.


com.sybase.jaguar.component.cmp.version

Description

For EJB 2.0 entity beans that use CMP (automatic persistence), specifies the CMP model version.

Syntax

Allowable values are:

Value To indicate
1.1 (the default) CMP according to the EJB 1.1 specification.
2.0 CMP according to the EJB 2.0 specification.

If no value is specified, the default is 1.1.


com.sybase.jaguar.component.code.set

Description

For a C or C++ component, specifies the coded character set name used to encode character and string parameter data.

Syntax

codeset

Where codeset is the coded character set name. The default is the package character set specified by com.sybase.jaguar.package.code.set.

Usage

In Jaguar Manager, set this property using the Code set field on the General tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.package.code.set


com.sybase.jaguar.component.com.progid

Description

Specifies the progid that the component uses in the COM Automation Server Registry.

Syntax

progid

Where progid is the COM progid.

Usage

In Jaguar Manager, set this property using the COM Progid field on the General tab in the Component Properties dialog box.


com.sybase.jaguar.component.context

Description

Specifies the name of the component's context IDL interface: for example, CtsComponents::ObjectContext.

Syntax

context

Where context is the name of the context IDL interface.

Usage

The context interface must match the context interface used in the component's control interface. For example, if the control interface is CtsComponents::ObjectControl, specify CtsComponents::ObjectContext.

In Jaguar Manager, set this property using the All Properties tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.control


com.sybase.jaguar.component.control

Description

Specifies the name of the component's control IDL interface, for example CtsComponents::ObjectControl.

Syntax

control

Where control is the name of the control IDL interface.

Usage

The control interface defines methods called by EAServer in response to changes in the instance lifecycle. The choices are summarized in this table:

Control interface Description
JaguarEJB::EntityBean For EJB entity beans.
JaguarEJB::StatefulSessionBean For EJB stateful session beans.
JaguarEJB::StatelessSessionBean For EJB stateless session beans.
JaguarEJB::ServerBean The EAServer 1.1 Java component lifecycle model. The default for Java/CORBA components that do not have persistent state (that is, when the Persistence field is None).
CtsComponents::ObjectControl A CORBA lifecycle model based on the EJB entity bean model. The default for Java/CORBA and C++/CORBA components with persistent state (that is, when the Persistence field is Component Managed).
JaguarCOM::ObjectControl For ActiveX components.

These interfaces are documented in the generated IDL documentation, which is available in HTML format in the html/ir subdirectory of your EAServer installation. If you use a control interface other than JaguarEJB::ServerBean, EAServer generates the control interface methods in the implementation template when you generate a C++ or Java skeleton.

In Jaguar Manager, set this property using the All Properties tab in the Component Properties dialog box. For EJB components, the control interface is set correctly when you specify the component type property in Jaguar Manager, and should not be changed.

See Also

com.sybase.jaguar.component.context,
com.sybase.jaguar.component.pooling,
com.sybase.jaguar.component.stateless,
com.sybase.jaguar.component.tx_vote


com.sybase.jaguar.component.cpp.class

Description

For a C++ component, specifies the implementation class name.

Syntax

class

Where class is the name of the implementation class.

Usage

In Jaguar Manager, set this property in the C++ Class field on the General tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.cpp.library


com.sybase.jaguar.component.cpp.copy

Description

For C and C++ components, specifies whether the server should copy the component library before running it.

Syntax

true or false . The default is false .

Usage

Set this property to true to allow updates to the implementation on operating systems that do not allow overwriting a DLL or shared library while the library is in use.

In Jaguar Manager, set this property using the All Properties tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.refresh


com.sybase.jaguar.component.cpp.debug

Description

For a C++ component, specifies whether to catch exceptions.

Syntax

true or false . The default is true , which specifies that exceptions are caught in the server.

Usage

When debugging an executing component, set this property to false to allow exceptions to reach your debugger. You must set this property to true to debug an executing C++ component in Microsoft Visual C++. Other C++ debuggers may require the same setting as well.

In a production server, set the property to true so exceptions thrown by component code do not terminate the server process.

In Jaguar Manager, set this property using the All Properties tab in the Component Properties dialog box.


com.sybase.jaguar.component.cpp.library

Description

For C and C++ components, specifies the name of the DLL or shared library that contains the implementation class.

Syntax

library

Where library is the library name, minus platform extensions such as .dll for Windows or .so for Solaris. You can append ${JAGUAR_PLATFORM} to the name. ${JAGUAR_PLATFORM} indicates that this part of the name should be replaced with the EAServer platform identifier (specified by the JAGUAR_PLATFORM variable set in the generated makefile). This substitution allows you to deploy libraries for multiple platforms to support multiplatform clusters.

The library must be located in the EAServer cpplib directory to support component refresh.

Usage

In Jaguar Manager, set this property in the DLL Name field on the General tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.cpp.class


com.sybase.jaguar.component.cpp.process

Description

For C++ components, specifies the name of an external process to run the component. If the property is not set, the component executes within the EAServer process.

Syntax

executable

Where executable is the name of the executable file, minus platform extensions (such as .exe for Windows). The executable must be located in the EAServer cpplib subdirectory.

In Jaguar Manager, set this property in the C++ Executable field on the General tab in the Component Properties dialog box.


com.sybase.jaguar.component.cs.create

Description

For a C component, specifies whether the implementation has a create routine.

Syntax

true or false . The default is false .

Usage

The Jaguar server calls create when creating a new instance of the component. The signature for create is:

CS_RETCODE CS_PUBLIC create()

create must return CS_SUCCEED.

In Jaguar Manager, set this property using the All Properties tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.cs.destroy


com.sybase.jaguar.component.cs.destroy

Description

For a C component, specifies whether the implementation has a destroy routine.

Syntax

true or false . The default is false .

Usage

The Jaguar server calls destroy when destroying an instance of the component. The signature for destroy is:

CS_RETCODE CS_PUBLIC destroy()

destroy must return CS_SUCCEED.

In Jaguar Manager, set this property using the All Properties tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.cs.create


com.sybase.jaguar.component.debug

Description

Specifies whether the server logs trace information for instance lifecycle events such as creation, destruction, pooling, and so forth.

Syntax

true or false . The default is false .

In Jaguar Manager, set this property using the All Properties tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.cpp.debug,
com.sybase.jaguar.component.pb.debug,
com.sybase.jaguar.component.trace


com.sybase.jaguar.component.ejb.home

Description

For EJB components, specifies the home interface class name. Derived from com.sybase.jaguar.component.home.

Syntax

class

Where class is the Java class name, for example com.sybase.jaguar.sample.GlossaryHome.

Usage

This property is read-only. It is automatically set when you specify the component's IDL home interface with the com.sybase.jaguar.component.home property.

In Jaguar Manager, view this property in the Home Interface field on the General tab in the Component Properties window.

See Also

com.sybase.jaguar.component.home,
com.sybase.jaguar.component.ejb.remote


com.sybase.jaguar.component.ejb.key

Description

For an EJB entity bean component, specifies the class name for the primary key type. Derived from com.sybase.jaguar.component.key.

Syntax

class

Where class is the Java class name; for example, com.sybase.jaguar.sample.GlossaryKey or java.lang.String.

Usage

This property is read-only. It is automatically set when you specify the component's IDL primary key type with the com.sybase.jaguar.component.key property.

In Jaguar Manager, view this property in the Primary Key field on the General tab in the Component Properties window.

See Also

com.sybase.jaguar.component.key


com.sybase.jaguar.component.ejb.local

Description

For EJB 2.0 components, specifies the Java local interface name.

Syntax

class

Where class is the Java class name; for example, com.sybase.jaguar.sample.LocalGlossary.

Usage

This property is read-only. It is automatically set when you specify the component's IDL remote interface with the com.sybase.jaguar.component.local property.

In Jaguar Manager, view this property in the Local Interface field on the General tab in the Component Properties window.

See Also

com.sybase.jaguar.component.local,
com.sybase.jaguar.component.ejb.local.home,
com.sybase.jaguar.component.ejb.remote


com.sybase.jaguar.component.ejb.local.home

Description

For EJB 2.0 components, specifies the Java local home interface name.

Syntax

class

Where class is the Java class name, for example com.sybase.jaguar.sample.LocalGlossaryHome.

Usage

This property is read-only. It is automatically set when you specify the component's IDL local home interface with the com.sybase.jaguar.component.local.home property.

In Jaguar Manager, view this property in the Local Home Interface field on the General tab in the Component Properties window.

See Also

com.sybase.jaguar.component.local,
com.sybase.jaguar.component.ejb.home


com.sybase.jaguar.component.ejb.remote

Description

Specifies the remote interface class name for an EJB component. Derived from com.sybase.jaguar.component.remote.

Syntax

class

Where class is the Java class name, for example com.sybase.jaguar.sample.Glossary.

Usage

This property is read-only. It is automatically set when you specify the component's IDL remote interface with the com.sybase.jaguar.component.remote property.

In Jaguar Manager, view this property in the Remote Interface field on the General tab in the Component Properties window.

See Also

com.sybase.jaguar.component.remote,
com.sybase.jaguar.component.ejb.home


com.sybase.jaguar.component.env-entry

Description

For EJB components (EJB version 1.1 or later), specifies environment properties.

Syntax

See Environment properties.

Usage

In Jaguar Manager, configure environment properties on the Environment tab in the Component Properties dialog box.

EJB 1.0 components do not use this property. Any property whose name does not begin with com.sybase.jaguar.component is considered an environment property for an EJB 1.0 component.


com.sybase.jaguar.component.ejb-local-ref

Description

For EBJ components, specifies a list of EJB local references that define aliased JNDI names for local components invoked by this component.

Syntax

ejb-ref1, ejb-ref2, ...

Where ejb-ref1, ejb-ref2, and so forth follow the syntax of EJB local reference properties.

Usage

Use this property if aliased beans are invoked using local interfaces. If you are using remote interfaces, use the com.sybase.jaguar.component.ejb-ref property.

See Also

EJB local reference properties,
com.sybase.jaguar.component.ejb-ref


com.sybase.jaguar.component.ejb-ref

Description

For EBJ components, specifies a list of EJB references that define aliased JNDI names for components invoked by this component.

Syntax

ejb-ref1, ejb-ref2, ...

Where ejb-ref1, ejb-ref2, and so forth follow the syntax of EJB reference properties.

Usage

Use this property if aliased beans are invoked using remote interfaces. If you are using local interfaces, use the com.sybase.jaguar.component.ejb-local-ref property.

See Also

EJB reference properties


com.sybase.jaguar.component.files

Description

Specifies additional files that are included when the component is archived with the package export feature or replicated with the synchronize feature.

Syntax

Same as for com.sybase.jaguar.applicationclient.files

Usage

The com.sybase.jaguar.component.files property specifies a list of files that are to be included when the component is exported into a package archive file or replicated to another server with the synchronize feature. By default, the following files are included when you export packages or synchronize between servers:

In Jaguar Manager, set this property using the Additional Files tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.java.classes,
com.sybase.jaguar.component.pb.librarylist


com.sybase.jaguar.component.home

Description

Specifies the component's home IDL interface. EJB components must have a home interface, and other component types must have one to support access from EJB clients.

Syntax

home

Where home is the IDL interface name. For example, examples::QueryHome. For an EJB component, the default is:

package::componentHome

Where package is the EAServer package name, and component is the EAServer package name. For other component types, there is no default.

Usage

EJB components must have a home interface. A component of any type must have a home interface to be invoked from EJB clients or EJB components.

In Jaguar Manager, set this property using the File menu for the component's Interfaces folder. See the EAServer Programmer's Guide for more information.

See Also

com.sybase.jaguar.component.remote,
com.sybase.jaguar.component.ejb.home,
com.sybase.jaguar.component.local.home


com.sybase.jaguar.component.home.ids

Description

Specifies repository IDs for the component's home IDL interface. Derived from com.sybase.jaguar.component.home.

Syntax

A comma-separated list of repository IDs.

Usage

This property is read-only. It is set automatically when you set the com.sybase.jaguar.component.home property. In Jaguar Manager, view the property using the All Properties tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.home


com.sybase.jaguar.component.identitytype

Description

Specifies whether to use the connection user name or SSL certificate for role-based authorization.

Syntax

Allowable values are:

Value To indicate
jaguar Authorize based on the EAServer connection user name
ssl Authorize based on the SSL certificate digital ID

Usage

In Jaguar Manager, set this property on the All Properties tab in the Component Properties dialog box.


com.sybase.jaguar.component.ids

Description

Specifies repository IDs for the component's IDL interfaces. Derived from com.sybase.jaguar.component.interfaces.

Syntax

A comma-separated list of repository identifiers.

Usage

This property is read-only. It is set automatically when you set the com.sybase.jaguar.component.interfaces property. In Jaguar Manager, view the property using the All Properties tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.interfaces


com.sybase.jaguar.component.interfaces

Description

Specifies the IDL interfaces that the component supports for client use.

Syntax

A comma-separated list of IDL interface names. For example:

MyModule::iFace1,MyModule::iFace2

The default is:

package::component

Where package is the package name, and component is the component name.

Usage

In Jaguar Manager, the component's interfaces can be modified using the Interfaces folder displayed beneath the component icon. See the EAServer Programmer's Guide for more information.

See Also

com.sybase.jaguar.component.remote


com.sybase.jaguar.component.java.class

Description

For Java components (CORBA and EJB), specifies the name of the Java implementation class.

Syntax

The Java class name. For example, com.sybase.jaguar.sample.GlossaryImpl. There is no default.

Usage

In Jaguar Manager, set this property in the Java Class field on the General tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.java.classes


com.sybase.jaguar.component.java.classes

Description

For Java components (CORBA and EJB), specifies additional classes to be loaded by the component class loader.

Syntax

Same as for com.sybase.jaguar.application.java.classes.

Usage

EAServer uses custom class loaders at the server, application, package, and component level. The custom class loader allows you to refresh your implementation without restarting the host server.

Add classes to this property so that:

Java classes for components can be specified in the component, package, and server class lists. If a class is specified at multiple levels, it is loaded at the highest lever. For example, if com.sybase.FooImpl is in the component and package lists, it is loaded by the package class loader.

Note  

Custom class loading can be disabled If the com.sybase.jaguar.component.refresh property is set to false, the component implementation is not custom loaded, and all classes and JAR files required by the component must be in the server's CLASSPATH (and BOOTCLASSPATH for JDK 1.2 or later servers).

In Jaguar Manager, set this property using the Java Classes tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.java.class,
com.sybase.jaguar.component.refresh,
com.sybase.jaguar.application.java.classes,
com.sybase.jaguar.package.java.classes,
com.sybase.jaguar.server.java.classes


com.sybase.jaguar.component.key

Description

For an entity component, specifies the IDL datatype for the primary key.

Syntax

The value can be of the following:

The default is an IDL structure named:

module::remoteKey

Where module is the module that contains the remote interface, and remote is the unscoped IDL name of the remote interface. For example, samples::MyBeanKey. If the structure does not exist, EAServer creates a structure with this name containing a single long field named value.

Note  

Interoperability and key types Use an IDL structure or string if other types of clients besides Java will use the bean.

Usage

In Jaguar Manager, set this property in the Primary Key field on the Persistence tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.ejb.key,
com.sybase.jaguar.component.list


com.sybase.jaguar.component.key.tc

Description

Specifies the type code string for the primary key IDL type. Derived from com.sybase.jaguar.component.key.

Syntax

The type code string.

Usage

This property is read-only. It is set automatically when you set the com.sybase.jaguar.component.key property. In Jaguar Manager, view the value on the All Properties tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.key


com.sybase.jaguar.component.keys

Description

For entity components, specifies the name of an IDL typedef for a sequence of the component's primary key datatype. This type is used when generating the skeleton and implementation classes for the component.

Syntax

The name of an IDL typedef that specifies a sequence of primary key type. The default is an IDL typedef:

module::remoteKeys

Where module is the module that contains the remote interface, and remote is the unscoped IDL name of the remote interface. EAServer defines this typedef as:

typedef sequence < ::key > module::remoteKeys;

Where key is the value of the com.sybase.jaguar.component.key property.

If you have used PowerJ or the Jaguar Manager import feature to import an entity bean, the com.sybase.jaguar.component.keys typedef may use a different naming convention.

Usage

This property is set to the default when you set the com.sybase.jaguar.component.key property, and the IDL typedef is defined if it does not exist already. Set the property manually to use a value other than the default.

In Jaguar Manager, view and set this property using the All Properties tab in the Component Properties window.

See Also

com.sybase.jaguar.component.key,
com.sybase.jaguar.component.ejb.key


com.sybase.jaguar.component.list

Description

For an EJB 1.0 entity bean, specifies the IDL datatype for a sequence of the remote interface type. In an entity bean's IDL home interface, methods that return a collection of instances must return the type name specified by this property.

Syntax

The name of an IDL typedef that specifies a sequence of the remote interface type. The default is an IDL typedef:

module::compList

Where module is the module that contains the remote interface, and comp is the unscoped IDL name of the remote interface. The default typedef is:

typedef sequence < ::remote > module::compList;

Where remote is the value of the com.sybase.jaguar.component.remote property.

Usage

In Jaguar Manager, set this property on the All Properties tab in the Component Properties dialog box.

When you manually specify a value for the Primary Key field on the Persistence tab, Jaguar Manager sets this property to module::componentList where module is the module containing the primary key type, and component is the component name. Jaguar Manager defines the type if it does not exist, using the following structure:

typedef <sequence ri> componentList
where ri is the remote interface name, and component is the component name.

Set the com.sybase.jaguar.component.list property only when you have manually defined a sequence that uses another naming convention or that is located in another module.

If you have used PowerJ or the Jaguar Manager import feature to import an entity bean, the com.sybase.jaguar.component.keys typedef may use a different naming convention.

See Also

com.sybase.jaguar.component.remote


com.sybase.jaguar.component.listener

Description

For message-driven beans (MDBs), specifies the message listener package and component.

Syntax

MDBpackage/MDBcomponent

Usage

In Jaguar Manager, specify the Listener on the MDB Type tab in the Component Properties dialog box.

See Also

"Listeners".


com.sybase.jaguar.component.load

Description

Tells the server when to call ejbLoad.

Syntax

load

Where load can be one of, or a comma-separated list of more than one of, these values:

Value Description
beforeInvoke The server calls ejbLoad before calling each business method.
beforeRemove The server calls ejbLoad before calling ejbRemove.
afterBegin The server calls ejbLoad at the beginning of a transaction. This option may provide the best performance, but you may get the wrong result in some cases; for example, if two entity beans in one transaction are updating the same table, or if updates from session and entity beans are mixed in one transaction.

The default value is beforeInvoke,beforeRemove .

See Also

com.sybase.jaguar.component.store


com.sybase.jaguar.component.local

Description

For EJB 2.0 components, specifies the name of the IDL local interface.

Syntax

local

Where local is the IDL interface name. For example, examples::LocalQuery. The local interface must be one of the interfaces listed in the com.sybase.jaguar.component.interfaces property. There is no default.

Usage

In Jaguar Manager, set this property using the File menu for the Interfaces folder displayed beneath the component icon.

See Also

com.sybase.jaguar.component.local.home,
com.sybase.jaguar.component.remote,
com.sybase.jaguar.component.ejb.local


com.sybase.jaguar.component.local.home

Description

For EJB 2.0 components, specifies the name of the IDL local home interface.

Syntax

home

Where home is the IDL interface name. For example, examples::LocalQueryHome. There is no default.

Usage

In Jaguar Manager, set this property using the File menu for the Interfaces folder displayed beneath the component icon.

See Also

com.sybase.jaguar.component.local,
com.sybase.jaguar.component.home


com.sybase.jaguar.component.maxpool

Description

When instance pooling is enabled, specifies the maximum pool size.

Syntax

Specify a positive integer value, or 0 to indicate the pool size has no limit. The default is 0, which means no maximum pool size is in effect.

Usage

If the maximum pool size is reached, EAServer destroys excess instances after deactivation. Set this property in Jaguar Manager using the Maximum Pooled Instances field on the Resources tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.pooling,
com.sybase.jaguar.component.minpool,
com.sybase.jaguar.component.objects


com.sybase.jaguar.component.maxwait

Description

Specifies the maximum wait time for method execution to complete.

Syntax

wait_time

Where wait_time is the time to wait, in seconds.

Usage

If the method does not complete in time, EAServer returns a CORBA::NO_RESOURCE_EXCEPTION to the caller. Network latency between client and server is not included in the measured method execution time. For C++ components running in an external process, the measured time includes interprocess communication latency.

In Jaguar Manager, set this property using the Maximum Wait field on the Resources tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.timeout,
com.sybase.jaguar.component.tx_timeout,
com.sybase.jaguar.component.cpp.process


com.sybase.jaguar.component.mdb.acknowledge-mode

Description

Specifies the acknowledgment mode for MDBs that manage their own transactions.

Syntax

Allowable values are:

Value To indicate
Auto-acknowledge AUTO_ACKNOWLEDGE mode; the session automatically acknowledges messages
Dups-ok-acknowledge DUPS_OK_ACKNOWLEDGE mode; instructs a session to lazily acknowledge messages, which reduces a session's workload but may lead to duplicate message deliveries

Usage

In Jaguar Manager, set the Acknowledge Mode on the MDB Type tab in the Component Properties dialog box.

See Also

Chapter 29, "Using the Message Service," in the EAServer Programmer's Guide.


com.sybase.jaguar.component.mdb.destination-type

Description

Specifies whether the MDB is associated with a JMS topic or message queue.

Syntax

Allowable values are:

Value To indicate
javax.jms.Topic Topic
javax.jms.Queue Message queue

Usage

In Jaguar Manager, set the Destination Type on the MDB Type tab in the Component Properties dialog box.


com.sybase.jaguar.component.mdb.message-selector

Description

For an MDB associated with a message queue, specifies the message selector for a message queue. The message service uses the selector to filter the message that it delivers to the queue.

Syntax

topic='topicString'

Usage

In Jaguar Manager, define the Message Selector on the MDB Type tab in the Component Properties dialog box.

See Also

"Message selectors".


com.sybase.jaguar.component.mdb.subscription-durability

Description

When the MDB is associated with a topic, specifies whether the topic is durable or nondurable.

Syntax

Allowable values are:

Value To indicate
Durable Durable topic subscriber; guarantees message delivery
NonDurable Nondurable topic subscriber; can receive published messages only while it is connected to EAServer

Usage

In Jaguar Manager, set the Topic Subscription Durability on the MDB Type tab in the Component Properties dialog box.

See Also

Chapter 29, "Using the Message Service," in the EAServer Programmer's Guide.


com.sybase.jaguar.component.methods

Description

Used to store the component's nondefault method properties.

Syntax

Undocumented. Use the Method entity type and the com.sybase.jaguar.method.* property names to set and retrieve method properties.

See Also

Method properties


com.sybase.jaguar.component.minpool

Description

When instance pooling is enabled, specifies the minimum pool size.

Syntax

Specify a 0 or a positive integer value. The default is 0.

Usage

Set this property in Jaguar Manager using the Minimum Pooled Instances field on the Resources tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.pooling,
com.sybase.jaguar.component.maxpool


com.sybase.jaguar.component.model

Description

Specifies the component model.

Syntax

Allowable values are:

Value To indicate
ejb Enterprise JavaBeans model.
cts CORBA with control interface CtsComponents::ObjectControl
mts ActiveX components and CORBA components that use a control interface other than CtsComponents::ObjectControl.
(none) No value required for component types not mentioned above.

Usage

Jaguar Manager sets this property correctly when you change the component type. To view the property, use the All Properties tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.control,
com.sybase.jaguar.component.model.version,
com.sybase.jaguar.component.type


com.sybase.jaguar.component.model.version

Description

For an EJB component, specifies the EJB specification version.

Syntax

Allowable values are "1.0", "1.1", and "2.0". The default is "2.0".

Usage

In Jaguar Manager, set this property using the EJB Version control on the General tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.model,
com.sybase.jaguar.component.type


com.sybase.jaguar.component.name

Description

Specifies the name of the component and the package in which it is installed.

Syntax

package/component

Where:

Usage

In Jaguar Manager, the component name is set when defining a new component and cannot be changed.


com.sybase.jaguar.component.objects

Description

Specifies the maximum number of component instances that can exist at once. For a C++ component that runs as an external process, specifies the maximum number of simultaneously running external processes.

Syntax

n

Where n is a positive integer.

Usage

This property specifies the maximum number of instances that can be created at once. If a request arrives when the maximum number of instances exist and are all busy, the request blocks, with blocking time constrained by the com.sybase.jaguar.component.maxwait property.

In Jaguar Manager, set this property in the Maximum Active Instances field on the Resources tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.cpp.process,
com.sybase.jaguar.component.maxwait,
com.sybase.jaguar.component.maxpool


com.sybase.jaguar.component.pb.appname

Description

For PowerBuilder components, the name of the PowerBuilder application that contains the NVO that implements the component.

Syntax

The name of the PowerBuilder application, as displayed in PowerBuilder.

See Also

com.sybase.jaguar.component.pb.class


com.sybase.jaguar.component.pb.class

Description

For PowerBuilder components, specifies the name of the nonvisual object that implements the component's methods.

Syntax

The name of the PowerBuilder NVO, as displayed in PowerBuilder.

See Also

com.sybase.jaguar.component.pb.appname


com.sybase.jaguar.component.pb.cookie

Description

For versioned PowerBuilder components, contains version cookie data.

Syntax

The cookie data.

See Also

com.sybase.jaguar.component.pb.appname,
com.sybase.jaguar.component.pb.class


com.sybase.jaguar.component.pb.debug

Description

For PowerBuilder components, specifies whether the component can be debugged while executing.

Syntax

true to enable debugging, or false to disable debugging. The default is false .

See Also

com.sybase.jaguar.component.debug


com.sybase.jaguar.component.pb.librarylist

Description

For PowerBuilder components, specifies library files that are required to run the object.

Syntax

The list of library files, separated by semicolons. Prefix library names with a dollar sign ($) if they must be included when the component is synchronized or archived. For example:

mylib.pbl;anotherlib.pbl;$utils.pbl

See Also

com.sybase.jaguar.component.files,
com.sybase.jaguar.component.pb.appname,
com.sybase.jaguar.component.pb.class


com.sybase.jaguar.component.pb.live_edit

Description

For PowerBuilder components, enables or disables the live editing feature.

Syntax

true to enable live editing; false to disable. The default is false .

Usage

This property should be set from the PowerBuilder user interface, as the live editing feature depends on corresponding changes to the component's project settings. See the PowerBuilder documentation for more information.

See Also

com.sybase.jaguar.component.pb.debug


com.sybase.jaguar.component.pb.version

Description

For PowerBuilder components, specifies the required version of the PowerBuilder virtual machine.

Syntax

This property is set when deploying from PowerBuilder, and should not be edited in any other way. Components that lack this property setting are run in the version 7.0 VM.

See Also

com.sybase.jaguar.component.pb.appname,
com.sybase.jaguar.component.pb.class


com.sybase.jaguar.component.pooling

Description

Specifies whether component instances are pooled for reuse by multiple client sessions.

Syntax

true or false . The default is true .

Usage

When this property is true, component instances are always pooled after deactivation. For components that use the JaguarEJB::ServerBean or JaguarCOM::ObjectControl control interfaces, you can also configure pooling by implementing interfaces with a canReuse (ServerBean) or canBePooled (JaguarCOM) method. If you enable the Pooling option in Jaguar Manager, your component is always pooled, and these methods are not called.

In Jaguar Manager, set this property with the Pooling check box on the Instances tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.control,
com.sybase.jaguar.component.maxpool,
com.sybase.jaguar.component.minpool


com.sybase.jaguar.component.ps

Description

For an entity or stateful session component, specifies how persistence is performed.

Syntax

Allowable values are:

Value To indicate
component The implementation manages persistence, via the ejbLoad and ejbStore methods, or ctsLoad and ctsStore.
automatic The server manages persistence with code generated as part of the component skeleton, using mapping properties to map implementation fields to database table columns.
generated A generated class (specified by the com.sybase.jaguar.component.ps.class property) manages persistence.
serialize For Java components only. The component state is serialized and stored in binary form.
none No persistence.

Usage

In Jaguar Manager, set this property using the Persistence Type control on the Persistence tab in the Component Properties dialog box.

See Also

Chapter 25, "Managing Persistent Component State," in the EAServer Programmer's Guide.


com.sybase.jaguar.component.ps.class

Description

For entity components, specifies the generated class to handle component persistence when com.sybase.jaguar.component.ps property is "generated."

Syntax

The Java class name.

Usage

In Jaguar Manager, set this property in the Generated Class field on the Persistence tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.ps


com.sybase.jaguar.component.qop

Description

Minimum quality of protection required to access component.

Syntax

A QOP identifier. "Securing Component Access," in the EAServer Security Administration and Configuration Guide lists allowable QOP values.

Usage

In Jaguar Manager, set this property using the All Properties tab in the Component Properties dialog box.


com.sybase.jaguar.component.queue

Description

For MDBs associated with a message queue, specifies the name of the message queue.

Syntax

MyQueue

Usage

In Jaguar Manager, specify the Name on the MDB Type tab in the Component Properties dialog box.

See Also

"Permanent destinations",
Chapter 29, "Using the Message Service," in the EAServer Programmer's Guide


com.sybase.jaguar.component.reentrant

Description

For entity components, including EJB entity beans, specifies whether a component can recursively call itself, or participate in an intercomponent call sequence that creates recursion.

Syntax

true or false . The default is false .

Usage

In Jaguar Manager, set this property with the Reentrant check box on the Instances tab in the Component Properties dialog box.


com.sybase.jaguar.component.refresh

Description

Specifies whether the component can be refreshed, that is, whether a new implementation can be loaded while the server is running.

Syntax

true or false . The default is true .

Usage

For Java components, disabling the refresh property causes the component and dependent classes to be loaded by the system class loader rather than being custom-loaded. When refresh is disabled, the BOOTCLASSPATH and CLASSPATH environment variables must specify the locations of component classes and dependent classes. Classes and JAR files that are specified in the com.sybase.jaguar.component.java.classes property must be added to the BOOTCLASSPATH and CLASSPATH environment variables.

For applications with many Java components, disabling refresh is one method to improve server performance by reducing the resource overhead incurred by using a class-loader per component. Another method to improve performance is to define the component's custom class lists at the package, application, or server level.

In Jaguar Manager, set this property using the All Properties tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.cpp.copy,
com.sybase.jaguar.component.java.classes,
com.sybase.jaguar.package.java.classes,
com.sybase.jaguar.application.java.classes,
com.sybase.jaguar.server.java.classes


com.sybase.jaguar.component.remote

Description

Specifies the name of the remote (main) IDL interface. EJB components must have a remote interface, and other component types must have one to support access from EJB clients.

Syntax

remote

Where remote is the IDL interface name. For example, examples::Query. The remote interface must be one of the interfaces listed in the com.sybase.jaguar.component.interfaces property. For an EJB component, the default is:

package::component

Where package is the EAServer package name, and component is the EAServer package name. For other component types, there is no default.

Usage

In Jaguar Manager, set this property using the File menu for the Interfaces folder displayed beneath the component icon.

See Also

com.sybase.jaguar.component.home,
com.sybase.jaguar.component.ejb.remote,
com.sybase.jaguar.component.local,
com.sybase.jaguar.component.interfaces


com.sybase.jaguar.component.resource-env-ref

Description

Resource environment references are logical names applied to objects administered by EAServer.

Syntax

See Resource environment reference properties.

Usage

In Jaguar Manager, set this property using the Resource Env Refs tab in the Component Properties dialog box.

See Also

Resource environment reference properties.


com.sybase.jaguar.component.resource-ref

Description

For EJB components, specifies aliased JNDI names for database connections, JavaMail sessions, and URL factories used by the component.

Syntax

See Resource reference properties.

Usage

In Jaguar Manager, set this property using the Resource Refs tab in the Component Properties dialog box.

See Also

Resource reference properties.


com.sybase.jaguar.component.roles

Description

For component types other than EJB, specifies roles that a user must belong to invoke the component.

Syntax

role1, role2, ...

Where role1, role2, and so forth are role names defined in the repository.

Usage

In Jaguar Manager, set this property using the File menu for the Roles folder displayed below the component icon.

Roles are attached to EAServer packages, components, and methods. Attaching a role to a package controls access to all non-EJB components in the package. Attaching a role to a component constrains access to all methods in the component's interfaces. Attaching a role to a method constrains access to that method.

For EJB components, configure access control at the method level by setting the method property com.sybase.jaguar.method.security-roles for each method.

See Also

com.sybase.jaguar.package.roles,
com.sybase.jaguar.method.roles,
com.sybase.jaguar.method.security-roles


com.sybase.jaguar.component.runasidentity

Description

For EJB 1.0 components, specifies an identity name used for intercomponent calls if the com.sybase.jaguar.component.runasmode property is "specified."

Syntax

id

Where id is the alias name for an identity. The name used must be aliased to an entity that exists in the EAServer repository by setting a com.sybase.jaguar.package.runasidentity.<id> property for the package that contains this component. For example, if the component's run-as identity property is "ejbFoo", create a package property with this name and value:

com.sybase.jaguar.package.runasidentity.ejbFooId=fooId

Usage

In Jaguar Manager, set this property using the Run As Identity field on the Run As Mode tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.runasmode,
com.sybase.jaguar.package.runasidentity.<id>


com.sybase.jaguar.component.runasmode

Description

For EJB 1.0 components, specifies the user identity that is assumed for intercomponent calls.

Syntax

Allowable values are:

Value Description
client Use the client's user name and password. This is the default setting.
system Use the system user name and password. The system account effectively belongs to any role, and can execute any method on any component that is installed in the same server or cluster.
specified Use the user name and password associated with the identity name specified by the com.sybase.jaguar.component.runasidentity property.

Usage

In Jaguar Manager, set this property using the Run As Mode tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.runasidentity,
com.sybase.jaguar.method.runasmode


com.sybase.jaguar.component.security.runasidentity

Description

For EJB 2.0 components, specifies the run-as identity used for intercomponent calls. If this property is not set, intercomponent calls use the client identity.

Syntax

(specified=id,role=role-name,desc=desc)

Where:

id Is a logical identity name which must be mapped to an EAServer identity by setting a corresponding package property, com.sybase.jaguar.package.runasidentity.<id> where <id> is the logical identity name.
role-name Is a logical role name which must be mapped to an EAServer role by setting a corresponding package property, com.sybase.jaguar.package.security-role.<j2ee-role> where <j2ee-role> is the logical role name. The mapping can also be established by setting the com.sybase.jaguar.application.security-role.<j2ee-role> property.

The mapped EAServer identity should be in the mapped EAServer role.
desc Is an optional description of the run-as authorization requirement. The description can help users when the component is deployed to another server, and the deployer must choose a different identity mapping.

See Also

com.sybase.jaguar.package.runasidentity.<id>,
com.sybase.jaguar.package.security-role.<j2ee-role>,
com.sybase.jaguar.application.security-role.<j2ee-role>,
com.sybase.jaguar.component.runasidentity


com.sybase.jaguar.component.security-role-ref.<j2ee-role-ref>

Description

For EJB components, maps a role reference specified in the com.sybase.jaguar.component.security-role-refs property to a J2EE role name defined in package or application properties.

Syntax

com.sybase.jaguar.component.security-role-ref.role-ref=j2ee-role

Where:

Usage

Applies to EJB (1.1 or 2.0) components only.

In Jaguar Manager, set this property on the Role Refs tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.application.security-roles,
com.sybase.jaguar.package.security-roles


com.sybase.jaguar.component.security-role-refs

Description

For EJB components, specifies role reference names used within isCallerInRole method invocations in the component implementation.

Syntax

A comma-separated list of role reference names. For each role reference specified by this property, you must map the role reference to a J2EE role name by setting the corresponding com.sybase.jaguar.component.security-role-ref.<j2ee-role-ref> property.

Usage

Applies to EJB (1.1 or 2.0) components only. Role references are required if the component implementation calls the isCallerInRole Java method to programmatically restrict access.

In Jaguar Manager, set this property on the Role Refs tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.security-role-ref.<j2ee-role-ref>


com.sybase.jaguar.component.sharing

Description

Specifies whether multiple component instances can be created. A shared component serves all client requests with one instance.

Syntax

true or false . The default is false .

Usage

When this option is enabled, a single, shared instance of the component services all client requests. A shared component can store data in instance variables. However, if the com.sybase.jaguar.component.thread.safe property is true, you must synchronize access to instance variables.

Note  

Sharing setting overrides Pooling setting If both com.sybase.jaguar.component.sharing and com.sybase.jaguar.component.pooling are enabled (true), the sharing property takes precedence.

In Jaguar Manager, set this property using the Sharing check box on the Instances tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.pooling,
com.sybase.jaguar.component.thread.safe


com.sybase.jaguar.component.state

Description

For entity components or stateful components that use automatic storage, specifies the datatype for the component's state information.

Syntax

The name of an IDL structure or serializable Java class that stores component state.

Usage

In Jaguar Manager, set this property in the State field on the Persistence tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.ps,
Chapter 25, "Managing Persistent Component State," in the EAServer Programmer's Guide


com.sybase.jaguar.component.state.gs

Description

For entity components or stateful components that use automatic persistence, specifies component methods that set and retrieve component state.

Syntax

For EJB entity beans, set the value to "default."

For component types other than EJB entity beans, set the value to:

getMethod, setMethod

Where getMethod is the name of the method that returns component state information, and setMethod is the name of the method that receives component state information and applies it to instance fields. If you specify no value, the default is getState,setState . Your component implementation must contain these methods, but they should not be listed in the component's client interfaces. The getState method returns an instance of the type specified by the State field, and the setState method accepts a parameter of this type. For example, if the State type is ShoppingCartState, the getState and setState methods might be defined as follows in Java:

private ShoppingCartState data;

ShoppingCartState getState()
{
    return data;
}

void setState(ShoppingCartState state)
{
    data = state;
}

Usage

In Jaguar Manager, set this property in the State Methods field on the Persistence tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.ps,
Chapter 25, "Managing Persistent Component State," in the EAServer Programmer's Guide.


com.sybase.jaguar.component.state.ts

Description

For entity components that use automatic persistence with mapped table fields, specifies how the server uses optimistic concurrency control to prevent overlapping updates to the same column.

Syntax

The value can be one of the following:

Usage

In Jaguar Manager, set this property using the Timestamp field on the Persistence tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.ps,
com.sybase.jaguar.component.ts.length,
Chapter 25, "Managing Persistent Component State," in the EAServer Programmer's Guide


com.sybase.jaguar.component.stateless

Description

For EJB session beans and non-EJB components that use the control interface CtsComponents::ObjectControl, specifies whether the component is stateless, that is, whether an instance should be bound to a client session for its lifetime.

For EJB session beans, this property is set automatically when the component type is set, and must not be changed. For other component types, the option must be set manually.

Syntax

true or false . The default is false .

Usage

In Jaguar Manager, set this property using the Stateless check box on the Instances tab in the Component Properties window.

See Also

com.sybase.jaguar.component.control,
com.sybase.jaguar.component.tx_vote


com.sybase.jaguar.component.storage

Description

For entity or stateful session components that use automatic persistence or failover support, specifies the Storage component.

Syntax

For a stateful session component that uses in-memory state replication, specify:

CtsComponents/HeapStorage

For an entity component or stateful session component that uses persistent (remote database) storage, specify:

storage(cache=cacheName,table=tableName)

Where:

In Jaguar Manager, set this property in the Storage Component field on the Persistence tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.ps,
com.sybase.jaguar.component.state.ts,
Chapter 25, "Managing Persistent Component State," in the EAServer Programmer's Guide


com.sybase.jaguar.component.store

Description

Tells the server when to call ejbStore.

Syntax

store

Where store can be one of, or a comma-separated list of more than one of, these values:

Value Description
afterCreate The server calls ejbStore after it calls ejbPostCreate.
afterInvoke The server calls ejbStore after it calls each business method.
beforeCompletion The server calls ejbStore at the end of a transaction. This option may provide the best performance, but you may get the wrong result in some cases; for example, if two entity beans in one transaction are updating the same table, or if updates from session and entity beans are mixed in one transaction.

The default value is afterCreate,afterInvoke .

See Also

com.sybase.jaguar.component.load


com.sybase.jaguar.component.thread.safe

Description

Specifies whether multiple component instances can execute concurrently, or whether a shared component can execute simultaneously on multiple threads. If this option is disabled, the server serializes all invocations of component methods.

Syntax

true or false . The default is true .

Usage

Enable this option if the component is thread safe.

If the com.sybase.jaguar.component.sharing and com.sybase.jaguar.component.bind.thread properties are both true, the com.sybase.jaguar.component.thread.safe property is implicitly set to false.

In Jaguar Manager, set this property using the Concurrency check box on the Instances tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.bind.thread,
com.sybase.jaguar.component.sharing


com.sybase.jaguar.component.timeout

Description

Specifies how long, in seconds, an active component instance can remain idle between method calls before the client's proxy becomes invalid.

Syntax

time

Where time is the timeout period in seconds. A value of "0" indicates an infinite timeout. The default is specified by the com.sybase.jaguar.server.timeout server property.

Usage

If the timeout expires, the instance is automatically deactivated. Instance Timeout is useful for ensuring timely deactivation of stateful components. The setting has no effect for stateless components.

When the timeout period is exceeded, EAServer deactivates the component and invalidates the client's object reference. If the client attempts another method invocation, the client-side ORB throws the CORBA::OBJECT_NOT_EXIST exception. At this point, the client must create a new proxy instance for the component.

When specifying timeouts, a resolution of 5 seconds is recommended.

Network transport time is not included in the measured timeout period. You may need to configure a larger timeout period if clients connect over slow networks.

In Jaguar Manager, set this property using the Instance Timeout field on the Resources tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.server.timeout


com.sybase.jaguar.component.timestamp

Description

Applies to entity components that use automatic persistence. Specifies whether the server can use state information cached by the storage component.

Syntax

true or false . The default is false .

Usage

Setting this property to true can improve performance by avoiding unnecessary database read operations.

See Also

com.sybase.jaguar.component.ps


com.sybase.jaguar.component.topic

Description

For MDBs associated with a message topic, specifies the name of the topic.

Syntax

MyTopic

Usage

In Jaguar Manager, specify the Name on the MDB Type tab in the Component Properties dialog box.

See Also

"Permanent destinations",
Chapter 29, "Using the Message Service," in the EAServer Programmer's Guide


com.sybase.jaguar.component.trace

Description

Enable additional debug tracing for the component.

Syntax

true or false . The default is false .

Usage

In Jaguar Manager, set this property using the All Properties tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.debug


com.sybase.jaguar.component.transient

Description

Applies to stateful components only. Specifies whether instances can be run on multiple servers in a cluster or survive a server restart.

Syntax

true or false . The default is true .

Usage

If this option is enabled, the server guarantees that proxy references can only be used within the same server process. For EJB stateful session beans, this property must be enabled for the standard EJB passivation and activation to occur. It must be disabled if you want to configure a stateful session bean to support failover.

In Jaguar Manager, set this property using the Transient check box on the Instances tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.ps


com.sybase.jaguar.component.ts.length

Description

When com.sybase.jaguar.component.state.ts specifies a column name, this property specifies the datatype and length.

Syntax

No value indicates the default, 4-byte integer. Specify binary(16) to use globally unique 16-byte ID timestamps.

Usage

In Jaguar Manager, set this property using the All Properties tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.ps,
com.sybase.jaguar.component.state.ts,
Chapter 25, "Managing Persistent Component State," in the EAServer Programmer's Guide.


com.sybase.jaguar.component.tx_control

Description

Specifies whether control interface methods execute in the context of a server-managed transaction.

Syntax

true or false . The default is true for EJB entity beans, and false for other component types.

Usage

In Jaguar Manager, set this property using the All Properties tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.control


com.sybase.jaguar.component.tx_outcome

Description

Determines whether a CORBA::TRANSACTION_ROLLEDBACK exception is thrown to the client when a transaction is rolled back.

Syntax

The allowable settings are:

Setting Description
always The default. EAServer sends a CORBA::TRANSACTION_ROLLEDBACK exception to the client when a transaction is rolled back.
failed EAServer does not send the CORBA::TRANSACTION_ROLLEDBACK exception to the client when a transaction is rolled back. If you use this setting, you can code your components to raise a different exception with a descriptive message after calling the RollbackWork transaction primitive.

With this setting in effect, EAServer may still throw a CORBA system exception if unable to commit a transaction at your component's request.

Usage

Set this property to failed if you require that no exceptions are sent to the client for rolled-back transactions or that an alternate exception is sent. This setting is useful if you require that the client be able to retrieve output parameters after a transaction is rolled back: if an exception is thrown, the output parameters are not available.

In Jaguar Manager, set this property using the All Properties tab in the Component Properties dialog box.


com.sybase.jaguar.component.tx_timeout

Description

Specifies the maximum duration of an EAServer transaction begun by the component.

Syntax

The timeout period, in seconds, with 0 indicating no timeout. EAServer determines the transaction timeout period as follows:

Usage

When specifying timeouts, Sybase recommends a resolution of 5 seconds. EAServer checks for timeouts after each method returns. Your component will not be deactivated in the middle of an invocation because of a timeout. When a transaction times out, the next method invocation in the client-side ORB throws the CORBA::TRANSACTION_ROLLEDBACK system exception.

In Jaguar Manager, set this property in the Transaction Timeout field on the Resources tab in the Component Properties dialog box.

See Also

com.sybase.jaguar.component.timeout, com.sybase.jaguar.server.tx_timeout


com.sybase.jaguar.component.tx_type

Description

Specifies how methods in your component participate in transactions.

Syntax

Table 15-2 lists allowable values:

Table 15-2: tx_type values
Value To indicate
not_supported The component-level default. The component's methods never execute as part of a transaction. If the component is activated by another component that is executing within a transaction, the new instance's work is performed outside of the existing transaction.
supports The component can execute in the context of an EAServer transaction, but a connection is not required to execute the component's methods. If the component is instantiated directly by a base client, EAServer does not begin a transaction. If component A is instantiated by component B, and component B is executing within a transaction, component A executes in the same transaction.
requires The component always executes in a transaction. When the component is instantiated directly by a base client, a new transaction begins. If component A is activated by component B, and B is executing within a transaction, then A executes within the same transaction; if B is not executing in a transaction, then A executes in a new transaction.
requires_new Whenever the component is instantiated, a new transaction begins. If component A is activated by component B, and B is executing within a transaction, then A begins a new transaction that is unaffected by the outcome of B's transaction; if B is not executing in a transaction, then A executes in a new transaction.
mandatory Methods may only be invoked by a client that has an outstanding transaction.
user_managed The component implementation explicitly begins and ends transactions.

For EJB session bean components The component can explicitly begin, commit, and rollback new, independent transactions by using the javax.transaction.UserTransaction interface. Transactions begun by the component execute independently of the client's transaction. If the component has not begun a transaction, the component's database work is performed independently of any EAServer transaction.



Stateless session beans can use this attribute, but transactions begun in a method must be committed or rolled back before that method returns. Otherwise, EAServer logs an error and returns an exception to the client. Stateful session beans can create transactions that remain open across several method calls.

For components of other types The component can inherit a client's transaction. If called without a transaction, the component can explicitly begin, commit, and rollback transactions by using the CORBA CosTransactions::Current interface.

never The component's methods never execute as part of a transaction, and the component cannot be called in the context of a transaction. If a client or another component calls the component with an outstanding transaction, EAServer throws an exception.

Usage

The transaction attribute determines how methods in your component participate in transactions; at the component level, the setting affects all methods. You can also set a transaction attribute for methods within a component using the com.sybase.jaguar.method.tx_type method property. Values set at the method level override the component setting.

See Also

com.sybase.jaguar.method.tx_type


com.sybase.jaguar.component.tx_vote

Description

Specifies whether the component is automatically deactivated after each method invocation, or deactivated at explicit transaction boundaries. For component types to which it applies, setting this property to true effectively marks the component as stateless.

Applies only to components that use a control interface in which the instance activation and deactivation correspond to transaction boundaries. In other words, the option does not apply to EJB components or any component that uses the control interface CtsComponents::ObjectControl.

Syntax

Allowable values are true and false . The default for new components is true .

Usage

In Jaguar Manager, set this property with the Automatic Demarcation / Deactivation check box on the Transactions tab in the Component Properties window.

For EJB session bean components and components that use the CtsComponents::ObjectControl control interface, the com.sybase.jaguar.component.stateless provides similar behavior.

See Also

com.sybase.jaguar.component.control,
com.sybase.jaguar.component.stateless


com.sybase.jaguar.component.type

Description

Specifies the component type.

Syntax

type 

Where type is one of:

Type value To indicate
com ActiveX/COM
cpp C++, using CORBA C++ language bindings
cs C (using Open Client/Server CS datatypes)
ejb An Enterprise Java bean (EJB) component, conforming to the EJB version indicated by the com.sybase.jaguar.component.model.version property
java A CORBA/Java component, using CORBA Java language bindings
jdbc A Java component using JDBC datatypes for parameters and return values
pb A PowerBuilder component
library A component run by the specified dispatcher library

Usage

In Jaguar Manager, set this property using the Component Type field on the General tab in the Component Properties dialog box.


com.sybase.jaguar.description

Description

Specifies a text description of the component.

Syntax

desc

Where desc is the descriptive text.

Usage

In Jaguar Manager, set this property using the Description field on the General tab of the Component Properties dialog box.

 


Copyright © 2002 Sybase, Inc. All rights reserved.