File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Flex and the fly likes flex and struts integration and communication Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Application Frameworks » Flex
Reply 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
 
 
subject: flex and struts integration and communication
 
Two Laptop Bag

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture