[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [virgo-dev] Programmatic registration of servlets in OSGi

Thanks for your feedback Violeta & Chris.
Is the HTTPService not available in VTS (except via the method described by Violeta) ?


On 15 Mar 2013, at 10:34, Chris Frost <frostc@xxxxxxxxxx> wrote:

> Hi,
> 
> Yes, the HTTPService is available in Virgo Nano in version 3.6.x. In fact, if you are running on Virgo Kernel the admin console will use the HTTPService to publish itself.
> 
> Chris.
> 
> ----- Original Message -----
> From: "Violeta Georgieva" <milesg78@xxxxxxxxx>
> To: "Virgo Project" <virgo-dev@xxxxxxxxxxx>
> Sent: Thursday, 14 March, 2013 8:10:29 PM
> Subject: Re: [virgo-dev] Programmatic registration of servlets in OSGi
> 
> Hi,
> 
> Please check this blog [1]
> 
> Regards,
> Violeta
> 
> [1] http://codewax.org/eclipse-rt/extending-virgo-with-a-httpservice/
> 
> 
> 
> 2013/3/14 Bruce Jackson <bruce@xxxxxxxxxxxxx>:
>> Hi All
>> 
>> Can anyone tell me whether it is possible to use the standard OSGi pattern
>> for servlet registration in Virgo, i.e.
>> 
>> HttpService http = (HttpService) context.getService(ref);
>> http.registerServlet("/MyContext", servlet = new MyServlet(), null, null);
>> 
>> 
>> 
>> ...and if not directly, whether there is an alternate virgo-specific
>> programmatic mechanism for this?
>> 
>> Best regards
>> 
>> Bruce
>> 
>> This e-mail is only intended for the person(s) to whom it is addressed and
>> may contain CONFIDENTIAL information. Any opinions or views are personal to
>> the writer and do not represent those of INQ Mobile Limited, Hutchison
>> Whampoa Limited or its group companies. If you are not the intended
>> recipient, you are hereby notified that any use, retention, disclosure,
>> copying, printing, forwarding or dissemination of this communication is
>> strictly prohibited. If you have received this communication in error,
>> please erase all copies of the message and its attachments and notify the
>> sender immediately. INQ Mobile Limited is a company registered in the
>> British Virgin Islands. www.inqmobile.com.
>> 
>> 
>> _______________________________________________
>> virgo-dev mailing list
>> virgo-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/virgo-dev
>> 
> _______________________________________________
> virgo-dev mailing list
> virgo-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/virgo-dev
> _______________________________________________
> virgo-dev mailing list
> virgo-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/virgo-dev

This e-mail is only intended for the person(s) to whom it is addressed and may contain CONFIDENTIAL information. Any opinions or views are personal to the writer and do not represent those of INQ Mobile Limited, Hutchison Whampoa Limited or its group companies. If you are not the intended recipient, you are hereby notified that any use, retention, disclosure, copying, printing, forwarding or dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify the sender immediately. INQ Mobile Limited is a company registered in the British Virgin Islands. www.inqmobile.com.