Access Keys:
Skip to content (Access Key - 0)

All content with label slee-programming.
Related Labels: kb-sbb-developer, pending_finishupdate, loading, kb-resource-adaptors, slee-extensions, http-ra, kb-classloading, kb-entry, kb-security, sbb-developer, slee_1_1, classnotfoundexception, kb-rhino-slee, rhino-management, pending_approval, kb-jain-slee, noclassdeffounderror, other-ra, linkageerror, more »

How can I ensure that CMP fields in one node are replicated to other nodes in the cluster? (Dev Portal)
How can I ensure that CMP fields in one Rhino SLEE node are replicated to other nodes in the cluster? A service in Rhino can be configured as replicated. By configuring the service as replicated, Rhino will replicate all SBB entities and their state (CMP fields ...
Other labels: kb-clustering, kb-rhino-slee, kb-jain-slee, kb-entry
How can we collect operational measurements periodically? (Dev Portal)
How can we collect operational measurements periodically? Is it via SBB Usage Statistics? If so, how do we collect them in a synchronous fashion (all at the same instant)? Yes, SBB usage statistics would be used for this. They can be collected ...
Other labels: sbb-developer, kb-jain-slee, kb-entry
How does an SBB inject an event into a Null Context that it is not attached to? (Dev Portal)
How does an SBB inject an event into a Null Context that it is not attached to? The activity context could be passed via a local interface method, or it may be looked up in the SLEE's Activity Context Naming Facility. For example, a name (like a session ...
Other labels: sbb-developer, kb-jain-slee, kb-entry
How do I cancel a Timer? (Dev Portal)
JAIN SLEE timers implemented with java.util.Timers internally? How cancel a SLEE timer? Should I cancel it in one of the SBB lifecycle methods?   JAIN SLEE does not prescribe how SLEE timers should be implemented. Rhino uses an alternative ...
Other labels: kb-jain-slee, kb-entry
How do I deploy SBBs with cyclic dependencies? (Dev Portal)
I have a Parent and Child SBBs in a ChildRelation navigable in both directions. The child SBB stores a reference to the parent in a CMP field so it can call the parent. The CMP field definition names the parent SBB. There is a cyclic dependency between the parent ...
Other labels: sbb-developer, kb-jain-slee, kb-entry
How do I design a counter for the number of timeouts for each request type? (Dev Portal)
Please me know what will be the right design to maintain counters for request/responses? I am designing a synchronous counter, one type for each request/reponse.   The UsageFacility provided in the SLEE is the most appropriate way to maintain such counters. Note that the SBB ...
Other labels: other-ra, rhino-management, kb-jain-slee, kb-entry
How do I diagnose class loading problems (Dev Portal)
Introduction This document identifies classloading problems that may arise in JAIN SLEE using Rhino, their common causes and how problems can be diagnosed. First, an explanation of why classloading can be an issue in JAIN SLEE is given. The document then describes ...
Other labels: howto, debugging, loading, classloading, linkageerror, classcastexception, classloader, class
How do I direct events from an RA to an SBB? (Dev Portal)
Does only the SBB which invoked the RA receive the response event? Is it possible to deliver the event only to that SBB?   This behaviour is achieved using activities and activity contexts. When the SBB invokes the RA method, the RA should create an activity ...
Other labels: ra-development, sbb-developer, kb-jain-slee, kb-entry
How do I link an SBB to an RA? (Dev Portal)
I have an RA and I was expecting that the mechanism would call the getSBBResourceAdaptorInterface which in my case returns the interface to the charging implementation, that is stored in a field in the RA. But when I get the JNDI lookup I get a Proxy that holds the RA ...
Other labels: sbb-developer, kb-jain-slee, kb-entry
How do I locate activity objects in an event handler for other activities I am attached to? (Dev Portal)
Consider this usecase. I am attached to a MessageActivity. When I receive the XXXEvent on this activity I create a new SubmitActivity and send a Submit Request. How do I locate the MessageActivity when I receive the SubmitResponse event? Here is the Code ...
Other labels: kb-jain-slee, kb-entry
Adaptavist Theme Builder Powered by Atlassian Confluence