EJB is a topic solution for distributed applications and complex transaction issues. However, many applications have not encountered these problems. EJB adds unnecessary complexity in such applications. An EJB solution can be a truck, while a web application can be a small car. When we need to perform some tasks like carrying large-scale objects, a truck will be much more efficient than a small car. However, when a truck is capable of doing the same job, the small car will make it faster, cheap, and drive it easier to operate, more interesting.