Confused about defining EJB

I read EJB 3 in action and I came across this sentence

In very simple terms, Enterprise JavaBeans (EJB) is a platform for creating portable, reusable, and scalable business applications using the Java programming language.

Then, in the next two paragraphs, they change the EJB as a component and the EJB as a structure.

They further say that when they talk about EJB in a book, they refer to the server-side components that you use to create parts of your application.

I am confused about what an EJB is, is the EJB the correct platform / framework, and are the components and container included in this definition? And would it be more accurate to say EJB components than just EJB?

+4
source share
2 answers

I am confused about what EJB is, whether EJB is a platform / framework correctly,

Yes ... by the way.

and are the components and container included in this definition?

Yes.

And would it be more accurate to say EJB components than just EJB?

This is debatable. (And pointless discussion, IMO.)

The bottom line is that the term EJB means a lot of things depending on the context and who is speaking. When someone says "EJB", you should consider the context to determine the meaning. But hey, human language is like that.

+5
source

EJB Component is a Java class for developing a server-side business-level application. EJB Container is software that provides a runtime and services for the EJB component. Thus, the EJB Container is the platform to run your EJB components (and EJB-based applications). For the developer, all of these services, annotations, APIs, templates, rules, and restrictions are the basis for developing server-side applications.

0
source

Source: https://habr.com/ru/post/1385319/


All Articles