users@glassfish.java.net

mappedName inevitable in Glassfish

From: <glassfish_at_javadesktop.org>
Date: Thu, 08 Jan 2009 03:33:10 PST

Hi,

I have one Remote interface and two beans implementing it. The client of the Remote interface identifies the two beans only by the 'mappedName' attribute of the bean. Absence of the mappedName results in ambiguity. Usage of 'name' did not seem to add value.

The EJB specification Simplified (Section 10.1.1) states that Applications that use mapped names may not be portable.

Am i correct that only 'mappedName' can identify which of the bean is required by the client?

How does the developer benefit by 'name' attribute?

Regards,
Rajesh
[Message sent by forum member 'rajesh_s' (rajesh_s)]

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