Jean-Sebastien Delfino wrote:
Kevin Williams wrote:
Along the same lines, I would like to offer these first-milestone
development items for the RDB DAS:
-Complete the transition to SDO2
-DAS integrated into BigBank sample
-Best-practice DAS sample (Stand-alone and SCA-integrated)
-Datasource definition in Config file -Tools support - Export
metadata - return the SDO Types and/or write
an XML file that contains the Types created from the config +
resultSetMetadata
--
Kevin
Jean-Sebastien Delfino wrote:
Hi,
I started to put together a list of items that I think we should
support in our first SCA/Java Milestone. The idea is to establish
reasonable goals in terms of function and timeframe. I also think
that this will help people find areas where they can contribute,
since this is pretty broad.
Core Module assembly model
- align implementation with a subset of SCA 0.9 (the implementation
diverges from SCA 0.9 in some areas today)
- support for module and fragment SCDL
- support for componentType
- no multiplicity
- simple properties only, no complex properties
- support for both Java and WSDL interfaces
Subsystem assembly model
- support for subsystem SCDL
- ModuleComponents only no externalService and entryPoint at the
subsystem level
- Support for wiring/specifying endpoints on externalServices
- Support for overriding properties of moduleComponents
- On Tomcat, subsystem maps to a Tomcat instance, moduleComponent
maps to a Web app
- In J2SE, you can run a single moduleComponent
Client and implementation model
- align implementation with a subset of SCA 0.9
- support for SDO2 as well as regular Java objects - basic scope
management (request, session, module)
- no metadata API
- no request context
- no session id
- no service references
- no conversational, no callbacks
Development Tools
- WSDL2Java and Java2WSDL generators
- XSD2SDO and Java2SDO generators
- both in the form of API and maven plugins
Bindings
- Web Service binding using AXIS 2 (SOAP/HTTP, doc literal only,
support for streaming)
- Pluggable data-binding (start with regular Java objects and SDO)
- I think that we can live with just a WS binding for now and look
at the default SCA binding later (maybe it'll just be a variation of
the WS binding with some defaults anyway).
Extensibility
- Support contribution of a new binding (I'm thinking about a sample
HTTP binding to illustrate that)
- Support contribution of a new component type (Ant's sample
Javascript component type)
Admin
- just doc or basic tools (maven plugin?) to install/uninstall a
subsystem and module component
- just doc or basic tools to start/stop a subsystem and module
component
- wiring, configuration of module component properties require
editing SCDL file and bouncing the subsystem
- Simple monitoring/logging
Target environments
- JDK 5.0
- Tomcat
- J2SE
Samples
I think we need samples for most of the items in this list to
illustrate how various user roles will use Tuscany (app. developer,
assembler, deployer-admin, system-developer who wants to extend or
integrate with Tuscany) and help drive all this work from concrete
scenarios.
Any thoughts and ideas are welcome.
--
Jean-Sebastien
Kevin,
Looks pretty good to me, I think this fit wells with the other items I
listed for SCA. I have two questions:
- how do you see the config of the datasource? is this going to be
integrated with an SCA binding? or another config mechanism? will you
need any changes in the extensibility mechanisms from the core SCA
runtime or are you happy with the existing extension points?
The DAS offers two options relating to JDBC connections. The DAS client
can either directly provide a connection instance use or specify
connection properties in the DAS Config file. For the Config file
option, the client can specify either DriverManager (unmanaged env.) or
Datasource (managed env.) properties and the DAS will retrieve the
connection itself. I am not sure which of these options is best for
SCA. It is important that the DAS remain independent of SCA. I hope we
can implement a serious sample soon that includes the DAS since I think
this will expose several areas that need immediate attention.
- what do you see under tools support? command line tools? maven
integration? any integration with the SDO, XSD and WSDL tools we are
listing under the SCA roadmap?
The tools-support I mention in the milestone plan is to have the DAS
export the shape of the SDO Datagraph that it will produce based on some
Select statement/config file. This may be useful at tool time for
building SCA configuration files.
Next I guess we need to see how all of this fits with our SDO roadmap.
Frank, any thoughts?
--
Jean-Sebastien