This is how it's implemented in GlassFish. I couldn't find in the spec anything that requires or prohibits this, but if you try this on another appserver, it can of course be different.
Regards,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]
http://forums.java.net/jive/thread.jspa?messageID=298451