JIT - Dipartimento di Sistemi e Informatica

JIT - Dipartimento di Sistemi e Informatica JIT - Dipartimento di Sistemi e Informatica

01.06.2013 Views

Dipartimento di Sistemi e Informatica, University of Florence Sistemi Distribuiti, Prof. Paolo Nesi Indipendenza dalla piattaforma .NET è un’implementazione un implementazione di CLI ♣ Common Language Infrastructure CLI è uno standard ECMA ♣ ECMA-334, ECMA 334, ECMA-335 ECMA 335 Esistono già gi altre implementazioni di CLI: ♣ SSCLI (Microsoft, per Windows, FreeBSD e Macintosh) ♣ Mono (per Linux) Linux ♣ DotGNU ♣ Intel OCL (Open CLI Library) ♣ … Sistemi Distribuiti, Univ. Firenze, Paolo Nesi 2005-2006 47 Comparison Java ♣One One language ♣Multiple Multiple platforms .NET ♣Multiple Multiple languages ♣Multiple Multiple platforms Windows Windows FreeBSD FreeBSD (Rotor) Linux, Linux, GNU (in progress) Mono Mono Project (Ximian ( Ximian) Sistemi Distribuiti, Univ. Firenze, Paolo Nesi 2005-2006 48 24

Dipartimento di Sistemi e Informatica, University of Florence Sistemi Distribuiti, Prof. Paolo Nesi Comparison between J2EE and .NET Architectures Sistemi Distribuiti, Univ. Firenze, Paolo Nesi 2005-2006 49 J2EE and .NET Execution Engine J2EE Java source code compiles into machine- independent byte code Runtime Environment : JVM .NET Any compliant language compiles into MSIL Runtime environment : CLR Both JVM and CLR ,support services, such as code verification, memory management via via garbage garbage collection, and code security Sistemi Distribuiti, Univ. Firenze, Paolo Nesi 2005-2006 50 25

<strong>Dipartimento</strong> <strong>di</strong> <strong>Sistemi</strong> e <strong>Informatica</strong>, University of Florence<br />

<strong>Sistemi</strong> Distribuiti, Prof. Paolo Nesi<br />

Comparison between J2EE and .NET Architectures<br />

<strong>Sistemi</strong> Distribuiti, Univ. Firenze, Paolo Nesi 2005-2006 49<br />

J2EE and .NET<br />

Execution Engine<br />

J2EE<br />

Java source code compiles into machine-<br />

independent byte code<br />

Runtime Environment : JVM<br />

.NET<br />

Any compliant language compiles into MSIL<br />

Runtime environment : CLR<br />

Both JVM and CLR ,support services, such as code<br />

verification, memory management via via garbage garbage<br />

collection, and code security<br />

<strong>Sistemi</strong> Distribuiti, Univ. Firenze, Paolo Nesi 2005-2006 50<br />

25

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!