wood burning stoves 2.0*
The moose likes Flex and the fly likes flex and struts integration and communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "flex and struts integration and communication" Watch "flex and struts integration and communication" New topic
Author

flex and struts integration and communication

darien software
Greenhorn

Joined: Aug 20, 2010
Posts: 2
Hi

I have multiple modules, some of them are implement in struts and other are in flex (blaze ds) and each module is a different war file ( web application). now i need to share the session Object among all the applications.

my problems are

1. how to share a session object between two different struts applications
2. how to share struts modules' httpSession object with Flex module
3. how to share blazeds's FlexSession with Struts module.
4. if session sharing is not possible can i share a normal java object like USERInFO which should be removed if session is lost.

i tried 4th problem by serialization but if user loses the session it got some security issues..

anybody suggest any other ways to resolve this problem
Tags: FLEX, STRUTS, JAVA
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


1. how to share a session object between two different struts applications
2. how to share struts modules' httpSession object with Flex module
3. how to share blazeds's FlexSession with Struts module.

The simple answer is "you can't" to all of these questions. typically in a Flex application you would not use the HTTP session at all. Flex + Struts is an odd mix. You will only ever have one request struts could do anything with, after that all requests should be going through the channelsets.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: flex and struts integration and communication
 
Similar Threads
Structure of a web application
Session Timeout between different web applications
STRUTS BLAZE DS FLEX problem
Accessing a java class in a web application through EJB
Struts like modules in JSF