I know it is possible to define the scope of the beans, but I am wondering is it possible to define the scope of the whole project? I have a Web Service project which only provides services to other projects and they form an application together. What I would like to do is configure the WS project so that it closes its connection with the client as soon as it responds to the client successfuly.
I have been looking all around but couldn't really find what I am looking for.I tried this:
<session-config>
<session-timeout>60</session-timeout>
</session-config>
but I don't want to set the session timeout to a set value, instead I would like to make it something like session
, or request
etc. Is this possible?