jsr366-experts@javaee-spec.java.net

[jsr366-experts] Java EE 7 Application Client and JCA

From: Kevin Sutter <sutter_at_us.ibm.com>
Date: Wed, 6 May 2015 15:13:03 -0500

Hi,
I'm finding some discrepancies between the specs and the XSDs for the
application client, and I'm wondering what the real expectations were...

For example, in Figure EE 10-1, there is a reference to a
"connector-resource" element. There is also a note that says to "see the
schema for details". But, the application-client_7.xsd contains no such
connector_resource element.

In a similar vein, the application-client_7.xsd contains definitions for
the "connection-factory" and "administered-object" elements, but these are
not defined in Figure EE 10-1.

So, then I pursued the JCA 1.7 spec to find out if there was any more
detail, and that seems to have conflicting information as well. Section
6.10.1 seems to imply support for the Application Client. But, there was
an update in G.2 that states, "Section 16.2: Removed application client
container requirements for supporting connector contracts" But, maybe
that was just for the security contracts?

Both "connection-factory" and "administered-object" elements are
referenced in the JCA 1.7 manual, but only as part of the “Common Java EE
7 XML Schema definitions”. They don't explicitly indicate whether this
support is expected on the application client.

Any insights?

----------------------------------------------------------------------------------------------------------------------------------------------------------------
Kevin Sutter
STSM, Java EE and Java Persistence API (JPA) architect
mail: sutter_at_us.ibm.com, Kevin Sutter/Rochester/IBM
http://webspherepersistence.blogspot.com/
phone: tl-553-3620 (office), 507-253-3620 (office)
http://openjpa.apache.org/