I\'m currently learning Jave-EE, having plenty of C++ experience and having learned Java SE. I don\'t understand the purpose of Enterprise Java Beans; can someone clarify th
EJBs don't exist on their own; they live in an EJB container, which offers you some very useful services through them, such as declarative security, declarative transactions and relatively easy clustering.
While it's true that anemic domain models are an antipattern: once your business logic becomes more complex, e.g. when multiple applications operate on the same model, separating most of the logic from the model becomes a matter of separation of concerns.