I went with a utility class to look up beans.
The source for this class is generated by the ANT build script to prepend the name of the
EAR file being built to the beginning of the JNDI name.
So I have an EJBUtil class which contains
public static Object getLocalEJB(String name) throws NamingException
| {
| return lookup("@ear_name@/" + name + "/local");
| }
|
|
Which gets "fixed" by a filter in the build which knows the EAR file name.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960909#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...