Thanks a lot..!!
i have one more doubt,
does this method work in all j2ee compliant servers?
No, but I think all containers let you deploy the
local interface at a known <local-jndi-name>
The default in jboss is local/ejb-name unless
you say different in jboss.xml