The EJB or CORBA component that implements your service requires these settings:
Remote or local interface The component’s remote or local interface must include the methods in the CtsServices::GenericService IDL interface. You can define additional methods if necessary.
Concurrency and threading options For best performance, your component must be thread-safe and allow concurrent execution. To support concurrency, you must ensure that access to read/write instance variables is synchronized in your component.
If using CORBA components, enable the Thread Safe property, and disable the Bind Thread option.
Enabling the Thread Safe property allows multiple method invocations to occur simultaneously. If your component has a run() method that executes indefinitely, you must enable the Concurrency option or no clients will be able to invoke methods. To stop the service, EAServer must invoke the stop method on a thread executing concurrently to the thread executing the run method.
Disabling the Bind Thread option allows EAServer to run the component on any available thread. This option is only required by components that use thread-local storage. It should be disabled in any other case.
Transaction attribute Do not create service components that are transactional. EAServer-managed transactions require a component lifecycle that allows component deactivation, and a service component is never deactivated. The component’s transaction attribute must be Not Supported. If you require EAServer’s transaction semantics, implement a component to perform the transaction-created work and call this component from your service component.