• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

flex and struts integration and communication

 
darien software
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic