RE: multiple connectors issues

2004-11-04 Thread Shapira, Yoav

Hi,

>> >2. Do request to different connectors share the same session scope?
>>
>> Isn't this so simple to test that it's faster than asking the
>> list? ;)
>
>
>You're right. I'm getting lazy... So here's the result of my check:
>multiple connectors share session data. In fact, what counts is the
request
>host address (and not the request port), so multiple connectors share
>session data as long as requests had the same host address.

Good ;)  Of course the webapp itself also counts for the session, not
just the host.  http://x/y will have different sessions than http://x/z
by default.

>Thanks for your help and good luck with the school ;-)

Thanks ;)

Yoav



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: multiple connectors issues

2004-11-04 Thread Michal Kwiatek
Yoav,

> >2. Do request to different connectors share the same session scope?
> 
> Isn't this so simple to test that it's faster than asking the 
> list? ;)  


You're right. I'm getting lazy... So here's the result of my check: multiple 
connectors share session data. In fact, what counts is the request host address (and 
not the request port), so multiple connectors share session data as long as requests 
had the same host address.

Thanks for your help and good luck with the school ;-)

MichaƂ.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: multiple connectors issues

2004-11-04 Thread Shapira, Yoav

Hi,

>1. Can you tell me what impact on performance has using many
connectors?

It's largely dwarfed by your app's performance characteristics, unless
you're talking about dozens or more connectors.  For three or four, it's
no big deal.

>2. Do request to different connectors share the same session scope?

Isn't this so simple to test that it's faster than asking the list? ;)

>3. Are classes loaded once for all connectors, or does each connector
>load its own copy of the classes?

No, connectors don't have much to do with classloading at all.  How many
copies of a given class are loaded into the JVM depends on where the
class is located.  If you have just one webapp, and the class is in
WEB-INF/lib, it will be loaded just once no matter how many connectors
you have.

Yoav Shapira http://www.yoavshapira.com



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]