WebLogic Server 6.0 Code Examples, BEA Systems, Inc.

examples.ejb.extensions.readMostly
Class StockWriterBean

java.lang.Object
  |
  +--examples.ejb.extensions.readMostly.StockBean
        |
        +--examples.ejb.extensions.readMostly.StockWriterBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable

public class StockWriterBean
extends StockBean

StockWriterBean is an EntityBean. This EJBean illustrates:

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

Fields inherited from class examples.ejb.extensions.readMostly.StockBean
price, symbol, volume, yearHigh, yearLow
 
Constructor Summary
StockWriterBean()
           
 
Method Summary
 java.lang.String ejbCreate(java.lang.String symbol, double price, long volume)
           
 void ejbPostCreate(java.lang.String symbol, double price, long volume)
           
 void updateStock(double price, long volume)
           
 
Methods inherited from class examples.ejb.extensions.readMostly.StockBean
ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore, get52weekHigh, get52weekLow, getPrice, getSymbol, getVolume, setEntityContext, unsetEntityContext
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StockWriterBean

public StockWriterBean()
Method Detail

ejbCreate

public java.lang.String ejbCreate(java.lang.String symbol,
                                  double price,
                                  long volume)

ejbPostCreate

public void ejbPostCreate(java.lang.String symbol,
                          double price,
                          long volume)

updateStock

public void updateStock(double price,
                        long volume)

Documentation is available at
http://e-docs.bea.com/wls/docs60

Copyright © 2000 BEA Systems, Inc. All Rights Reserved.