1 Reply Latest reply on Jan 22, 2014 6:23 PM by dadams07

    How to share data between java class and Servlet


      Hello everyone,

      I'm trying to share an hashmap(or any other stuff to share data) between a java class and a servlet.

      The hashmap has to be filled into the servlet with some data and then I have to get those data from the java class.

      What is the best approach?

      I cannot use a DTO because I have several concurrent requests to my servlet.


      Thanks for your help.