All Examples

Package Index

WebLogic Enterprise Connectivity examples

about these examples

These examples show how to use WebLogic Enterprise Connectivity to access WebLogic Enterprise (formerly M3) CORBA objects from servlets and Enterprise JavaBeans running on a WebLogic Server. Each example shows how to:

We suggest that you build, run, and inspect the source code for these examples. For an introduction to WebLogic Enterprise Connectivity, see Using WebLogic Enterprise Connectivity.

The examples

Package examples.wlec.ejb.simpapp
A form-based HTML front end that submits a string to an Enterprise JavaBean. The Enterprise JavaBean sends this string to a WebLogic Enterprise CORBA object. The CORBA object converts the string to upper case or lower case, depending on the input data it receives. The CORBA object returns the converted string to the Enterprise JavaBean, which includes the string in a dynamically-generated HTML file and sends the file to the client browser. This example includes a Java client application which you can use instead of the HTML front end.

Package examples.wlec.servlets.simpapp
A form-based HTML front end that submits a string to an HTTP servlet. The servlet sends this string to a WebLogic Enterprise CORBA object. The CORBA object converts the string to upper case or lower case, depending on the input data it receives. The CORBA object returns the converted string to the servlet, which includes the string in a dynamically-generated HTML file and sends the file to the client browser.

Package examples.wlec.servlets.university
An HTML front end that submits information to an HTTP servlet. The HTTP servlet sends the input data to a WebLogic Enterprise CORBA object. The CORBA object handles the request by generating a list of courses, generating information about a course, or registering a student. The CORBA object returns the results to the servlet, which includes the returned data in a dynamically-generated HTML file and sends the file to the client browser.

Building and running the examples

Each example's directory includes the instructions for building and running the example:

there's more

Read more about installing, configuring, and using WebLogic Enterprise Connectivity in:

Copyright © 1999 BEA WebXpress, Inc. All rights reserved.

Last updated 5/7/1999