The Java EE 6 Tutorial, Volume I

Declaring Multiple Resources

The @Resources annotation is used to group together multiple @Resource declarations for class-based injection.

public class SomeMessageBean {

The code above shows the @Resources annotation containing two @Resource declarations. One is a Java Message Service (JMS) message queue, and the other is a JavaMailTM session.