• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is the different betwen @Stateless(name="SearchFacade") and @Stateless?

 
anarkali perera
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the different betwen @Stateless(name="SearchFacade") and @Stateless?


Reference
 
Leonardo Carreira
Ranch Hand
Posts: 489
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..



as far as i know that when we use only @Stateless annotation, then the name of our Stateless session bean would be the class name itsself.. in this instance, the name would be SearchFacadeBean
but when we fill the property name, the name of Stateless session bean would be same with the property name.. in this instance, the name would be SearchFacadeBean..

Please correct me if i'm wrong...
Thanks,..
 
anarkali perera
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i found that systax of stateless anotation is this



can nayone explain how to map this with examplee?

 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can nayone explain how to map this with examplee?

I am not really sure what you are asking here. Your post already has an example with the @Stateless. If you were asking something else, then could you please explain in a bit more detail?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic