Dear ulc-community.

Just to get sure:

We plan to deploy our application on an application server and execute it
via JNLP-Launcher.

If we want to store custom-objects for each instance of our application, we
would store them as attribute with

ApplicationContext.setAttribute(String, Object)

In our opinion the ApplicationContext.setAttribute/.getAttribute-methods
are comparable with setAttribute/getAttribute from HttpSession.java and
ApplicationContext.terminate() will close the specific session and not stop
all application-instances of this application.

We want to get totally sure, before we have to refactor too many classes.
If two instances use
ApplicationContext.setAttribute("name", new Object());
they access different objects and do not overwrite objects of other
instances having the same name ("name"), right?


Thank you in advance.


Best regards,

Markus

Reply via email to