You can call EJB in Servlet as in anyother client program. Look up the home interface from the JNDI and then create the Bean's instance using that home interface.
InitialContext ctx = new InitialContext(properties);
use this InitialContext object ot lookup your bean ctx.lookup("name");
and then Narrow using PortableRemoteObject class. Same as in anyother client.
I carry this gun in case a vending machine doesn't give me my fritos. This gun and this tiny ad:
a bit of art, as a gift, that will fit in a stocking