J2EE vs. Microsoft.Net (4)

zhaozj2021-02-08  214

Iv. Microsoft's .NET Platform

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

Microsoft.NET8 is product suite that enables organizations to build smart, enterprise-class web services Note the important difference:. .NET is a product strategy, whereas J2EE is a standard to which products are written.

Microsoft.NET is largely a rewrite of Windows DNA, which was Microsoft's previous platform for developing enterprise applications. Windows DNA includes many proven technologies that are in production today, including Microsoft Transaction Server (MTS) and COM , Microsoft Message Queue (MSMQ), And the Microsoft SQL Server Database. The New .NET Framework Replace The New .NET Framework Replace The New .NET Framework Replaces.

The Developer Model for Building Web Services with Microsoft.net is shown in Figure 4.

Figure 4 developing Web Services with microsoft.net

Briefly, Figure 4 is Explained As Follows:

The .NET Application IS Hosted Wtem of Service Necessary for Enterprise Applications, Such As Transactions, Security, And Messaging Services.

The business layer of the .NET application is built using .NET managed components. This layer performs business processing and data logic. It connects to databases using Active Data Objects (ADO.NET) and existing systems using services provided by Microsoft Host Integration Server 2000 Such as The COM Transaction Integrator (COM TI). IT CAN Also Connect To Business Partners Using Web Services Technologies (SOAP, UDDI, WSDL).

Business Partners CAN Connect With the .NET Application Through Web Services Technologies (SOAP, UDDI, WSDL, BizTalk).

Traditional 'thick' clients, web browsers, wireless devices connect to Active Server Pages (ASP.NET) which render user interfaces in HTML, XHTML, or WML. Heavyweight user interfaces are built using Windows Forms.The .NET Framework

Microsoft.NET offers language-independence and language-interoperability. This is one of the most intriguing and fundamental aspects of the .NET platform. A single .NET component can be written, for example, partially in VB.NET, the .NET version Of Visual Basic, And C #, Microsoft's New Object-Oriented Programming Language.

How does this work? First, source code is translated into Microsoft Intermediate Language, sometimes abbreviated MSIL, sometimes IL. This IL code is language-neutral, and is analogous to Java bytecode.

The IL code then needs to be interpreted and translated into a native executable. The .NET Framework includes the Common Language Runtime (CLR), analogous to the Java Runtime Environment (JRE), which achieves this goal. The CLR is Microsoft's intermediary between. Net Developers' Source Code and all .Net Code Ultimately Runs With CLR.

This CLR provides many exciting features not available in earlier versions of Windows DNA, such as automatic garbage collection, exception handling, cross-language inheritance, debugging, and "side-by-side" execution of different versions of the same .NET component.

.NET Servers

The .NET Platform Includes The Following .NET Enterprise Servers. Many of Tsese Repackagings of Existing Products Under A Common Marketing Term:

SQL Server 2000 IS Microsoft's RELATIONAL DATABASE.

Exchange 2000 Server is a messaging and collaboration platform useful in developing and running core business services and is now tightly integrated with Windows 2000.Commerce Server 2000 offers you quicker and less complicated development and deployment of customizable online e-commerce solutions.

Application Center Server 2000. Application Center Server 2000 Lets You Management Clustered Servers.

Host Integration Server 2000. Host Integration Server 2000 Gives You Access To SELECTED Legacy Systems Running On Other Platforms (Primarily IBM-BASED).

Internet Security and Acceleration (ISA) Server 2000 Offers FireWall and Web Capabilities.

BizTalk Server 2000 IS Microsoft's XML-Based Collaborative E-Business Solution for Integrating Applications, Trading Partners and Business Processes Via the Internet.

Other .NET Products and Services

A new version of Visual Studio, another of Microsoft's flagship products, has been released as Visual Studio.NET, an integrated development environment for the .NET platform. All languages ​​supported by Visual Studio prior to the release of .NET (except for Java) Are Still Supported by Visual Studio.

Visual Studio.NET Also Provides Support for Microsoft's New C # Language Which is Semantically Equivalent To Java, with Just A Few Minor SyntActical Differences.

Hailstorm9 is Microsoft's portfolio of building block web services. Microsoft and possibly Microsoft partners will host the Hailstorm web services. Some Hailstorm web services will be available on a subscription basis, and others will be free. For example, Microsoft's Passport service is now freely available as a web service-oriented universal identification mechanism.

Web services such as Microsoft's Passport offer a shared context in that many other web services can depend upon Passport for identity and security credentials. User's need not have their contextual information spread across and possibly duplicated across multiple web sites. "Islands" of information can now be located in a single repository and then shared by user-centric web services regardless of the invoking client device.Privacy of information is focal point in Hailstorm web servicing. in fact, users of Hailstorm web services are empowered to manage the availability of their personal Information Through "Affirmative Consent".

Understanding J2EE and .NET by Analogy

To help you understand Both Models, we're on the Difference in a..

Feature | J2EE | .NET

============================================ ====== ===================

TYPE OF TECHNOLOGY | Standard | Product

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

Middleware Vendors | 30 | Microsoft

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

Interpreter | JRE | CLR

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

Dynamic Web Pages | JSP | ASP.NET ------------------------------------------ - -------------------------

Middle-tier components | ejb | .NET Managed Components

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

Database Access | JDBC SQL / J | ADO.NET

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

SOAP, WSDL, UDDI | YES | YES

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

Implicit Middleware | YES | YES | YES

(Load-Balancing, ETC) | |

Table 1 Analogies Between J2EE and .NET

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

New Post(0)