EJB‎ > ‎

Components

EJB Server Side Component Types:

  • Session Beans
    • Stateless Session Beans (SLSBs): Used for functions that don't need to have the state of the automaton carried from one invocation to another.
    • Stateful Session Beans (SFSBs): For a given proxy reference there will be a sticky bean.
    • Singleton Beans: All requests will be processed by the same, single bean.
  • Message-Driven Beans (MDBs): Beans that handle asynchronous, send and forget, messages.
  • Entity Beans: "while session beans are verbs, entity beans are nouns". These are POJOs, plain old java objects, that can be persisted in a database.
Comments