You would not these anymore.
pom.xml, is maven build file, and others are old way to package a
connector, now that we have the RAR format these are handled by RAR
package and ra.xml file.
On Tue, 2009-12-15 at 18:28 -0600, Sanjay Chaudhuri wrote:
I find these files are missing from the template:
On Tue, Dec 15, 2009 at 12:24 PM, Sanjay Chaudhuri
Great; these answers will help me to move forward. Shall come
back incase I need additional info.
I shall replace the loopback classes with the 5 template java
classes I see on the Cdk connector for now.
On Tue, Dec 15, 2009 at 11:48 AM, Ramesh Reddy
> 1. <config-property> is defined as: description*,
> config-property-name, config-property-type,
> Will the ra.xml editor show a 4 column table only
> config-properties ? This would mean that we DO NOT
show the whole xml
> in a nested tree.
I do not think showing the whole tree is necessary.
Our main aim here is
to add "user" properties that are specific to the
connector needed to be
added easily. Those are "config-property" section. So,
if we can add
those through GUI that is enough to satisfy our need.
You can leave
manual editing of "ra.xml" up to the user. We do not
want hide the
resulting file either.
> 2. Capability to add/delete description,
> property-value which would update ra.xml on the fly.
Yes. Note that "config-property-value" denotes a
supplied by the user. Also, "config-property" can have
"description" fields. May be you can let them add
and add each line as one "description" element inside
Here is sample block.
<description>True if the source never
Note the "config-property-type", they can be any
may be you want to provide a "drop down" selection on
> 3. Do we need to validate schema restrictions ?
Yes/no, the ra.xml schema is defined by JCA 1.5 spec.
You can find it
If we let user manually edit, Yes. Which I think we
> 4. Which properties class the get/set to be added ?
Is the properties
> class generated if it's not in the workspace ?
The template will have a configuration class with name
"xxManagedConnectionFactory.java". Check here for the
template classes I
promised. I will keep them updated if any changes and
let you know.
> 5. How to use the optional <config-property-value>
attribute in the
> properties class ?
Properties call will only have getters and setters. By
having the "config-property-value"
in the ra.xml file the container will automatically
assign them on startup of connector.