concept resource in category ejb

This is an excerpt from Manning's book EJB 3 in Action, Second Edition.
We’re going to analyze a lot of code in this book—some just as easy as this. You could trigger the hello as a web service by simply adding the @WebService annotation. You could inject a resource, like a helper bean that will translate hello into foreign languages, with @Inject. What do you want to do with EJB? If you keep reading, we’ll probably tell you how to do it.
The @Resource annotation is used to inject container-managed resources into code that the container also manages. This annotation works only inside an EJB, an MDB, in code running inside an application-client container (ACC), or in components registered with the web container (such as a Servlet or JSF-backing bean). Resources range from a simple integer value to a complex DataSource, but as long as the resource is container-managed, the @Resource annotation can be used to inject it into your code.