当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: Theres an old rule in software
 

 

    摘要: as the ejb 2.0 specification has entered its final stage, many companies are in the process of building server-side j2ee applications. the final draft of the specification has made container-m......
 ·java rules in j2ee @ jdj    »显示摘要«
    摘要: over the last two decades rules have become an increasingly important part of the information technology landscape. in fact, deductive rules have been applied to databases since the inception of sql......


Building to Scale @ JDJ
the history of distributed systems development has its genesis in the days of database management systems. these first systems were centralized monolithic beasts and, soon after, the first commercial implementations of distributed database research and development efforts yielded up much of what we now see as distributed databases complete with replication. these distributed databases reflected the geographic dispersal and management of the information base that defined an enterprise. the techniques employed were synchronous and utilized a simple request/response paradigm for data distribution between database management systems as well as between clients and database servers.

real-time computing 【推荐阅读:Implementing Busines

theres an old rule in software engineering: "building to scale requires prior intent." many applications delivered today fail to address scalability; they get deployed fast and sink faster as the load cripples them.

the advent of j2ee 1.3 goes part way toward providing an environment built to scale. the adoption of jms- and message-driven beans, as a mandatory addition to j2ee, solves part of the puzzle, but the marriage of jms with jcache (jsr 107) makes life much more interesting.

john bentley, author of programming pearls, coined a phrase called the "ah-ha!" moment - the moment when you fully understand the dimensions of the problem and, as a consequence, the solution becomes obvious. those of us who have read the famous gang of four book on programming design patterns, design patterns: elements of reusable object-oriented software, will appreciate the elegance and no doubt say, "of course, i used that pattern on my last project." the marriage of jms and jcache is an architectural recipe for distributed systems and gives rise to further patterns as we understand the dimensions of the problems were trying to solve.

in this article we look at how these technologies can be used to provide scalable architectures for delivering j2ee-compliant, web-based applications today and support what we need to deliver tomorrow by exposing some architectural patterns based on jms and jcache.

a history of distributed systems

meanwhile the real-time computing community was also looking at more asynchronous forms of communication. the techniques used in the late 1970s and early 80s were largely event-driven and used communication mechanisms for message exchange in multithreaded and multiprocessor environments. indeed, much of what was done in those days is reflected in the black art that underpins the building of device drivers.

the building of multitier applications and the rise of the internet has focused a lot of attention on the techniques for building distributed systems. when java was born it had remote method invocation built into the language. it supported sockets to enable interprocess and intraprocess communication. while the device drivers for socket handling were asynchronous, the standard mechanism for implementing multitier applications remained ro
...   下一页

 ·growing jsp and servlet sites @ jdj    »显示摘要«
    摘要: java servlets and javaserver pages (jsp) threaten to collapse out there in the mud houses of server land. developers succumb to the temptation to muddle their pages with complex business logic, a......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE