Well i have made the client in servlet that access the ejb(stateless bean).After making the ear file what changes i have to made in web.xml file.And please tell how to make ear file if my client.class is puted in the c:\tomcat4.01\webapps\examples\web-inf\classes\client.class Thanks. Jawwad Ahmed SCJP SCWCD