When is it necessary or convenient to use Spring or EJB3 or all of them together? When is it necessary or convenient to use Spring or EJB3 or all of them together? spring spring