Bind the HashMap directly?
Of course if the HashMap contains non-serializble
objects it won't work.
And the client will get a copy of the HashMap
Why not create a stateless session bean to give
remote access to the HashMap?
i'm sorry, was a stupid question.
Before i posted that question, i've tried to bind directly, but it not worked, because i forgot doing serializable the objects into the hashmap.
Forgive me if this is appears to be a "dumb question" but I'd like to be sure... when you say "Bind the HashMap directly" i assume you mean use InitialContext.bind(), correct?