[Carbon-dev] Re: [Ds-java-dev] session on carbon usage

saminda abeyruwan saminda at wso2.com
Fri Mar 7 02:57:54 PST 2008


Hi Paul,

AFAIK, Dims is using org.osgi.service.http.HttpService implementation 
that comes with Equinox. According to this specification, it support 
registering servlets and resource (static). The prior interface is also 
implemented in Felix too. Both Equinox and Felix uses Jetty to implement 
this.

According to the responses I got from Felix dev mailing list, there is 
no notion of including JSP support to HttpService in R4. I am forwarding 
the responses I got from Felix dev [1]. They have proposed a way to 
integrate JSP support in Tomcat, but in order to achieve this, app 
server JSP compiler needs to support the notions of OSGi.

Thank you

Saminda

Reference:

[1] . http://www.nabble.com/Embedded-Tomcat-as-a-Bundle-td15496386.html



Paul Fremantle wrote:
> Have we checked to see if there are better solutions for JSPs in the 
> Equinox OSGi project?
> 
> That is the one that Dims is using for Axis2.
> 
> Paul
> 
> Afkham Azeez wrote:
>> Sanjaya Karunasena wrote:
>>>
>>> I see few solutions until the servlet containers provide better 
>>> support for OSGI...
>>>
>>> 1. No versioning support for UIs
>>> 2. If we have UI bits which potentially requires versioning, we use 
>>> AJAX stuff.
>>> 3. Complete AJAX based UIs
>>
>> I'm +1 for option #3. We get versioning, and do not have to mess with 
>> the servlet containers in this approach, and the architecture looks 
>> very elegant. The issues & problems related to supporting JSPs far 
>> outweigh the benefits, IMHO. Also, we don't have much to do, since we 
>> are already following this approach in the current UIs.
>>
>> Azeez
>>
>> _______________________________________________
>> Ds-java-dev mailing list
>> Ds-java-dev at wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/ds-java-dev
>>
> 




More information about the Ds-java-dev mailing list