Hi if you set my-ear as name to the Application or ApplicationModule and my-ejb to the EjbJar or EjbModule then you will end up with this naming.
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2016-06-27 12:04 GMT+02:00 Gregory Orciuch <g.orci...@gmail.com>: > Hi, > > in my app some of it's legacy parts are using static InitialContext.lookup > on hardcoded jboss's pattern jndi paths, like: > > java:global/my-ear/my-ejb/FooService . > > How can I achieve the same with OpenEJB and ApplicationComposer, while it's > quite different naming strategy : "java:comp/env/.... > > > Actually having trouble to locate a good way passing the property > of openejb.jndiname.format > to tests run by: > @RunWith(ApplicationComposer.class) > > Any idea ? > > BR, > Gregory >