|--including non jar packages in the classpaths of a *service.xml sar
|configuration file. This is free, and very useful for for instance making
|sure a resource adapter is deployed before your ConnectionFactoryLoader
|mbean that uses it and your xxx mbean that on startup needs the
|ConnectionFactory.
isn't that already taken care of by dmaplesden mbean dependency?
|--including *service.xml files in ears, or sars in ears. One of these is
|convenient for making an ear application that contains mbeans, is
|deployable as it stands on jboss (the mbean codebase and configuration
|being in the included sar), yet can be deployed (as an ear) on other app
|servers. Including ears in sar classpaths doesn't have quite the same
|effect, since then the ear would be deployed before the mbeans. I think it
|would be highly desirable to be able to for instance include the
|ConnectionFactoryLoader configuration your app needs (to get to its own
|personal database) in the ear - the app is then self contained.
that's great but we don't have a single real life scenario that warrants
this, do we?
|--dependency management: an app might use a mbean from a sar, what happens
|when the sar is undeployed? I'm working (a lot works, but could be better)
|on recursive dependency management, so if you declare (in a *service.xml
|classpath) in your ear that your app depends on mysar1.sar, myrar2.rar,
|systemjar3.jar, etc, if one of those is undeployed your app will be
|undeployed into a suspended state, and redeployed when the package on which
|it depends is redeployed. I don't propose to compute the dependencies
|automatically, but if you declare them, they will make sure your app is
|running only when what it says it needs is there. Is this what you are
|worried about?
Yes that is relevant with Datasources being the simplest example one can
think of.
not spec compliant though... anything in jsr88?
marcf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development