users@glassfish.java.net

Re: Multiple instances of Enterpise Application on the same server

From: <glassfish_at_javadesktop.org>
Date: Mon, 28 Apr 2008 07:37:59 PDT

Yeah, I've assumed that much... I really find it pants, that I would have to rename all my beans just because they use the same global name...

To me it seems logical that if you have an EAR, the name should be bound to that:

java:comp/env/ear/bean

Or even better, wouldn't it be more logical to name it thus:

java:comp/env/ear/ejb/bean

Failing that it would have been nice to have some sort of context isolation in Glassfish, by host, port, etc...

I've now had to rethink the use of an EJB module for the backend because it's now not portable enough for me...
[Message sent by forum member 'the_thunderbird' (the_thunderbird)]

http://forums.java.net/jive/thread.jspa?messageID=271816