You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Costin Manolache <cm...@yahoo.com> on 2003/07/04 06:03:10 UTC

Re: SIP Servlet revisited

Brian Olsen wrote:

> Hey Guys,
> 
> A little over a year ago the posibility for making an implementation of
> the SIP Servlet specification using Tomcat was shortly talked about
> (see
> http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg25333.html)
> 
> I have done some tests and looked into what problems this would present
> and I came to one conclusion; The current
> design of the org.apache.catalina.Session interface requires that you do
> some weird hacking, twisting and adaptation to get support
> for sessions in SIP, since Session expects to always wrap a HttpSession,
> but SIP Servlets have their own session interface.
> 
> I have talked to Anders Kristensen about these difference session
> interfaces. He said that even though there had been talks with
> the Servlet expert group about making a general servlet session
> interface fitting the need of both HTTP and SIP it was voted against
> in the Servlet expert group. The reason they gave for not making such an
> interface was the small spread and use of SIP servlets.
> 
> Until such an interface is designed I was wondering if it would be
> possible to change the org.apache.catalina.Session interface to
> return a temporary internal Tomcat interface that contains the same
> methods that would probably end up in the general Servlet
> session interface??
> 
> - Brian

Can you explain a bit what you need from the session ? I assume you would
implement the SipRequest, etc - and you could very well implement a sip
session by wrapping the existing session. All you need is extract a session
ID. What is exactly the functionality that is missing ?

Costin


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org