From these "Developing" pages it seems that 'data' is something has few to do with Avalon.
right.
It seems that Components supply the enterprise/business methods, which may eventually accept/result in data. As a result, every effort in maintain data instances unique would be from the user application.
right.
It seems to me that Avalon has no support for primary-key/data bindings, in example.
right.
Also, I found few words about transactional support in Avalon. It seems to me that it is not possible to enforce a Commit-All-Or-Rollback-All design to Avalon Components, at least with the current design of connections and components relationships.
wrong. There is indeed no native support whatsoever for transactions in avalon, but that doesn't mean it is not possible to add it...ie it is possible to build an application on top of avalon that uses transactions. The addition of transactions would be a "layer higher".
I'm asking this because I have to face the design of an application which strongly relies on a db as a data repository. I was first tempted to use a J2EE container system (OpenEJB) to develop it, next I 'discovered' the Avalon Project and I was wondering about the limits of both frameworks.
well, J2EE provides quite a few features that avalon does not provide itself. If you want things like persistence, transactional support, etc, you'll have to use something else (like Hibernate) and "plug it in" as a component. On the other hand, Avalon provides a much better (yes, that's an opinion, and no, its not humble :D) than EJB. A partially written paper explaining why I hold that opinion is at
http://wiki.apache.org/avalon/AvalonYouMakeTheDecision
If you want an example of how you can build "the kitchen sink", and more, on top of avalon, take a look at Keel, http://www.keelframework.org/. Keel provides a lot of the features you may be used to from your J2EE experience.
-- cheers,
- Leo Simons
----------------------------------------------------------------------- Weblog -- http://leosimons.com/ IoC Component Glue -- http://jicarilla.org/ Articles & Opinions -- http://articles.leosimons.com/ ----------------------------------------------------------------------- "We started off trying to set up a small anarchist community, but people wouldn't obey the rules." -- Alan Bennett
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
