|
WebLogic Server 7.0 Code Examples, BEA Systems, Inc. | |||||
The examples in these directories are designed to demonstrate a variety of tasks using WebLogic Server.
For general information, see the WebLogic Server Examples Guide.
| Examples | |
| cgi (more) | Shows how to set up a cgi servlet mapping for including CGI scripts to your Web Application. |
| cluster (more) | Show how to write applications for WebLogic Server clusters, including using load balancing and failover. |
| dbKona | Demonstrate how to query a database using the WebLogic Server dbKona API. |
| ejb11 (more) | Demonstrate EJB 1.1 features such as stateful session beans, stateless session beans, entity beans with container-managed persistence, entity beans with bean-managed persistence, read-only and read-write enterprise beans, and subclassing enterprise beans. |
| ejb20 (more) | Demonstrate EJB 2.0 features such as local interfaces, the EJB 2.0 container-managed persistence model, home methods, and message-driven beans. Also demonstrates automatic primary key generation, a WebLogic Server feature. |
| i18n (more) | Show how to internationalize an application using simple XML message catalogs and write localized messages to a log. |
| iiop (more) | Demonstrate connectivity between WebLogic Server and C++, Tuxedo, and RMI clients. |
| io | Show how to use the weblogic.io.common
package to write to and browse
files on the server. |
| javamail | Demonstrate how to call the JavaMail API from a servlet to create a mail session. |
| jcom (more) | Show how to use WebLogic jCOM to access an EJB deployed on WebLogic Server from an Excel VBA client. |
| jconnector (more) | Show how to use the J2EE Connector architecture to create an interface to an Enterprise Information System (EIS). |
| jdbc (more) | Demonstrate connecting to various databases using JDBC and setting up a server-side connection pool. |
| jms (more) | Show how to use the Java Message Service API, including sending and receiving messages, using the publish/subscribe model, and more. |
| jndi (more) | Show how to obtain a WebLogic JNDI naming context from either the client or the server. |
| jsp (more) | Show how to call an EJB and access a database from a JSP page, how to use a JSP tag library, and more. |
| jta (more) | Demonstrate how to use the Java Transaction API (JTA) to handle distributed transactions with two resources or two database instances. |
| rmi (more) | Demonstrate WebLogic RMI features such as accessing a simple RMI client and using multiple RMI objects. |
| security (more) | Demonstrates authentication of clients, the Java Authentication and Authorization Service (JAAS) SPI, the Secure Sockets Layer (SSL) protocol, auditing of events and filtering of client connections. |
| servlets (more) | Illustrate basic to advanced concepts of writing Java servlets, including how to create and use cookies, send HTTP error responses, and handle form input and initialization parameters. |
| utils | Contains utility files to use with the examples,
including the demo.ddl file for creating
the database tables for the demo database.
|
| webapp (more) | Demonstrate two web application modules, one that creates a cookie, and one that uses authentication to restrict access to a specific directory. |
| webservices (more) | Demonstrate how to create WebLogic Web services based on a stateless session EJB, a custom Java class, and a JAX-RPC handler. The examples also demonstrate how to use the WebLogic-generated client classes to invoke Web services from a variety of different vendors. |
| wtc (more) | Show how to use the WebLogic Tuxedo Connector, so that WebLogic Server applications and Tuxedo services interoperate bidirectionally. |
| xml (more) | Demonstrate XML features such as
parsing XML documents using SAX and DOM parsers,
mapping a DTD to a doctype, and more.
|
|
Documentation is available at http://e-docs.bea.com/wls/docs70 |
|||||