-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
Esteemed members of the JServ Users Group,
I have two questions, one specific and one general, concerning the
relationship between JSP and servlet zones, and the management of
application-specific sessions.
Firstly, to the specific - is there a way to easily integrate servlet zones,
which are partitioned in URL space, with a system such as GNUJSP that relies
on association between an extension (such as .jsp) and a handling servlet,
that is declared globally, ie not partitioned? The problem is that, given
servlet zones Dev and Prod for example, it is only possible to associate
.jsp files with *one* of these zones using the APJservAction directive, such
as
APJServAction .jsp /Dev/gnujsp
The difficulty is that, unlike the servlet space, the JSP URL space is not
partitioned. Is the only way forward to use URL rewriting or virtual hosts
in order to explicitly partition the JSP URL space as well?
This brings me to my second question, which is really the reason why I am
grappling with the first. I would like to roll out the JServ/JSP combination
at a complex site in which seven independent client "installations" exist.
Each of these installations has at least three, usually more, "environments"
- Production, Test, Parallel and so on. This means at least twenty, in
reality more like thirty, individual environments to roll out. Furthermore,
users of the existing (character-based) system are used to logging into
multiple environments simultaneously from the same desktop. In order to
ensure full session separation, particularly within the same desktop, this
presumably means thirty servers or virtual hosts.
The production environments should definitely have separate servers, but
ideally I would like to minimise the amount of administration for the
non-production environments (particularly as I am trying to demonstrate an
advantage over the legacy system) by combining some of these environments
onto a much smaller number of servers. A particular headache then is users
attempting to simultaneously connect to multiple environments on a single
server and corrupting their unique session, since it appears that
HttpRequest.getSession() returns the same session object for all requests
from all browser windows on the same desktop (although, interestingly, only
for that make of browser). Something like servlet zones would be ideal for
this (hence my first question) but then I am presumably going to have a lot
of virtual hosts and/or rewrite rules, which is hard work. Or - and here's
the real question - is it worth, or even sensible, abandoning zones and
implementing custom session management so that the JSP applications
themselves distinguish between different environments based on
client-supplied information? Or are there products/frameworks/toolkits that
can already do this?
Somewhat broad-ranging questions, I know, but any opinions would be much
appreciated.
Apache 1.3.6 DSO
JServ 1.0 final
JSDK 2.0
GNUJSP 0.9.9
Geoff Lewis
Finatec Financial Software Solutions AG
Tel: +49 9371 97860
Web: http://www.finatec.de
Email: [EMAIL PROTECTED]
begin 600 winmail.dat
M>)\^(A(3`0:0"``$```````!``$``0>0!@`(````Y`0```````#H``$(@`<`
M&````$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`06``P`.````SP<)``0`
M%0`>`!``!@`L`0$@@`,`#@```,\'"0`$`!4`'@`0``8`+`$!"8`!`"$```!#
M0S)&-T8T-C0T-C!$,S$Q.4%&,#`P,3`U03,Y,48T.0`#!P$$@`$`(````%-E
M<W-I;VYS+"!Z;VYE<RP@86YD($I34"`H;&]N9RD`?PH!#8`$``(````"``(`
M`0.0!@!L#```*0````L``@`!````0``Y``#.@^H+][X!'@!P``$````@````
M4V5S<VEO;G,L('IO;F5S+"!A;F0@2E-0("AL;VYG*0`"`7$``0```!8````!
MOO<,F*E&?R_08$01TYKP`!!:.1])```>`#%``0````<```!'14]&1DP```,`
M&D``````'@`P0`$````'````1T5/1D9,```#`!E```````(!"1`!````-`@`
M`#`(``!L#0``3%I&=5VUY]<#``H`<F-P9S$R-7<`4`$#`?<@`J0#XP(`8X)H
M"L!S970P(`<3CP*#`%`"\A`95&%H`W'-`H!]"H`(R"`["6\.,.8U`H`*@75C
M`%`+`PM@(FX.$#`S,PNF($7,<W0)X`>`9"`'@`;0`P20!"!O9B!T:&7$($H&
M878@51!P%_'B1P-@=7`L"J(*A`J`%$D@$$!V&'!T=V\L('$*4!<@:0(@<RSE
M&!!N&'!S<`60!I`-X.X@`'`7@!O29PGP!)`'0+,;L`6@;F,$D0N`9QA#UPEP
M"V`;8V@%("`7T!K@FPGA&(%0'),9`79L$(!\('H;T1NA'*(84@.!8<\=(`>`
M`C`8$F%P"U`-X+T>TRT<%Q!P!!`;<BX9ND1&:1!@=&QY&[!TYQL`&%(<%RT@
M!``80@EP(1R0('=A>27B96'O`)`EL"<``C!E"<`>T!OQ_2",=Q\P$#`<D"=Q
M"K$;8,\;8A=Q"X`8X%),'`$`T%YE*A$K$"IQ'`!Y%R%MSQP`%7`J<1DQ3E4?
M\AA0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#+3<.,9M"W5,"XYU;!!VPL#<1%2<S$W&4!UT`$@(/Y,!]`$`"4&7%$%D&Z0
M7$'_'=`',:NA`8!,,1APJ[`*0!EBU$%'124>L#H@*X`T.2`Y,S<QV_"(-S@V
MU,5796+;H!\(T`!!1B`:@*"Q.B\OVG?>0"[3HMCA+@$`W5'W`4!&(-3%10#`
M`Q#;H!T@[=>Q+B"P`_%`WH9<`=9;%PO%&<,2\0#CL`L`!(`((`8``````,``
M``````!&``````.%`````````P``@`@@!@``````P````````$8`````$(4`
M```````#``.`""`&``````#`````````1@````!2A0``\Q4``!X`!8`((`8`
M`````,````````!&`````%2%```!````!0```#@N,#0``````P`&@`@@!@``
M````P````````$8``````84````````+``>`""`&``````#`````````1@``
M```.A0````````,`"(`((`8``````,````````!&`````!&%`````````P`)
M@`@@!@``````P````````$8`````&(4````````>``J`""`&``````#`````
M````1@`````VA0```0````$`````````'@`+@`@@!@``````P````````$8`
M````-X4```$````!`````````!X`#(`((`8``````,````````!&`````#B%
M```!`````0`````````#`/$_"00```,`_3_D!````P`F```````#`#8`````
M``,`@!#_____`@%'``$````Q````8SU$13MA/2`[<#U&24Y!5$5#.VP]4U1!
M4D=!5$4M.3DP.3`T,3DS,#$V6BTQ,38V`````!X`.$`!````!P```$=%3T9&
M3```'@`Y0`$````'````1T5/1D9,``!```<P\$^"Z@OWO@%```@P\*C+Z@OW
MO@$>`#T``0````$`````````'@`=#@$````@````4V5S<VEO;G,L('IO;F5S
M+"!A;F0@2E-0("AL;VYG*0`>`#40`0```#(````\.#$S-4-#,S!#1$1$1#$Q
M,3E"0SDP,#$P-$(T-41&.$(Q.38P-T-`4U1!4D=!5$4^````"P`I```````+
M`",```````,`!A!)3Q-M`P`'$!`*```#`!`0``````,`$1``````'@`($`$`
M``!E````15-4145-141-14U"15)33T942$5*4T525E5315)31U)/55`L24A!
M5D545T]154535$E/3E,L3TY%4U!%0TE&24-!3D1/3D5'14Y%4D%,+$-/3D-%
M4DY)3D=42$5214Q!5$E/3@`````"`7\``0```#(````\.#$S-4-#,S!#1$1$
I1#$Q,3E"0SDP,#$P-$(T-41&.$(Q.38P-T-`4U1!4D=!5$4^````YGL=
`
end
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]