Revision: 15476
Author: [email protected]
Date: Wed Nov 24 20:32:10 2010
Log: Fixed example dependency version and extended to handle the session
events
http://code.google.com/p/mobicents/source/detail?r=15476
Modified:
/trunk/servers/jain-slee/examples/http-servlet/library/pom.xml
/trunk/servers/jain-slee/examples/http-servlet/pom.xml
/trunk/servers/jain-slee/examples/http-servlet/sbb/pom.xml
/trunk/servers/jain-slee/examples/http-servlet/sbb/src/main/java/org/mobicents/slee/service/httpservletra/example/HttpServletRAExampleSbb.java
/trunk/servers/jain-slee/examples/http-servlet/sbb/src/main/resources/META-INF/sbb-jar.xml
=======================================
--- /trunk/servers/jain-slee/examples/http-servlet/library/pom.xml Mon Nov
2 01:37:06 2009
+++ /trunk/servers/jain-slee/examples/http-servlet/library/pom.xml Wed Nov
24 20:32:10 2010
@@ -12,7 +12,6 @@
</parent>
<artifactId>http-servlet-library</artifactId>
- <groupId>org.mobicents.examples</groupId>
<dependencies>
<dependency>
=======================================
--- /trunk/servers/jain-slee/examples/http-servlet/pom.xml Mon Nov 2
01:37:06 2009
+++ /trunk/servers/jain-slee/examples/http-servlet/pom.xml Wed Nov 24
20:32:10 2010
@@ -7,21 +7,14 @@
<parent>
<groupId>org.mobicents</groupId>
<artifactId>mobicents-parent</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.12</version>
</parent>
<artifactId>http-servlet-parent</artifactId>
<groupId>org.mobicents.examples</groupId>
<version>2.0.0-SNAPSHOT</version>
<name>Mobicents :: Examples :: ${pom.artifactId}</name>
- <properties>
-
-
<mobicents.tools.mavenplugin.du.version>2.0.0.BETA2</mobicents.tools.mavenplugin.du.version>
-
<mobicents.tools.mavenplugin.library.version>1.0.0.BETA1</mobicents.tools.mavenplugin.library.version>
-
<mobicents.tools.mavenplugin.eclipse.version>1.0.0.BETA2</mobicents.tools.mavenplugin.eclipse.version>
-
-
- </properties>
+
@@ -31,4 +24,84 @@
<module>du</module>
</modules>
+ <properties>
+
<mobicents.resources.http.servlet.version>2.2.0.FINAL</mobicents.resources.http.servlet.version>
+ <docs.profile>mobicents</docs.profile>
+ </properties>
+
+ <profiles>
+ <profile>
+ <id>maven-release</id>
+ <modules>
+ <module>docs</module>
+ <module>release</module>
+ </modules>
+ <build>
+ <plugins>
+ <plugin>
+
<groupId>org.apache.maven.plugins</groupId>
+
<artifactId>maven-release-plugin</artifactId>
+ <configuration>
+
<autoVersionSubmodules>true</autoVersionSubmodules>
+
<tagBase>https://mobicents.googlecode.com/svn/tags/servers/jain-slee/2.x.y/examples/http-servlet</tagBase>
+
<branchBase>https://mobicents.googlecode.com/svn/branches/servers/jain-slee/2.x.y/examples/http-servlet</branchBase>
+ <preparationGoals>clean
install</preparationGoals>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>release</id>
+ <modules>
+ <module>docs</module>
+ <module>release</module>
+ </modules>
+ </profile>
+ </profiles>
+
+ <scm>
+
<connection>scm:svn:https://mobicents.googlecode.com/svn/trunk/servers/jain-slee/examples/http-servlet</connection>
+
<developerConnection>scm:svn:https://mobicents.googlecode.com/svn/trunk/servers/jain-slee/examples/http-servlet</developerConnection>
+
<url>http://mobicents.googlecode.com/svn/trunk/servers/jain-slee/examples/http-servlet</url>
+ </scm>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <groupId>org.mobicents.tools</groupId>
+ <inherited>false</inherited>
+ <executions />
+ <configuration>
+ <excludePoms />
+ <classpathExcludes>
+
<exclude>xml-apis:xml-apis</exclude>
+ <exclude>jtidy:jtidy</exclude>
+ </classpathExcludes>
+
<resolveTransitiveDependencies>true</resolveTransitiveDependencies>
+
<eclipseProjectName>mobicents-slee-example-http-servlet</eclipseProjectName>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <!-- dupe info from parent, but it's only way to retrieve the parent
without checkout -->
+
+ <repositories>
+ <repository>
+ <id>jboss-public-repository-group</id>
+ <name>JBoss Public Maven Repository Group</name>
+
<url>https://repository.jboss.org/nexus/content/groups/public</url>
+ <layout>default</layout>
+ <releases>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </snapshots>
+ </repository>
+ </repositories>
</project>
=======================================
--- /trunk/servers/jain-slee/examples/http-servlet/sbb/pom.xml Mon Nov 2
01:37:06 2009
+++ /trunk/servers/jain-slee/examples/http-servlet/sbb/pom.xml Wed Nov 24
20:32:10 2010
@@ -28,12 +28,12 @@
<dependency>
<groupId>org.mobicents.resources</groupId>
<artifactId>http-servlet-ratype</artifactId>
- <version>${pom.version}</version>
+
<version>${mobicents.resources.http.servlet.version}</version>
</dependency>
<dependency>
<groupId>org.mobicents.resources</groupId>
<artifactId>http-servlet-events</artifactId>
- <version>${pom.version}</version>
+
<version>${mobicents.resources.http.servlet.version}</version>
</dependency>
<dependency>
<groupId>org.mobicents.examples</groupId>
=======================================
---
/trunk/servers/jain-slee/examples/http-servlet/sbb/src/main/java/org/mobicents/slee/service/httpservletra/example/HttpServletRAExampleSbb.java
Mon Nov 2 01:37:06 2009
+++
/trunk/servers/jain-slee/examples/http-servlet/sbb/src/main/java/org/mobicents/slee/service/httpservletra/example/HttpServletRAExampleSbb.java
Wed Nov 24 20:32:10 2010
@@ -29,8 +29,9 @@
private SbbContext sbbContext; // This SBB's SbbContext
private HttpServletRaSbbInterface httpServletRaSbbInterface;
-
+
private HttpServletRaActivityContextInterfaceFactory
httpServletRaActivityContextInterfaceFactory;
+
/*
* (non-Javadoc)
*
@@ -54,11 +55,10 @@
/*
* (non-Javadoc)
*
- * @see javax.slee.Sbb#sbbExceptionThrown(java.lang.Exception,
- * java.lang.Object, javax.slee.ActivityContextInterface)
+ * @see javax.slee.Sbb#sbbExceptionThrown(java.lang.Exception,
java.lang.Object,
+ * javax.slee.ActivityContextInterface)
*/
- public void sbbExceptionThrown(Exception arg0, Object arg1,
- ActivityContextInterface arg2) {
+ public void sbbExceptionThrown(Exception arg0, Object arg1,
ActivityContextInterface arg2) {
// TODO Auto-generated method stub
}
@@ -129,7 +129,17 @@
* @see javax.slee.Sbb#setSbbContext(javax.slee.SbbContext)
*/
public void setSbbContext(SbbContext context) {
- this.sbbContext = context;
+ this.sbbContext = context;
+
+ try {
+ Context myEnv = (Context) new
InitialContext().lookup("java:comp/env");
+ httpServletRaSbbInterface = (HttpServletRaSbbInterface)
myEnv
+
.lookup("slee/resources/mobicents/httpservlet/sbbrainterface");
+ httpServletRaActivityContextInterfaceFactory =
(HttpServletRaActivityContextInterfaceFactory) myEnv
+
.lookup("slee/resources/mobicents/httpservlet/acifactory");
+ } catch (Exception e) {
+ log.error("setSbbContext failed ", e);
+ }
}
/*
@@ -142,9 +152,8 @@
}
- public void onPost(HttpServletRequestEvent event,
- ActivityContextInterface aci) {
-
+ public void onPost(HttpServletRequestEvent event,
ActivityContextInterface aci) {
+
SbbLocalObject sbbLocalObject = sbbContext.getSbbLocalObject();
aci.detach(sbbLocalObject);
try {
@@ -153,50 +162,75 @@
w.print("onPost OK! Served by SBB = " + getSbbId());
w.flush();
response.flushBuffer();
- log
- .info("HttpServletRAExampleSbb: POST Request received and OK!
response sent.");
+ log.info("HttpServletRAExampleSbb: POST Request received and OK!
response sent.");
} catch (IOException e) {
log.error(e);
}
}
-
- public void onGet(HttpServletRequestEvent event,
- ActivityContextInterface aci) {
-
- aci.detach(sbbContext.getSbbLocalObject());
- HttpServletResponse response = event.getResponse();
- PrintWriter w = null;
+
+ public void onSessionGet(HttpServletRequestEvent event,
ActivityContextInterface aci){
+ try{
+ System.out.println("Session is active");
+
+
+ HttpServletResponse response = event.getResponse();
+ PrintWriter w = null;
+
+ w = response.getWriter();
+ w.print("onSessionGet OK! Served by SBB = " +
getSbbId());
+ w.flush();
+ response.flushBuffer();
+
+ } catch(Exception e){
+ e.printStackTrace();
+ }
+ }
+
+ public void onGet(HttpServletRequestEvent event, ActivityContextInterface
aci) {
try {
+ aci.detach(sbbContext.getSbbLocalObject());
+
+ HttpSession httpSession =
event.getRequest().getSession();
+ HttpSessionActivity httpSessionActivity =
httpServletRaSbbInterface.getHttpSessionActivity(httpSession);
+
+ ActivityContextInterface httpSessionActivityContextInterface =
httpServletRaActivityContextInterfaceFactory
+
.getActivityContextInterface(httpSessionActivity);
+
+
httpSessionActivityContextInterface.attach(sbbContext.getSbbLocalObject());
+
+ HttpServletResponse response = event.getResponse();
+ PrintWriter w = null;
+
w = response.getWriter();
w.print("onGet OK! Served by SBB = " + getSbbId());
w.flush();
response.flushBuffer();
- log
- .info("HttpServletRAExampleSbb: GET Request received and OK! response
sent.");
+ log.info("HttpServletRAExampleSbb: GET Request received and OK!
response sent.");
} catch (Exception e) {
log.error(e);
+
+ e.printStackTrace();
}
}
- public void onPut(HttpServletRequestEvent event,
- ActivityContextInterface aci) {
-
+ public void onPut(HttpServletRequestEvent event, ActivityContextInterface
aci) {
+
SbbLocalObject sbbLocalObject = sbbContext.getSbbLocalObject();
aci.detach(sbbLocalObject);
try {
// here we will setup a session activity before sending the response
back
if (httpServletRaSbbInterface == null) {
- Context myEnv = (Context) new
InitialContext().lookup("java:comp/env");
- httpServletRaSbbInterface = (HttpServletRaSbbInterface)
myEnv.lookup("slee/resources/mobicents/httpservlet/sbbrainterface");
- httpServletRaActivityContextInterfaceFactory =
(HttpServletRaActivityContextInterfaceFactory)
myEnv.lookup("slee/resources/mobicents/httpservlet/acifactory");
+ Context myEnv = (Context) new
InitialContext().lookup("java:comp/env");
+ httpServletRaSbbInterface =
(HttpServletRaSbbInterface) myEnv
+
.lookup("slee/resources/mobicents/httpservlet/sbbrainterface");
+ httpServletRaActivityContextInterfaceFactory =
(HttpServletRaActivityContextInterfaceFactory) myEnv
+
.lookup("slee/resources/mobicents/httpservlet/acifactory");
}
HttpSession httpSession =
event.getRequest().getSession();
- HttpSessionActivity httpSessionActivity =
httpServletRaSbbInterface
- .getHttpSessionActivity(httpSession);
- ActivityContextInterface
httpSessionActivityContextInterface =
- httpServletRaActivityContextInterfaceFactory
+ HttpSessionActivity httpSessionActivity =
httpServletRaSbbInterface.getHttpSessionActivity(httpSession);
+ ActivityContextInterface httpSessionActivityContextInterface =
httpServletRaActivityContextInterfaceFactory
.getActivityContextInterface(httpSessionActivity);
httpSessionActivityContextInterface.attach(sbbLocalObject);
HttpServletResponse response = event.getResponse();
@@ -204,17 +238,15 @@
w.print("onPut OK! Served by SBB = " + getSbbId());
w.flush();
response.flushBuffer();
- log
- .info("HttpServletRAExampleSbb: PUT Request received and OK! response
sent.");
+ log.info("HttpServletRAExampleSbb: PUT Request received and OK!
response sent.");
} catch (Exception e) {
log.error(e);
}
}
- public void onDelete(HttpServletRequestEvent event,
- ActivityContextInterface aci) {
-
+ public void onDelete(HttpServletRequestEvent event,
ActivityContextInterface aci) {
+
aci.detach(sbbContext.getSbbLocalObject());
HttpServletResponse response = event.getResponse();
PrintWriter w = null;
@@ -223,17 +255,15 @@
w.print("onDelete OK! Served by SBB = " + getSbbId());
w.flush();
response.flushBuffer();
- log
- .info("HttpServletRAExampleSbb: DELETE Request received and OK!
response sent.");
+ log.info("HttpServletRAExampleSbb: DELETE Request received and OK!
response sent.");
} catch (IOException e) {
log.error(e);
}
}
- public void onOptions(HttpServletRequestEvent event,
- ActivityContextInterface aci) {
-
+ public void onOptions(HttpServletRequestEvent event,
ActivityContextInterface aci) {
+
aci.detach(sbbContext.getSbbLocalObject());
HttpServletResponse response = event.getResponse();
PrintWriter w = null;
@@ -242,17 +272,15 @@
w.print("onOptions OK! Served by SBB = " + getSbbId());
w.flush();
response.flushBuffer();
- log
- .info("HttpServletRAExampleSbb: OPTIONS Request received and OK!
response sent.");
+ log.info("HttpServletRAExampleSbb: OPTIONS Request received and OK!
response sent.");
} catch (IOException e) {
log.error(e);
}
}
- public void onTrace(HttpServletRequestEvent event,
- ActivityContextInterface aci) {
-
+ public void onTrace(HttpServletRequestEvent event,
ActivityContextInterface aci) {
+
aci.detach(sbbContext.getSbbLocalObject());
HttpServletResponse response = event.getResponse();
PrintWriter w = null;
@@ -261,17 +289,16 @@
w.print("onTrace OK! Served by SBB = " + getSbbId());
w.flush();
response.flushBuffer();
- log
- .info("HttpServletRAExampleSbb: TRACE Request received and OK!
response sent.");
+ log.info("HttpServletRAExampleSbb: TRACE Request received and OK!
response sent.");
} catch (IOException e) {
log.error(e);
}
}
public void onActivityEndEvent(ActivityEndEvent event,
ActivityContextInterface aci) {
- log.info("Got an activity end for activity "+aci.getActivity());
- }
-
+ log.info("Got an activity end for activity " +
aci.getActivity());
+ }
+
private final String getSbbId() {
SbbID sbbId = this.sbbContext.getSbb();
return sbbId.toString();
=======================================
---
/trunk/servers/jain-slee/examples/http-servlet/sbb/src/main/resources/META-INF/sbb-jar.xml
Mon Nov 2 01:37:06 2009
+++
/trunk/servers/jain-slee/examples/http-servlet/sbb/src/main/resources/META-INF/sbb-jar.xml
Wed Nov 24 20:32:10 2010
@@ -2,87 +2,113 @@
<!DOCTYPE sbb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD JAIN SLEE SBB
1.1//EN"
"http://java.sun.com/dtd/slee-sbb-jar_1_1.dtd">
<sbb-jar>
- <sbb>
- <description/>
- <sbb-name>HttpServletRAExampleSBB</sbb-name>
- <sbb-vendor>org.mobicents</sbb-vendor>
- <sbb-version>1.1</sbb-version>
-
- <library-ref>
+ <sbb>
+ <description />
+ <sbb-name>HttpServletRAExampleSBB</sbb-name>
+ <sbb-vendor>org.mobicents</sbb-vendor>
+ <sbb-version>1.1</sbb-version>
+
+ <library-ref>
<library-name>http-servlet-library</library-name>
<library-vendor>org.mobicents.examples</library-vendor>
<library-version>1.0</library-version>
</library-ref>
-
- <sbb-classes>
- <sbb-abstract-class>
-
<sbb-abstract-class-name>org.mobicents.slee.service.httpservletra.example.HttpServletRAExampleSbb</sbb-abstract-class-name>
- </sbb-abstract-class>
- </sbb-classes>
-
- <event initial-event="True" event-direction="Receive">
- <event-name>Post</event-name>
- <event-type-ref>
-
<event-type-name>net.java.slee.resource.http.events.incoming.request.POST</event-type-name>
- <event-type-vendor>net.java.slee</event-type-vendor>
- <event-type-version>1.0</event-type-version>
- </event-type-ref>
- <initial-event-select variable="ActivityContext" />
- </event>
-
-
- <event initial-event="True" event-direction="Receive">
- <event-name>Get</event-name>
- <event-type-ref>
-
<event-type-name>net.java.slee.resource.http.events.incoming.request.GET</event-type-name>
- <event-type-vendor>net.java.slee</event-type-vendor>
- <event-type-version>1.0</event-type-version>
- </event-type-ref>
- <initial-event-select variable="ActivityContext" />
- </event>
-
- <event initial-event="True" event-direction="Receive">
- <event-name>Put</event-name>
- <event-type-ref>
-
<event-type-name>net.java.slee.resource.http.events.incoming.request.PUT</event-type-name>
- <event-type-vendor>net.java.slee</event-type-vendor>
- <event-type-version>1.0</event-type-version>
- </event-type-ref>
- <initial-event-select variable="ActivityContext" />
- </event>
-
-
- <event initial-event="True" event-direction="Receive">
- <event-name>Delete</event-name>
- <event-type-ref>
-
<event-type-name>net.java.slee.resource.http.events.incoming.request.DELETE</event-type-name>
- <event-type-vendor>net.java.slee</event-type-vendor>
- <event-type-version>1.0</event-type-version>
- </event-type-ref>
- <initial-event-select variable="ActivityContext" />
- </event>
-
- <event initial-event="True" event-direction="Receive">
- <event-name>Options</event-name>
- <event-type-ref>
-
<event-type-name>net.java.slee.resource.http.events.incoming.request.OPTIONS</event-type-name>
- <event-type-vendor>net.java.slee</event-type-vendor>
- <event-type-version>1.0</event-type-version>
- </event-type-ref>
- <initial-event-select variable="ActivityContext" />
- </event>
-
- <event initial-event="True" event-direction="Receive">
- <event-name>Trace</event-name>
- <event-type-ref>
-
<event-type-name>net.java.slee.resource.http.events.incoming.request.TRACE</event-type-name>
- <event-type-vendor>net.java.slee</event-type-vendor>
- <event-type-version>1.0</event-type-version>
- </event-type-ref>
- <initial-event-select variable="ActivityContext" />
- </event>
-
- <event event-direction="Receive" initial-event="False">
+
+ <sbb-classes>
+ <sbb-abstract-class>
+ <sbb-abstract-class-name>
+
org.mobicents.slee.service.httpservletra.example.HttpServletRAExampleSbb
+ </sbb-abstract-class-name>
+ </sbb-abstract-class>
+ </sbb-classes>
+
+ <event initial-event="True" event-direction="Receive">
+ <event-name>Post</event-name>
+ <event-type-ref>
+ <event-type-name>
+
net.java.slee.resource.http.events.incoming.request.POST
+ </event-type-name>
+
<event-type-vendor>net.java.slee</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+ </event-type-ref>
+ <initial-event-select variable="ActivityContext" />
+ </event>
+
+
+ <event initial-event="True" event-direction="Receive">
+ <event-name>Get</event-name>
+ <event-type-ref>
+ <event-type-name>
+
net.java.slee.resource.http.events.incoming.request.GET
+ </event-type-name>
+
<event-type-vendor>net.java.slee</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+ </event-type-ref>
+ <initial-event-select variable="ActivityContext" />
+ </event>
+
+ <event initial-event="False" event-direction="Receive">
+ <event-name>SessionGet</event-name>
+ <event-type-ref>
+ <event-type-name>
+
net.java.slee.resource.http.events.incoming.session.GET
+ </event-type-name>
+
<event-type-vendor>net.java.slee</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+ </event-type-ref>
+ <initial-event-select variable="ActivityContext" />
+ </event>
+
+ <event initial-event="True" event-direction="Receive">
+ <event-name>Put</event-name>
+ <event-type-ref>
+ <event-type-name>
+
net.java.slee.resource.http.events.incoming.request.PUT
+ </event-type-name>
+
<event-type-vendor>net.java.slee</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+ </event-type-ref>
+ <initial-event-select variable="ActivityContext" />
+ </event>
+
+
+ <event initial-event="True" event-direction="Receive">
+ <event-name>Delete</event-name>
+ <event-type-ref>
+ <event-type-name>
+
net.java.slee.resource.http.events.incoming.request.DELETE
+ </event-type-name>
+
<event-type-vendor>net.java.slee</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+ </event-type-ref>
+ <initial-event-select variable="ActivityContext" />
+ </event>
+
+ <event initial-event="True" event-direction="Receive">
+ <event-name>Options</event-name>
+ <event-type-ref>
+ <event-type-name>
+
net.java.slee.resource.http.events.incoming.request.OPTIONS
+ </event-type-name>
+
<event-type-vendor>net.java.slee</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+ </event-type-ref>
+ <initial-event-select variable="ActivityContext" />
+ </event>
+
+ <event initial-event="True" event-direction="Receive">
+ <event-name>Trace</event-name>
+ <event-type-ref>
+ <event-type-name>
+
net.java.slee.resource.http.events.incoming.request.TRACE
+ </event-type-name>
+
<event-type-vendor>net.java.slee</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+ </event-type-ref>
+ <initial-event-select variable="ActivityContext" />
+ </event>
+
+ <event event-direction="Receive" initial-event="False">
<event-name>ActivityEndEvent</event-name>
<event-type-ref>
<event-type-name>
@@ -92,21 +118,31 @@
<event-type-version>1.0</event-type-version>
</event-type-ref>
</event>
-
- <resource-adaptor-type-binding>
- <resource-adaptor-type-ref>
-
<resource-adaptor-type-name>HttpServletResourceAdaptorType</resource-adaptor-type-name>
-
<resource-adaptor-type-vendor>org.mobicents</resource-adaptor-type-vendor>
-
<resource-adaptor-type-version>1.0</resource-adaptor-type-version>
- </resource-adaptor-type-ref>
- <activity-context-interface-factory-name>
- slee/resources/mobicents/httpservlet/acifactory
- </activity-context-interface-factory-name>
- <resource-adaptor-entity-binding>
-
<resource-adaptor-object-name>slee/resources/mobicents/httpservlet/sbbrainterface</resource-adaptor-object-name>
-
<resource-adaptor-entity-link>HttpServletRA</resource-adaptor-entity-link>
- </resource-adaptor-entity-binding>
- </resource-adaptor-type-binding>
-
- </sbb>
+
+ <resource-adaptor-type-binding>
+ <resource-adaptor-type-ref>
+ <resource-adaptor-type-name>
+ HttpServletResourceAdaptorType
+ </resource-adaptor-type-name>
+ <resource-adaptor-type-vendor>
+ org.mobicents
+ </resource-adaptor-type-vendor>
+ <resource-adaptor-type-version>
+ 1.0
+ </resource-adaptor-type-version>
+ </resource-adaptor-type-ref>
+ <activity-context-interface-factory-name>
+ slee/resources/mobicents/httpservlet/acifactory
+ </activity-context-interface-factory-name>
+ <resource-adaptor-entity-binding>
+ <resource-adaptor-object-name>
+
slee/resources/mobicents/httpservlet/sbbrainterface
+ </resource-adaptor-object-name>
+ <resource-adaptor-entity-link>
+ HttpServletRA
+ </resource-adaptor-entity-link>
+ </resource-adaptor-entity-binding>
+ </resource-adaptor-type-binding>
+
+ </sbb>
</sbb-jar>