This is a small code snippet that will help, always works like a charm (but make sure your that your properties are set according to your specs) -
Properties properties = new Properties();
properties.put("java.namin
properties.put("java.namin
properties.put("java.namin
Context context;
try
{
context = new InitialContext();
TestBeanRemote beanRemote = (TestBeanRemote) context.lookup(TestBean.Re
beanRemote.test();
} catch (NamingException e)
{
e.printStackTrace();
}
Main Topics
Browse All Topics





by: a_bPosted on 2009-07-12 at 07:37:37ID: 24834522
Can you share with us what is it that you tried?