Enterprise Bean

Why Trust Techopedia

What Does Enterprise Bean Mean?

An enterprise bean (EB) is a server-side Java application component that encapsulates the business logic of an application and runs in an Enterprise JavaBeans (EJB) container.

Advertisements

The three EB types are as follows: Session bean, entity bean and message-driven bean.

Techopedia Explains Enterprise Bean

EBs simplify large and distributed system development in the following ways:

  • The EJB provides security authorization and transaction management services at the system level, which allows bean developers to focus on business logic.
  • Client developers only focus on client presentation because business logic is encapsulated in the EB.
  • Clients are thinner, which is a major advantage for devices with limited resources.
  • EBs are portable components, which allows application assemblers to create new beans from existing beans.

For example, if an enterprise application’s (EA) function is to verify bank account information, such as balances and other transactions, then the application EB contains all methods invoked when a client accesses the same bank account information. Thus, an EB contains the code that fulfills the application’s actual function.

EBs simplify the development process of large EAs and are used under a variety of conditions, including the following:

  • When application components are distributed across many machines
  • When ensuring the integrity of concurrent and shared user data access
  • When an application has different clients
Advertisements

Related Terms

Margaret Rouse
Technology expert
Margaret Rouse
Technology expert

Margaret is an award-winning writer and educator known for her ability to explain complex technical topics to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles in the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret’s idea of ​​a fun day is to help IT and business professionals to learn to speak each other’s highly specialized languages.