Hi Dave,
I am specifically interested in the flex2 java adapter which I believe
uses the RTMP protocol. Does it have a session? Can I intercept a
RTMP request somehow? How do I get the java adapter to communicate
with the HttpSession in my container? I guess I could:
1. Write to the database, and pick up the data from there.
2. Make a separate web service call from the client to hold session data.
3. From the serverside java adapter, make an http call with the
jakarta http-client.

Just so we have an example to work with:
let say I have a form:
first name: [foobar]
{submit}

Using the java adapter to bind the data to the backend, I want to
write this to the httpSession. How do I do that? is there a clean way?

thanks,
-JB


--- In [email protected], "Dave Wolf" <[EMAIL PROTECTED]> wrote:
>
> Your session is right there on the server.  In order to access it you
> will need to make a call to the server and have code on the server
> (web service, remote object, jsp, whatever) do the reading and writing
> to the session for you.
> 
> Flex inherits the J2EE session of the browser and all network calls
> will be on that same session.
> 
> -- 
> Dave Wolf
> Cynergy Systems, Inc.
> Macromedia Flex Alliance Partner
> http://www.cynergysystems.com
> 
> Email:  [EMAIL PROTECTED]
> Office: 866-CYNERGY
> 
> --- In [email protected], "box110a" <jonathanbmail-flash@>
> wrote:
> >
> > I have been soaking up the Flex 2, FDS and Cairngorm stuff and feel
> > pretty good. I've got Jrun4 with Service pack 6 so I can use java5. I
> > also have hibernate 3.1.3 with annotations working in the same
> > container (hint: in your jrun-web.xml file, set
> > load-system-classes-first = true)... It all seems to work well. 
> > 
> > I am using the Flex Java DAO adapter. There is only one thing I can't
> > seem to get an answer on. Where is my session with the server and how
> > do I access it with Flex?  It seems like Cairngorm wants to take over
> > the entire state of the application. This only works if you entire
> > application is inside one Flex application.  Any thoughts from the
> > community on this?  I've got ideas on how to hack it all together, but
> > I want to hear what you've got to say.
> > 
> > thanks,
> > JB
> >
>









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to