This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes @Stateless annotation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "@Stateless annotation" Watch "@Stateless annotation" New topic
Author

@Stateless annotation

Sudarshan Sreenivasan
Ranch Hand

Joined: Jun 28, 2007
Posts: 188

Hi,
I wanted to know how the @Stateless annotation injects a session bean into the specified object & how the role of the home has been removed in ejb3 (Earlier home was responsible to supply ejb)... we do not see create() method ... how has this been catered to by the annotation ??
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: @Stateless annotation
 
Similar Threads
Pro JPA 2 - Question
EJB 3.0 - Injecting EJB References - confusion
How to access session bean within another session bean ?
Confusion between PreDestroy and Remove annotation
eclipse ejb ?