File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between @inject and @Resource

 
Gautam Ry
Ranch Hand
Posts: 41
  • 0
  • 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: 2851
10
Fedora Firefox Browser Java
  • 0
  • 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
  • 0
  • 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