Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-M2
-
None
Description
In geronimo, jndi component environment references are resolved by turning some information supplied in an ejb-link or geronimo plan element into a complete object name. Resolving the reference usually consists of calling some method on the named gbean.
Currently the "easy ways" are ejb-link in the spec dds or target-name for a resource-ref to a connection factory. non-link ejb-refs require you to supply the complete object name, which is difficult and error prone.
All the target object names are jsr77 compliant names.
This proposal is to have tags in the geronimo plan ref element for each component of the jsr77 name. Any that are not supplied can be filled in from the context. The elements are:
domain
server
application
module
type
name
I'm not entirely clear on whether the server attribute will allow you to specify a server in a different vm. If not something along these lines will be needed as well.
I'm proposing to keep the current target-name element in case you want to specify the entire name yourself.
Among other things this should provide geronimo plan "ejb-link" like functionality and simplify access to javamail and other non-connectionfactory resources (if any)