Java – about web More information about tags in XML
I'm looking for standards for datasource configuration for Java EE applications, but everything I find on the Internet is container specific (for example, context. XML with Tomcat)
I found this very rare subject about the < data source > tag It's interesting to see the link inside I can't find more information in the sun / Oracle documentation
So I have a few questions:
>Is the < data source > tag applicable to all web servers? (tomcat, JBoss) > multiple resources: we can have multiple < data source > Web Tags in XML? > We must use < resource ref > when we use < data source > Is it unnecessary to use tag (for @ resource annotation) tag in XML? > When we use "initialcontext" to call datasource, "@ resource", is it the same instance for each call? If so, isn't it? More like EJB session bean @ stateless (may be the same instance), or more like EJB session bean @ single (must be the same instance)? > I understand that the Java EE 6 standard appears in the < data source > tag, but where can I find more information about it? Which JSR?
thank you
Solution
You can use the JSR 88 API to view applications that contain Java EE 6 data sources