From: James C. <jim...@do...> - 2004-10-28 15:03:52
|
> > How does a combination of Spring + JOTM + JCA Container compare to > > a J2EE/EJB Server? >=20 > The biggest difference is there's no EJB :) Spring is all about J2EE development, except without the EJB part. = Spring does a lot of other nice things for you along the way also. The programming model is much simpler and "natural" as compared to EJB.=20 The Spring framework turns J2EE on its ear somewhat and provides = alternative mindsets (IoC vs. JNDI lookup) for many of the major J2EE features. It = does this without compromising your domain model the way that EJB does.=20 One of the few upsides (IMO) to a full-fledged EJB application are the deployment offerings. If you need a cluster of app servers with seamless failover support for all server resources (web sessions, SFSB, HA stubs, federated JNDI, etc.) then a commercial J2EE vendor (or jBoss) is closer = to your needs. [Note: that clustering and failover do not imply scalability -- actually they work against scalability in some respects. If your enterprise application need to scale, you can certainly develop them using = Spring/J2EE without EJB] |