J2EE vs. Microsoft.net (7)

zhaozj2021-02-08  208

Performance

A platform performs if it yields an acceptable response time under a specified user load. The definition of what is 'acceptable' changes for each business problem. To achieve acceptable performance, it is important that the underlying web services infrastructure empowers you to build high- Performing systems.

The primary bottleneck when building web services is usually integration with back-end database systems. The reason for this is that most enterprise applications are data-driven systems with much more data logic than business logic. Given that the database is usually the bottleneck, any Possible Tactics for Reducing Database Load Will Result in A Significant Wins.

J2EE Reduces Database Traffic THROUGH TWO TACTICS:

Stateful Business Processes Allow You To Maintain Business Process State In Memory, Rather Than Writing That State Out To The Database on Each Request.

LONG-TERM CACHING (Province) Allow for Database Data To Be Cached for Long Periods of Time, Rather Than Re-Reading Database Data Upon Each Request.

It should be noted that both maintaining business state in-memory and caching must be used with caution, and may result in problems if developers are not properly trained on when to (and when not to) use these features. This is a fundamental difference between the J2EE and .NET approaches to building web services:. J2EE's advantage is that it gives programmers more control over lower-level services such as state management and caching Well-educated developers can tap into these features to improve the quality of their deployment But. it is of vital importance that developers are properly educated on when to make these tradeoff decisions, or error may be introduced into systems.By way of comparison, Microsoft.NET does not offer these tactics for improving performance. There are no opportunities for performance wins , But at the Same Time, There Are No Opportunities For Developers To Introducture Errors Into Systems.

When trying to choose between whether these features are important for your organization, consider the quality of your developers. If they are well-educated and do not require much hand-holding, then they will likely find the flexibility and performance gains from a J2EE system As Valuable. If Your Developers Require More Hand-Holding, Then The Microsoft Approach Is Clearly Superior.

SCALABILITY

Scalability is Essential When Growing a Web Services Deployment over Time, Because ONE CAN NEVER Predict User Traffic.

A platform is scalable if an increase in hardware resources results in a corresponding linear increase in supported user load while maintaining the same response time. By this definition, the underlying hardware (Win32, UNIX, or Mainframe) is irrelevant when it comes to scalability, because both J2EE and .NET allow one to add additional machines to increase user load while maintaining the same response time. The major implementations based on J2EE architecture, as well as .NET, provide load-balancing technology that enable a cluster of machines to collaborate and service user load that scales over time.The significant difference between J2EE and .NET scalability is that since .NET supports Win32 only, a greater number of machines are needed than a comparable J2EE deployment due to processor limitations. This multitude of machines may be Difficult for Organizations to maintain.

Vi. Contlusions

-------------------------------------------------- ------------------------------

The J2EE verses .NET battle will be the soap opera of the decade for geeks to watch. But there are promises and realities about both platforms. For example, J2EE is a rather brilliant move on the vendors' part, but should not be seen as an altruistic initiative. All vendors that participate in J2EE are after financial gains, as well as an effective weapon against Microsoft. J2EE enables these vendors to collaborate together and stand ground. Many of these vendors have undergone recent mergers and acquisitions themselves, and so organizations Must EXERCISE Good Judgment When Choosing Such a Platform.

As far as Microsoft.NET, that is far from an altruistic initiative. It is a monopolistic initiative dressed in altruism. Microsoft has been claiming that .NET is about open and interoperable web services, when in reality Microsoft is already making their web services closed and proprietary. Microsoft will likely increase the costs of their solutions if a monopoly can be achieved, and innovation will be slowed down significantly.So what's a company like yours to do? Both platforms are useful, and both can lead you to the same destination . Which platform is right for you? When deciding, we recommend you concentrate on the larger business issues. Think about your existing developer skillsets, your existing systems, your existing vendor relationships, and your customers. Those almost always drive the decision, not the Minor features.

Arguments Supporting Both Platforms

Regardless of Which Platform You Pick, New Developers Will Need To Be Trained for J2EE, OO Training For .NET)

You can build Web Services Today Using Both Platforms

Both Platforms Offer a Low System Cost, Such As Jboss / Linux / Cobalt For J2EE, or Windows / Win32 Hardware for .NET.

Both Platforms Offer a Single-Vendor Solution.

The Scalability of Both Solutions Are Theoretically Unlimited.

Arguments for .Net and And J2EE

.NET HAS Microsoft's A-Team Marketing IT

.NET Released Their Web Services Story Before J2EE DID, AND THUS HAS SOME MIND-Share

.NET HAS A Better Story for Shared Context Today Than J2ee

.NET HAS An Awesome Tool Story with Visual Studio.net

.NET HAS A SIMPLER Programming Model, Enabling Rank-and-File Developers To Be Productive With Shooting Themselves in the foot

.NET gives you language neutrality when developing new eBusiness applications, whereas J2EE makes you treat other languages ​​as separate applications.NET benefits from being strongly interweaved with the underlying operating system

Arguments for J2EE and AGAINST .NET

J2EE IS Being Marketed by an entire industry

J2EE IS A Proven Platform, with a few new web services apis. .NET IS A REWRITE AND INTRoduces Risk As with any first-recognization technology

ONLY J2EE Lets you Deploy Web Services Today

Existing J2EE Code Will Translate INTO A J2EE Web Services System without Major Rewrites. NOT TRUE for Windows Dna Code Ported To .net.

.NET Web Services Are Not Interoperable with Current Industry Standards. Their BizTalk Framework Has ProPrietary SOAP EXTENSION AND DOES Not Support Ebxml.

J2EE IS A More Advanced Programming Model, Appropriate for Wright To Build More AdvanceD Object Models and Take Advantage of Performance Features

J2EE Lets you take advantage of existing hardware you may have

J2EE GIVES You Platform NeutRality, Including Windows. You Also Get (But Not Free) Portability. This isolates You from Heterogeneous Deployment Environments.

J2EE HAS A Better Legacy Integration Story Through The Java Connector Architecture (JCA)

J2EE Lets You Use any Operating System You Prefer, Such As Windows, UNIX, or MainFrame. Developers CAN Use The Environment They Are Most Productive In.

J2EE lets you use Java, which is better than C # due to market-share and maturity. According to Gartner, there are 2.5 million Java developers. IDC predicts this will grow to 4 million by 2003. 78% universities teach Java, and 50% Of Universities Require Java.

We would not want to use any language other than C # or Java for development of new mission-critical solutions, such as a hacked object-oriented version of C, VB, or COBOL.We are finding most ISVs and consulting companies going with J2EE because ........................ ..

In conclusion, while both platforms will have their own market-share, we feel most customers will reap greater wins with J2EE. We feel the advantages outweigh those offered by Microsoft.NET. That is our preferred architecture, and we stand behind it.

转载请注明原文地址:https://www.9cbs.com/read-2983.html

New Post(0)