Sometimes I see JDBC data sources specified in JNDI that use the "jdbc" path. For example, the following (for Tomcat6):
<Resource name="jdbc/myAppDS" auth="Container" type="javax.sql.DataSource" ..... />
But sometimes I see this without "jdbc" in the JNDI path name. Does jdbc use only convention? Is this typical? Where are these documents documented?
This is just an agreement. You can call the resource as you like, but if you have many resources defined in your context, using the standard prefix makes it easy to determine which resource it actually has.
JavaBean bean/, Mail mail/.
bean/
mail/
Source: https://habr.com/ru/post/1777481/More articles:Using variables in a PLS SELS expression - sqlHow to detect in selenium, is loading a javascript file loaded via ajax? - ajaxHow to combine onTap with gestures? - androidsending POST data when you hang up Twilio - phpWhat is the practical data size size for GKSession sendData: toPeers: withDataMode: error :? - iphoneWhat is uri actually used for namespace? - xmlStep-by-Step Form with MVC - model-view-controllerHow to count the number of instructions? - assemblySession lost using hostname instead of IP address (IE) - asp.net-mvc-2SQL Benefits of JOINs? - sqlAll Articles