Multiple choice technology web technology

What advantage does an entity bean have over a session bean?

  1. Entity bean data survives crashes.

  2. An entity bean represents non-persistent data.

  3. It creates its own JAR file during deployment.

  4. You get authentication code without having to write any.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Entity beans represent persistent business data that survives system crashes. They map to database tables and provide transactional data access. Session beans, in contrast, handle business logic and process non-persistent data that is lost when the session ends. This persistence is the key advantage.