hay..Im developing a struts application using Java EJB's and JBoss server.
I know haow to deploy elements on Jboss.

Hav previously done it in Weblogic by using syntax--->

-------------------------------------------------

Hashtable hs=new Hashtable();
hs.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
hs.put(Context.PROVIDER_URL,"t3://localhost:7001");

Context ctx=new InitialContext(hs);
Object obj= ctx.lookup("ejb/CardValidatorHome");

-------------------------------------------------

now how to do dis kind of stuff using JBoss