You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Jan Bauer Nielsen <jb...@dtv.dk> on 2006/09/29 13:04:20 UTC

[axis2] global initialization with 'request scope'

Hi.

I would like to keep my service in 'request scope', but I would also like to be able to do some sort of startup initialization once and for all (for example to create a JAXBContext object) and to be able to access this in each service invocation. Is this at all possible using Axis2?

Kind regards,
Jan Bauer Nielsen
Center of Knowledge Technology, Technical Knowledge Center of Denmark
Anker Engelunds Vej 1, Postboks 777, 2800 Kongens Lyngby, Denmark
Direct: (+45) 4525 7221, jbn@dtv.dk 

Re: [axis2] global initialization with 'request scope'

Posted by robert lazarski <ro...@gmail.com>.
You can do this with the latest nightlies and implementing
org.apache.axis2.engine.Service , but there is some changes about to
be made. See this discussion:

http://marc.theaimsgroup.com/?l=axis-dev&m=115892585214583&w=2

Robert

On 9/29/06, Jan Bauer Nielsen <jb...@dtv.dk> wrote:
>
>
>
> Hi.
>
>  I would like to keep my service in 'request scope', but I would also like
> to be able to do some sort of startup initialization once and for all (for
> example to create a JAXBContext object) and to be able to access this in
> each service invocation. Is this at all possible using Axis2?
>
>  Kind regards,
>  Jan Bauer Nielsen
>  Center of Knowledge Technology, Technical Knowledge Center of Denmark
>  Anker Engelunds Vej 1, Postboks 777, 2800 Kongens Lyngby, Denmark
>  Direct: (+45) 4525 7221, jbn@dtv.dk

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org