avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen McConnell <mcconn...@apache.org>
Subject Re: Sevak / Jetty / Serviceable
Date Wed, 15 Jan 2003 12:31:41 GMT


Ulrich Mayring wrote:

> Paul Hammant wrote:
> >
>
>> Sevak is a block. It can be used from other blocks. With it you can 
>> (in code) mount webapps. Those
>> webapps can have servlets that are perfectly ordinary except their 
>> implementing of Serviceable. Depending on which deploy(..) method you 
>> used, you will have a servlet that has access to a
>> service manager.
>
>
> There, that's the high-level explanation I was looking for, many 
> thanks :)
>
>> You are right in that it is jetty.xml that I meant.  I referred to 
>> this CVS depot becuase it has
>> teh necessary config.xml that will help you understand how to select 
>> a port.  That was what you
>> question concerned.
>
>
> I did spot the config.xml before, but the problem is I don't know 
> where to find the file where the config.xml is actually used. 
> According to assembly.xml:
>
> <block class="org.apache.avalon.apps.sevak.demo.SevakTest" 
> name="sevakTest">
>         <provide name="sevak" role="org.apache.avalon.apps.sevak.Sevak"/>
>   </block> 


The "name" attribute should appear in the config file (config.xml or 
something like that) as a almost top-level element.  The assembly file 
and the config file are basically very closely connected.

Cheers, Steve.

>
>
> But there is no source file 
> org.apache.avalon.apps.sevak.demo.SevakTest in CVS, as you can see here:
>
> http://cvs.apache.org/viewcvs/jakarta-avalon-apps/sevak/src/java/org/apache/avalon/apps/sevak/

>
>
> I believe many of my stupid questions are actually due to the absence 
> of this file. According to my current knowledge it probably answers 
> most of the questions I had :)
>
> cheers,
>
> Ulrich
>
>
>
> -- 
> To unsubscribe, e-mail:   
> <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:avalon-dev-help@jakarta.apache.org>
>
>
>

-- 

Stephen J. McConnell
mailto:mcconnell@apache.org
http://www.osm.net




--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message