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

All content with label kb-entry+slee-programming.
Related Labels: kb-management-api, loading, pending_finishupdate, kb-resource-adaptors, slee-extensions, kb-sis, kb-performance, pending_review, kb-classloading, kb-security, kb-rhino-management, kb-ra-development, sbb-developer, kb-rhino-slee, pending_approval, slee-dev-tools, kb-licensing, kb-jain-slee, linkageerror, more » ( - kb-entry, - slee-programming )

Do we need to keep track of sessions? (Dev Portal)
We have an application which contains a map to maintain what sessions are currently active, so we can, for example, remove them all on service deactivation. It's a map of session ids is there problems with this design? This type of design is not going to scale ...
Other labels: sbb-developer, kb-jain-slee
How can a child SBB receive events? (Dev Portal)
service contains SBB S1 and S2. If S1 is a Root SBB and S2 should be a child SBB created by S1, how can S2 receive events? To receive events, an SBB has to be attached to an activity. For root SBBs which ...
Other labels: kb-jain-slee
How can an SBB generate an alarm in SLEE1.0? (Dev Portal)
How can an SBB generate an alarm in SLEE1.0?   You use the AlarmFacility to generate the alarm. See section 13.2 of the SLEE 1.0 specification. The following code is an example of an Sbb that generates alarms. import javax.slee.facilities.; public ...
Other labels: sbb-developer, kb-jain-slee
How can I avoid redundant entries in a profile table? (Dev Portal)
Let us assume profiles in a profile table "Place" have an attribute called "City". The table has the two profiles (profile1, profile2) with attribute values for city of Auckland and Wellington respectively. If the user modifies the data of second profile to "Auckland ...
Other labels: kb-jain-slee
How can I enable replication of null activities? (Dev Portal)
way to enable replication of null activities without enabling replication on the service which creates them?   By default the NullActivityFactory in the SBB's JNDI environment (java:comp/env/slee/nullactivity/factory) will create replicated or nonreplicated activities depending on whether the service ...
Other labels: kb-jain-slee
How can I enable the collection of usage statistics per SBB? (Dev Portal)
way to turn on and off the collection of usage stats for a specific SBB using the deployment descriptors?   The way to do this is to make your SBB stats collecting code conditional on an environment entry in the SBB deployment descriptor. Then you can change the DD ...
Other labels: rhino-management, kb-jain-slee
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
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
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
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
Adaptavist Theme Builder Powered by Atlassian Confluence