Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between @inject and @Resource

 
Gautam Ry
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one explain, difference between @inject and @Resource in EJB3.0?
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Gautam Ry " please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.
 
Reza Rahman
author
Ranch Hand
Posts: 580
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gautam,

There is no @Inject in EJB 3.0, but there is such an annotation for Seam.

Regards,
Reza
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic