    All Examples This Package

# Class examples.dbkona.EventfulList

    examples.dbkona.EventfulList

public class EventfulList

EventfulList and EventfulListClient are a pair of applications that run together to demonstrate how dbKona applications can cooperate to share data and changes to data in a rapid way, using the WebLogic Events built into the EventfulTableDataSet.

These examples require an Oracle DBMS and need a clean copy of the Oracle "emp" table (in the DEMO database).

### To set up this example:

1. Set up your development shell as described in Setting up your environment.

2. Change connection parameters to correspond to your Oracle configuration. If you need more help, check the section on connecting to a database in the Developers Guide, Using WebLogic jDriver for Oracle.

3. Compile this example by executing the following command in your development shell:

   $ javac -d %CLIENT_CLASSES% EventfulList.java

4. To run, first execute the EventfulListClient from a command line.

   The application displays some data, and waits for changes made to the eventful data set.

5. At a second command line, start the EventfulList application with the following command:

       $ java examples.dbkona.EventfulList t3://WebLogicHost:port
         login password server ename

   Where WebLogicHost:port is the hostname and port number of your WebLogic Server and port, login, password and server are connection properties for your Oracle DBMS instance. ename is a value in the ename column of the emp table.

   The employee name from a record in the "emp" table, demonstrates that data is passed. You should see the first application report that it received the name from the EventfulList. You can repeatedly execute EventfulList with different names.

Author:
  Copyright (c) 1997-2000 by BEA Systems, Inc. All Rights Reserved.

##

EventfulList()

##

main(String[])
  Calls the example.

##

EventfulList

     public EventfulList()

##

main

     public static void main(String argv[])

  Calls the example.

    All Examples This Package