PDA

View Full Version : EJB supports transactions spanning rmi calls, Spring doesn't



ashik
Jan 31st, 2005, 10:04 AM
EJB supports transactions that span remote method calls but Spring does not.

Doesn't it mean that in a truely distributed environment, you dont have any alternative of EJB or CORBA if you are developing in Java?

Or is there any work around for it in Spring?

Alef Arendsen
Jan 31st, 2005, 12:21 PM
Err, yes... But the question is whether a truely distributed environment (the way you're talking about it) is necessary for 99% of the applications.

Positioning the business-tier on the same level as the web-tier is often not a problem. Calling remote EJBs from a transactional EJB is a use case that's even less frequently seen...

Others might shed more light on this...


regards,
Alef