- Where to we declare a dependency on Kernel services? Do we declare it at Block level or at .sar level ? ie in blockinfo files or assembly files?
I belive we should keep blockinfo as atomic as possible and also self-contained - hence when a "block deployer" opens a block it can discover what dependencies are needed to make the block work.
- And thus where do we make the services available? in ComponentManager or via BlockContext?At this moment in time I believe this should be done at the BlockContext if possible.
I think of components as smaller modules, and Blocks as larger modules made up of components. I suppose this depends on the deliniation between blocks/components, which may be a grey area: A JDBCPool module is clearly(?) a small service which is used to access a larger service like a DBMS (such as HSQL). JDBCPool = component, DBMS = block. I'm not convinced that this is the correct way of thinking, however.
cheers Pratik
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]