Context « JavaBean « JSP-Servlet Q&A

1. Servlet Context for javabean

I have been using a session bean to access my database. I pass the servlet context to the bean and this allows the bean to get the database connection pool attribute from the context. On my local machine, this servlet context never changes and my site works okay. However, on my uploaded site, the servlet context seems to change. I think ...

2. JavaBeans in the context of Servlets