This content has been marked as final.
Show 3 replies
-
1. Re: components.xml and @jndiPattern@
pisce.gabriel.goic.gmail.com Oct 29, 2008 11:08 AM (in response to nimo22)@jndiPattern@ is just a markup for a filterset, your build will replace it by the appropriate jndi pattern
-
2. Re: components.xml and @jndiPattern@
nimo22 Oct 29, 2008 1:32 PM (in response to nimo22)filterset?
so
@jndiPattern@
is the same as
#{ejbName}
??
Where can I find more information about filtersets?
-
3. Re: components.xml and @jndiPattern@
matt.nirgue Oct 29, 2008 5:06 PM (in response to nimo22)@jndiPattern@ is mostly use -I think- to run tests... with this annotation, your components.xml gets changed at runtime without having to change your components.xml each time
For example, if you run your integration tests on Embedded JBoss, it'd use the jndiPattern defined in the components.properties that is in your classpath (for tests) but once you run your application on the application server, it'd use another jndiPattern:
your-application-name/{#ejbName}/local
I'm no expert but that's the only thing that I can think of...