All Examples  All WebLogic Enterprise Connectivity Examples This Package  

Class examples.wlec.ejb.simpapp.ejbSimpappServlet

examples.wlec.ejb.simpapp.ejbSimpappServlet

public class ejbSimpappServlet
This example demonstrates how a WebLogic Servlet can connect to WebLogic Enterprise through an EJBean which then invokes an operation on a CORBA object. This servlet can either be called directly from the browser or through the ejbSimpapp.html file.


Constructor Index

 o ejbSimpappServlet()

Method Index

 o getInitialContext(String, String)
Gets an initial context.
 o getServletInfo()
Basic servlet info.
 o service(HttpServletRequest, HttpServletResponse)

Constructors

 o ejbSimpappServlet
 public ejbSimpappServlet()

Methods

 o service
 public void service(HttpServletRequest req,
                     HttpServletResponse res) throws IOException, ServletException
 o getServletInfo
 public String getServletInfo()
Basic servlet info.

 o getInitialContext
 public static Context getInitialContext(String user,
                                         String password) throws Exception
Gets an initial context.

Returns:
Context
Throws: Exception
if there is an error in getting a Context

All Examples  All WebLogic Enterprise Connectivity Examples This Package