A team of 2 developers rebuilt the “Sun Microsystems' Java Pet Store J2EE Blue Print Application” using .Net in 4 weeks with 25% of the code. When tested in a lab, the .Net application ran %1000 faster than a tuned version of the Java application.
The same Pet Store application was rebuilt by both Microsoft and Sun for an independent competition sponsored by The Middleware Company.
Below is a comparison of the results:
.Net 1.1 | J2EE | |
Lines of Code | 2,096 | 14,004 |
Time required for tuning and optimization prior to performance test | 2 man-weeks | 10 man-weeks |
Price/Performance Ratio – the cost per server divided by the maximum transactions per second the server could handle | $316 – in other words, for a Java application to handle the same amount of website traffic as a .Net application, an additional $989 would need to be spent on server hardware. | $1,305 |
Maximum Pages served per Second | 1,400 | 600 |
Maximum Number of Concurrent Users | 6,000 | 4,000 |
Maximum Number of Transactions per Second | 117 | 59 |
In general, .Net brings the power of an enterprise application into the cost range f a small and medium sized business by reducing the lines of code required. This reduction in code results in decreased development time, expensive development staff, maintenance and overall cost, while delivering superior website performance.
Feature | .Net | Java | Cold Fusion MX | PHP |
Compiled Code – Increases website speed (precompiled is the fastest) | Yes – both pre- compiled and dynamically compiled when a page is requested | Yes – both pre- compiled and dyn- amically compiled when a page is requested | Yes – dyn- amically compiled when a page is requested | No – a 3rd party accelerator can be used to increase performance but it is not installed on most shared hosting servers. |
Scripted Language – results in poor website performance | No | No | Somewhat | Yes – a 3rd party accelerator can be used to increase performance but it is not installed on most shared hosting servers. |
Object Oriented – Increases the ability for code reuse and provides enhanced features as well as reduced development time; since code is more reusable, results in fewer bugs that can be discovered by any client and fixed for everyone; encourages developers to write more maintainable code. | Yes | Yes | Somewhat | No |
Supported Development Languages – easier to find developers | C++, C#, Visual Basic.NET, Jscript.NET, Python, Perl, Java (J#), COBOL, Eiffel, Delphi – 25 languages supported currently | Java | CFML and CF Script | PHP |
Browser Specific HTML Rendering – different HTML is automatically sent to IE than to Netscape, reducing incompatibility issues | Yes | No | No | No |
Open Source | No | Yes | Somewhat | Yes |
Reference from Wikipedia:
Comparison of web application frameworks
No comments:
Post a Comment