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.