Spring vs EJB3.0 – a comparison

Spring and EJB3.0 both aim to simplify application component development: Spring has dependencies and characteristics of your classes (transaction support etc) externalized to an XML file, whereas the new EJB3.0 spec annotates the actual source file with markup alongside the actual code.

This article on the OnJava.com website gives a simple comparison between the two approaches.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.