Deloitte Interview Question

Whats the difference between a Session EJB and a Entity EJB.

Interview Answer

Anonymous

Jun 19, 2015

Session EJB hold the client state if is an Stateful bean keep the track of it. If is a Stateless provide major scalability. Entity beans are for persistance, represents the data of a database.