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

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments
Adobe Summit 2023 | Complete list of AEM Sessions & Labs

Flex EJB Session tracking


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:
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:
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

2 Replies


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?