All Examples

Package Index

WebLogic Enterprise Connectivity examples

About these examples

These examples show how to use WebLogic Enterprise Connectivity to access WebLogic Enterprise 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 that 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 a JSP. The JSP 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 JSP, 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 configuring and using WebLogic Enterprise Connectivity in:

Copyright © 2000 BEA Systems, Inc. All rights reserved.
Last updated 3/8/00