Ads by TechWords

See your link here
Subscribe to our e-mail newsletters
For more info on a specific newsletter, click the title. Details will be displayed in a new window.
Application/Web Development
Computerworld Daily News (First Look and Wrap-Up)
Computerworld Blogs Newsletter
The Weekly Top 10
More E-Mail Newsletters 
 

J2EE vs .Net: The choice depends on your needs

August 19, 2003 12:00 PM ET

Computerworld - You'd have to be living in a vacuum not to be aware of the debate that rages between proponents of the two dominant development platform contenders: Java 2 Enterprise Edition and .Net. Many articles have been written declaring one or the other the winner based upon performance, scalability, features, portability, vendor independence, ease of use, lines of code, robust security, productivity tools and enterprise connectivity, just to name a few of the hot issues.

The tale of the tape is long and confusing, but does it really get at the heart of the issue?


You Say Potato, I Say ...


Much of the debate has sought to differentiate the two in order to convince customers that one is the clear and obvious choice. The most obvious conclusion seems to be that the architects are most skilled at conceptually copying and enhancing the best of one another's platforms. As a result, J2EE and the .Net Framework are far more similar than many people realize and will probably become even more so in the future.


Sun Microsystems started things off when it made the Java language syntactically similar to C/C++, but improved it by making it object-oriented from the ground up, by adding its own features and by employing common design patterns in the Java Development Kit (JDK).


Not to be outdone, Microsoft made its own improvements with .Net and the Common Language Runtime to enable code that's written in many languages but deploys as if written in one. Microsoft embraced object-oriented programming instead of using a pseudo-object-oriented notation. Its most important language, C#, is amazingly similar to Java, and the .Net Framework employs many of the same design patterns embraced in the JDK.


The Stacks and Just the Stacks, Ma'am


We can look at each as a "stack" of common services that each platform provides to applications that are built with or run on the platform. There are plenty of articles out there comparing and contrasting the stacks of .Net and J2EE. Here's a list—not necessarily an exhaustive one—that begins to make the point that these technologies are growing together conceptually and support a similar set of services, albeit implemented differently.





































































Stack Function .NET J2EE
Relational Database Access ADO.NET JDBC
Web Client ASP.NET Java Server Pages (JSP) and Servlets
Standalone Client Windows Forms AWT/Swing
Distributed Components .NET Remoting RMI/IDL
XML System.Xml and .NET in general is built around XML. JAX Pack (JAXM, JAXR, JAXB, JAXP)
Messaging Microsoft Message Queuing (MSMQ) Java Messaging Service (JMS)
Web Services Support Built directly into .NET and Visual Studio Java Web Services Developer Pack (JWSDP) as well as vendor specific tools.
Enterprise Components/Transactions COM+ Enterprise Java Beans (EJB)
Integration Host Integration Server, BizTalk Server J2EE Connector Architecture
Component Registration Active Directory Java Naming and Directory Interface JNDI



It's getting harder, not easier, to pick a clear winner, because J2EE and .Net are so similar. Consider the cola wars—Coke or Pepsi. As fundamental products, they're not that different. Both are colas, with carbonation, caffeine and celebrity endorsements.


With J2EE and .Net, selection may be based less upon intrinsic merits of the platforms and more on your existing environment (e.g. resources, investments) and personal preference or style.


Don't blame Sun or Microsoft—they are companies in a free-enterprise system. They want market share and need to provide their shareholders with a return on their investment, but there's no need to get caught up in the hype or allow these superficial debates to cloud your judgment on the more important issues that we all face.


At this point, many of you are probably asking yourself, "If my selection of J2EE or .Net isn't as critical as I thought, what is?"


From the Victrola to the MP3


Replacing your favorite music every time the industry changes formats is one thing, but can your company really afford to rewrite every application each time technology changes? J2EE and .Net are hot right now, but they will eventually be replaced by the platform du jour. It's not "if," it's when. The only real question is whether it will have already emerged by the time this article is published.





DevTalk


Additional Resources

POLL RESULTS
Accelerate your knowledge of the IT world you inhabit by viewing the results of a series of polls taken by your IT peers. These polls of 100+ IT professionals each are available for full viewing. They cover key topics such as virtualization, processor performance, green IT, cloud computing and many others. Be a part of the buzz.
WHITE PAPER
Technology is complex. Keeping it running productively shouldn't be. To that end, you want to minimize the number of solutions needed in-house to simplify operations, maintenance, and support. Kodak offers a best-practices model. One company provides support for both scanner and software, for fast problem resolution without vendor finger-pointing. Download now!
WHITE PAPER
Utilizing demand intelligence improves the precision of pricing, product assortments, channel/store placement, and promotion, which are all essential for sustainable revenue management performance. Learn more, download this free whitepaper today.

White Papers & Webcasts

The High Performance Workplace
In this paper we examine the challenges and define the critical steps CFOs, CIOs, COOs and CEOs, in midsized global companies, can take...  

How to Reduce Eclipse BIRT Development Effort for Data Visualizations
Web applications can come with a long list of visualization requirements for structured data. By delivering your output through the BIRT Interactive Viewer,...

Extend, Replace, or Convert; which is the best way forward for COBOL Applications?
There are a number of choices when looking at ways to take existing COBOL applications forward. This white paper discusses the most common...  

Usability Is Everything
Learn what sets Workday's HR and Payroll solutions apart from the competition....

Accelerate SSL Encrypted Applications
The amount of SSL traffic is growing in the enterprise. Because it is encrypted, it cannot be properly controlled and accelerated. Blue Coat...  

The Value of Real SaaS at Workday
Cost savings, speed to value, and innovation brought to the enterprise by Workday's software-as-a-service solutions for HR and Payroll....

ESG Lab Field Audit
Many companies have successfully implemented Riverbed WAN optimization solutions within their Cisco networks. This ESG Lab Field Audit document explores the success that...  

SaaS at Flextronics, Inc.
Dave Smoley, CIO of Flextronics, discusses the real value of software-as-a-service and why he chose Workday for his HR solution....

Shape Your Apps Strategy to Reflect New SaaS Licensing and Pricing Trends
Why are smart companies choosing software-as-a-service? Find out in the complimentary Forrester Research report...  

Why Compliance Pays
This OnDemand webcast explores the relationship that firms with best compliance records have higher revenue, greater customer retention, lower financial losses from data...