This is exactly what I want to do with an authentication login
web application before passing the UserContainer object over
to whichever web application is appropriate based on their user
type.  If it's not possible to do this is it possible to do the 
following.

Given..

http://localhost/webappa

Can I send a Forward redirect to..

http://localhost/webappb

from within the first webapp or should it be done from a session
bean instead?

Jon.

-----Original Message-----
From: Ken Fitzpatrick [mailto:[EMAIL PROTECTED]] 
Sent: 29 November 2002 04:13
To: [EMAIL PROTECTED]
Subject: Re: Communication Between WebApps

I'm hearing more and more about real-world requirements for sharing 
information between WebApps -- not just the authentication thing, but 
entire business object graphs.

Consider the user's choice for the web site Skin.  Wouldn't it make 
sense for subsequently visited WebApps to honor the choice made in a 
previously executed WebApp?  What about an extensive UserProfile object 
graph, populated after the authentication process, from which a vast 
amount of personalization and customization content originates?

I work for a **really** large J2EE shop with many WebApps and we are in 
the endless pursuit of the "one company image".  There seems to be no 
way to meet that requirement while also adhering to Servlet requirement 
of not sharing objects between WebApp sessions (I know, I know ... it's 
right there on page 51 of the J2EE Servlet Spec PDF.)

EJBs might go a long way to helping this, but precious few of the 
WebApps actually use them ... somebody said something about something 
that some else said about something they read from someone who sat next 
to someone who heard about someone who tried something sometime ago, 
somehow, somewhere, someway ... And now it's policy.  Besides, what if 
all that needs to be shared is the Struts SkinChooserFormBean?  Is that 
the ideal candidate for an Entity Bean?

So, is this the cross-roads of the real-world and the J2EE Servlet Spec?

Maybe we should think about some methodical means of being able to share

a given object or object graph across WebApps in a non-strategic, almost

casual context.  Something like contacting a broker, asking it to 
contact the WebApp that is registered as "primary" for a given type of 
object (e.g., "UserProfile", "SkinChooserFormBean", etc.) and having it 
extract and deliver a ReadOnly copy of the object?  Do I hear Betwixt 
buffering us from object version issues?

Any thoughts?

Thanks!
Ken



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



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

Reply via email to