I think I understood what is the difference between a Java Bean (JB) and an Enterprise Java Bean (EJB). There are a lot of answers to this question out there. But what I didn't really find an answer for:
If I code Java EE software with JSF, should I prefer to code everything (where I don't need CDI like for the models) with EJBs or only the things where I see an advantage in EJBs. For example because of perfomance if a Stateless EJB is possible or because I need transaction management?
For example I want to code an online calculator. The models for the view are CDIs. But what is with the classes which do the calculation on request of the models. Is there any reason to use EJBs for them?