Stateful Session EJB Part 1

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.พ. 2025
  • Enterprise JavaBeans ('EJB') is a managed, server-side component architecture for modular construction of enterprise applications.
    The EJB specification is one of several Java APIs in the Java EE specification.
    EJB is a server-side model that encapsulates the business logic of an application.
    A session bean encapsulates business logic that can be invoked programmatically by a client over local, remote, or web service client views.
    Session beans are of three types: stateful, stateless, and singleton.
    Stateful Session Beans
    The state of an object consists of the values of its instance variables. In a stateful session bean,
    the instance variables represent the state of a unique client/bean session.
    Because the client interacts (“talks”) with its bean, this state is often called the conversational state.
    Session bean is similar to an interactive session.
    A session bean is not shared; it can have only one client.
    When the client terminates, its session bean appears to terminate and is no longer associated with the client.
    Check out our website: www.telusko.com
    Follow Telusko on Twitter: / navinreddy20
    Follow on Facebook:
    Telusko : / teluskolearnings
    Navin Reddy : / navintelusko
    Follow Navin Reddy on Instagram: / navinreddy20
    Subscribe to our other channel:
    Navin Reddy : / @navinreddy
    Telusko Hindi :
    / @teluskohindi

ความคิดเห็น • 7