Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

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?