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.
- When the user submits the form, the appropriate method on the remote object is called.
- This request goes through the ISL/ISH to the appropriate server in the WebLogic Enterprise domain.
- The server converts the string and sends it back to the EJBean which
in turn sends it to the servlet.
- The servlet returns the converted string to the client browser within some generated HTML.
-
ejbSimpappServlet()
-
-
getInitialContext(String, String)
- Gets an initial context.
-
getServletInfo()
- Basic servlet info.
-
service(HttpServletRequest, HttpServletResponse)
-
ejbSimpappServlet
public ejbSimpappServlet()
service
public void service(HttpServletRequest req,
HttpServletResponse res) throws IOException, ServletException
getServletInfo
public String getServletInfo()
- Basic servlet info.
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