Thanks, Laura – These look excellent.
However, I have since gotten more feedback from Lance (between ===):
The page is not consistent as it should just describe what a DataSource is to align with what it states for the other interfaces.
You can borrow from the spec or from the javadoc for DataSource.
The problem i have with the wording, is you can use a DataSource without JNDI and it can (and typically is) looked up as a resource via JNDI.
Also need to migrate to referring to Java EE vs J2EE as well.
The last bit can wait, but we may as well reword the description based on the javadoc. Here is some text that can replace the first two sentences. I think the last sentence ("This allows the calling application to access the database by a name (as a data source) instead of through a database connection URL.") can stay as is.
"A DataSource object is a factory for connections to the physical data source that the DataSource object represents. An alternative to the DriverManager facility, a DataSource object is the preferred means of getting a connection. An object that implements the DataSource interface will typically be registered with a naming service based on the Java(TM) Naming and Directory (JNDI) API."
Interesting in view of the fact that our Working With Derby example uses DriverManager; at some point perhaps it should be changed to use DataSource, but that is yet another task.
BTW, did you also change the title of rrefjta16677.dita in the map file?