• Post Reply Bookmark Topic Watch Topic
  • New Topic

@Stateless(name="What is the use of this?" )  RSS feed

 
ArunKumar Kandregula
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In @Stateless( name="something...", mappedName="something else...")

mappedName => is the vendor specific JNDI name

name => What is the use of this ? How are we going to use this and when?

Arun Kumar Kandregula
SCJP 1.4 98%
SCBCD 1.3 92%
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A "name" uniquely identifies a EJB within a deployment unit. Although it may not be used during lookup, its there to identify a bean in a deployment unit. This most of the times is used internally by the application servers.
 
ArunKumar Kandregula
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
.
 
Arun Kandregula
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Jai. I got it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!