How Progress Happens: .NET and Java
Is the .NET Framework just a copy of Java? Some strong similarities between the two technologies are hard to deny. The Common Language Runtime (CLR) is similar to the Java virtual machine, for example, and C# is much like the Java language. Yet the relationship between .NET and Java is more complicated than this. To really understand where we are today, its instructive to look at how we got here.
It wasnt obvious at the time, but in hindsight, its clear that 1996 was a crucial moment in the history of software. Two things happened that year that created the foundation for the world we live in today. One of those events was Microsofts release of what they eventually called Windows DNA. The core innovations in Windows DNA were Active Server Pages (ASP), Microsoft Transaction Server (MTS, later renamed COM+), and ActiveX Data Objects (ADO). These three technologies are now the heart of whats come to be known as an application server. (In fact, all of the vendors in this market call their product an application server except Microsoft. Given that it shipped the first one, its a little odd that the company has chosen not to use this industry-standard term.)
The second critical event in 1996 was Suns release of Java: the virtual machine, the language, and the initial set of libraries, eventually referred to as Java 2 Platform, Standard Edition (J2SE). These two eventsthe first application server and the first mainstream, fully modern programming environmentwere completely separate. Windows DNA targeted servers, while Sun initially focused Java on clients. Yet these two technologies were the seeds around which coalesced todays enterprise software world.
The Java side, by now including IBM and others, was the first to react to its competitors innovations. The core technologies that make up Java 2 Platform, Enterprise Edition (J2EE) were largely in place by 1998, and those technologies obviously owe a great deal to what Microsoft shipped in 1996. JavaServer Pages is much like Microsofts ASP, Enterprise JavaBeans is much like MTS, and JDBC is quite similar to ADO. JSP, EJB, and JDBC are the foundation for every Java application server todaytheyre the heart of J2EEbut denying the Java worlds debt to Microsoft requires willful blindness.
Still, the Java camp didnt just copy Windows DNA. In every case, they made additions to the original ideas. EJB has several features that have no analog in MTS, while JSP provides quite a few interesting enhancements to the core idea of server-side web scripting. This is how things are supposed to work: good ideas spread from their source, inspiring others to build on them. We who use these technologies are the ultimate beneficiaries.
Today, with .NET, its Microsofts turn. C# clearly owes a debt to the Java language, while Microsofts Common Language Runtime has much in common with the Java VM. Like the Java camp, however, Microsoft has added enhancements in both of these areas that go beyond what their competitor provides. Similarly, the .NET Framework includes Enterprise Services, ASP.NET, and ADO.NET, the next generation of the original application server technologies. Each of these builds on the original, adds new innovations, and in some cases incorporates ideas from the competition. (ASP.NET, for example, may have more in common with JSP than it does with the original ASP.) Microsoft also ups the ante for development platforms with solid support for Web services.
The .NET Framework puts Microsoft ahead today. Still, the truth is that both sides innovate and both sides build on the innovations of the other. Isnt competition great?
Now Available: Understanding .NET: A Tutorial and Analysis
Understanding .NET provides a big-picture introduction to the whole of .NET. The books goal is to be the first book a developer reads to start getting into .NET, and the only book technical managers need to make good decisions about .NET. Because really grasping a technology requires knowing not just how things work but also why theyre important, Understanding .NET includes a large number of analysis boxes, providing opinion and perspective on this new family of technologies. To see reader reviews or to order a copy, visit Amazon .
Understanding .NET is the first book in Addison-Wesleys Independent Technology Guides series, for which I am the series editor. Every book in this series gives a solid introduction to an important technologybooks on web services, J2EE, LDAP directories, and other topics are on the way. Each book has an easy-to-read layout with margin notes emphasizing the main point of most paragraphs, plenty of diagrams, and distinct analysis sections, allowing the writer to clearly mark opinions, discussions of controversial issues, and other topics that are especially interesting. Just as important, each book provides an independent perspective on the subject rather than reflecting the position of any particular vendor. Watch for the next book in this series, Eric Newcomers Understanding Web Services, later this year.
David Chappell is Principal of Chappell & Associates (www.davidchappell.com) in San Francisco, California. Through his keynotes, seminars, writing, and consulting, David helps IT professionals around the world understand, use, market, and make better decisions about enterprise software technologies. David has been the keynote speaker for conferences in the U.S., Europe, Latin America, and the Middle East, and at many in-house events. His popular seminars have been attended by tens of thousands of developers and decision makers in more than two dozen countries, and his books have been translated into ten languages. Davids consulting clients have included Compaq, Microsoft, Stanford University and others. Contact him at firstname.lastname@example.org.
David Chappell and Associates