Praveen,
Typically the web layer calls the ejb layer. Doing the opposite would introduce a circular dependency.
This is a common sign that you really have three units: the common code, the web module and the ejb module. If you refactor the common code into it's own module/jar, you can have the real web module (
servlets, etc) and ejb module call it without a circular dependency.