摘要 |
Methods and apparatus for implementing state machines as enterprise beans on an enterprise platform are disclosed. According to one aspect of the present invention, a state machine which is arranged to be used within a computing system that supports an enterprise platform includes an entity bean class, a home interface associated with the entity bean class, and a remote interface that is also associated with the entity bean class. The home interface is arranged to create, find, and remove entity objects, while the remote interface being arranged to drive the state machine. In one embodiment, the entity bean class is associated with an entity object. In such an embodiment, the entity object, the home interface, and the remote interface are included in an entity bean which may be an Enterprise JavaBean. |