Hi All,
this is the code we are using now.
when ever we run this code it is excuting the first print statement and it is not exceuting the next line and it is not throwing any exception(some times it's behaving like this).
system.out.println("inside else -- "+localHomeName);
String name = (String)initialContext.lookup(localHomeName);
system.out.println("name -- "+name);
localHome = (EJBLocalHome)initialContext.lookup(name);
Your help is appriciated.