Specified in the method declaration
Specified in the query
ejbSelect() method should support both local and remote interfaces as return types
Specified by the client
Is always a local interface
Specified in the deployment descriptor