Today, Sergei Batiuk ([EMAIL PROTECTED]) wrote:
> Is there any way to customize deployment of CMP bean - to indicate the table
> name in the database to which the entity bean should map its persistence (in
> case the name of the table is different from the bean name) or the data
> source to connect to. As far as I know orion-ejb-jar.xml is responsible for
> these properties, but it has no effect <i>before</i> the deployment. Is
> there an orion-specific (or some other) way to deliver such information to
> the container?
You can create a barebones instance of the orion-ejb-jar.xml in your
ejb distribution (there's a specific directory you have to put it in,
maybe META-INF/orion?), include in it only the specific deployment
information you want to override, and it will be picked up by orion
and used as the basis for the final deployment-time orion-ejb-jar.xml.
It's a nice trick.
I believe it's documented on the orion doc site, within the description
of the orion-ejb-jar.xml file. Right at the top.
Gary