Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Flex EJB Session tracking

Avatar

Level 1
Hello, I am fairly new to both Flex and J2EE development but
I have developed a collection of EJBs running under an application
server to service a multi-user Flex application. I believe I can
connect to the EJBs through either a facade POJO, or using
something like this:
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1089970
to invoke the bean methods directly.



My problem is how do I authenticate and track user state
throughout their use of the application (the issue is raised here:
http://www.forta.com/blog/index.cfm/2006/9/24/Flex-And-Session-State-Management
but it doesn't seem to provide an answer). If passing of some kind
randomly generated session ID is required, I am wondering what is
the best way to approach this from the J2EE point of view?



Thanks for any help in advance

Lee.
2 Replies

Avatar

Level 1
Perhaps I am overcomplicating the situation. If I were to
specify a Stateful Session Bean as a remote destination, would a
new instance be automatically instantiated for each user instance,
without the need for any kind of session ID tracking?