intermediateEnterprise Java319 of 436

Difference between different types of EJBs

Tests whether you can distinguish Session Beans (stateless or stateful, for business logic), Entity Beans (legacy persistence representation, since replaced by JPA), and Message-Driven Beans (asynchronous JMS message consumers) -- the three component categories the spec defined, each solving a different kind of server-side concern.

Ready to master this question?

Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.

Sign in to generate a response

Next Step

← Back to all Core Java questions