[jboss-user] [JNDI/Naming/Network] - Application Components and JNDI references

languidlanguid do-not-reply at jboss.com
Thu Jan 22 13:47:28 EST 2009


Hi,

I am trying to work out how JBoss supports this part of the J2EE 1.3 spec (see end of post). Does JBoss support the concept of application components i.e. can I deploy an EAR file which makes use of a Datasource whose application resource name is AccountDS and configure it to use a component resource name of AccountCust1DS. Then deploy the same EAR file separately such that it uses a different component resource name of AccountCust2DS. The EAR file in both cases is identical and uses the application resource name of AccountDS.

The following is from

http://www.ibm.com/developerworks/websphere/techjournal/0410_woolf/0410_woolf.html

This change is reflected in a single paragraph that was added to the J2EE 1.3 specification, in section J2EE.5.4.1.2, "Declaration of Resource Manager Connection Factory References in Deployment Descriptor." The new paragraph says:
	

A resource manager connection factory reference is scoped to the application component whose declaration contains the resource-ref element. This means that the resource manager connection factory reference is not accessible from other application components at runtime, and that other application components may define resource-ref elements with the same res-ref-name without causing a name conflict.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204100#4204100

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204100



More information about the jboss-user mailing list