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 »

Does Rhino synchronize calls to child SBBs? (Dev Portal)
We have a component that has two instances of a child component i.e. SBB. In case there are two callbacks one from each instance of the child components to the parent. Will the calls be synchronized by the SLEE or will the parent need to take some precautions like synchronisation ...
Other labels: sbb-developer, kb-jain-slee, kb-entry
Does the SLEE use multiple threads to process different activity contexts? (Dev Portal)
Does the SLEE use multiple threads to host different activity contexts?   Rhino does implement thread pooling, but not quite as the question suggests. Instead Rhino has a thread pool of worker threads that the event router uses to schedule, route and process ...
Other labels: rhino-management, kb-jain-slee, kb-entry
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, kb-entry
Hints and Tips for Debugging SLEE Applications (Dev Portal)
Author ana Introduction This guide introduces the important topic of debugging and provides hints and tips for debugging SLEE applications. Observing Behaviour with Logs The first step to debug your application is observing the logs. Log Keys Subsystems within the Rhino SLEE ...
Other labels: howto, debugging
Hints and Tips for Writing Well Performing SLEE Applications (Dev Portal)
Author ana Introduction This guide introduces good defensive programming practices that will help SLEE application developers avoid many common mistakes during the development of SLEE applications. A subset of the common performance issues are related to general performance issues in the Java ...
Other labels: howto, debugging
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-entry, 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: kb-entry, 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, kb-entry
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, kb-entry
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, kb-entry
Adaptavist Theme Builder Powered by Atlassian Confluence