Why EJB, Spring Framework, .NET Framework etc can scale? -


ejb, spring framework, .net framework etc different frameworks, believe have common designs/architecture/model make them able scale. these common designs/architecture? n-tier (web/presentation, application, database) architecture? or other reasons? asking if have legacy system can't ported these frameworks, should make system able scale?

thanks.

scalability broad term here.

i think reason frameworks encourage programming interface , assembling application of several loosely coupled components. provide containers can transparently tie components regardless of networking etc.

this makes easy distribute components (and hence load) on several servers or transparently dispatch similar tasks multiple servers. in other words can start simple application fits in single jar, later if decide scale out don't need change more container configuration (lookup paths etc.).

they provide many handy "tools" or features can combined , used minimum effort. easy-to-configure application servers or containers, providing connection pools , transaction management, monitoring etc. messaging. timers. object-relational mapping. security. , on.

another benefit of architecture extensibility. if decide need introduce new (say, caching or background computations), changes in existing code minimal. can alter component implementation of same interface.

such code easier test , more maintainable. loosely coupled components covered automated unit tests.

it's broad , shallow description, each of topics can take whole book explain in detail (and of them do).


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -