View Full Version : EJB or POJO's
sivavp
Mar 1st, 2005, 11:40 PM
hi,
When using Spring
which is good to use
POJO's with Hibernate (or) EJB
Thanks & Regards,
Andreas Senft
Mar 2nd, 2005, 01:20 AM
Spring itself supports both ways, so the choice is yours. You can also mix the usage of (Session) EJBs backed by Hibernate-persisted POJOS.
The decision whether or not to use EJB should be guided only be the requirements of the application you wish to develop.
If EJBs do not really add benefit to your application, I would use POJOs, since they are easier to use and to test.
Regards,
Andreas
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.