All Examples All EJB Examples This Package
java.lang.Object
|
+----javax.servlet.GenericServlet
|
+----javax.servlet.http.HttpServlet
|
+----examples.ejb.basic.beanManaged.Servlet
The servlet must be registered in the weblogic.properties file
of the WebLogic Server:
weblogic.httpd.register.beanManaged=examples.ejb.basic.beanManaged.Servlet
weblogic.allow.execute.weblogic.servlet.beanManaged=servletUser
weblogic.password.servletUser=servletUserPassword
Call this servlet using an URL such as
http://localhost:7001/beanManaged?user=servletUser&password=servletUserPassword
where you've substituted appropriate values for servletUser and servletUserPassword
in both the weblogic.properties file and the URL.
public Servlet()
public void service(HttpServletRequest req,
HttpServletResponse res) throws IOException
public String getServletInfo()
All Examples All EJB Examples This Package