Dear Vdyagiri,

I was also working on this. I was using the package provided by Sun - J2EE.
In J2EE I included the Servlet and HTML files into a .WAR file. And it works
fine.

In the init() method of the servlet you will have to get access to the Session
Bean.

By the way, which EJB implemenmtation are you using and what is the database ???

Regards,

Pradeep Shekade

"Vdaygiri, Subu" wrote:

> I have a servlet which communicates to the session bean (which in turn calls
> entity beans to the database). Now, should I place the servlet in the web
> server (Like java web server) or should I deploy it in the Application
> server. Can anyone point out the pros and cons of where it should live ?
>
> Thanks in advance
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to