Dec 17th, 2007, 07:11 AM
Spring EJBS Abstract classes
I am new to spring .But i have one doubt that , is it really advisable to use abstract EJBS classes which is provided by Spring . Instead of using direct classes. I am think ing in terms of Session beans and Message Driven beans .Can anyone give the advantage of using Spring frameworks classes over EJBS ?
Dec 17th, 2007, 07:15 AM
The beans already provide implementation hooks for loading the application context and already implement the interfaces for the different beans (i.e. SessionBean etc.).
So the only thing you have to do is implement business stuff and let the beans handle the plumping/default methods for you.
Dec 17th, 2007, 07:20 AM
Is it the Dynamic creation of interfaces or static ? one more thing do we need to write the xml files whch we used to write for EJBS ?
Dec 17th, 2007, 07:26 AM
You still have to do the normal EJB stuff create Remote/Local interfaces, write the deployment desciptors etc. There are tools (i.e. XDoclet) which can take away that burden.