Lars Trieloff pisze:
Hi Grzegorz,
do we need all information from the environment? If not, we could add
custom X-Cocoon-* Headers that can also be exchanged in more decoupled
scenarios where servlet services are actual remote websites.
I have been thinking about remote services too. However, my opinion is that we can forget about them discussing this case. For remote
sources you cannot pass whole Environment (and it's pointless to do because Environemnt may refer things VM-specific) and it's good idea to
just pass needed information as request parameters.
For internal calls, you need to pass session and for example uploaded files. I even cannot mention all situation when access to the whole
Env is required.
--
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/