> Thanks for the reply. Can you let me know what this
> project.ear is ?? Is it a directory or a file.
This can be a directory or a ear file.
> its a directory then should I create project.war as
> subdir inside project.ear. In this case in which
> directory should I keep my ejb jar files ?
It should be placed seperately.
> ..\deploy or WEB-INF\lib ???? and what if I have
> some helper classes which are used by both servlets
> and EJB. should I club those in a jar or can I keep
> those on local system. Please elaborate properly.
> at present my application has following components.
> all in parallel on local side
> |-serlvet classes
> Now my dataobjects are accessed byb both EJB as well
> as servlet classes. So can you suggest me some good
> dir structure where all my war and jar files can
> access eachother. Awaiting your reply
Ok ! I will expalin the details
+ classes(for beans)
+ lib(for library classes)
+ com(home,remote,ejb classes)
This is the structure you have to follow,and place the common classes used in the ejb and servlet in the lib.For more details refer to the J2EE classloading mechanism,you will get lots of document on google.