Java – Vs -dotnet

  • Uploaded by: Vivek Kushwaha
  • 0
  • 0
  • April 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Java – Vs -dotnet as PDF for free.

More details

  • Words: 489
  • Pages: 29
.NET SoftPro India Computer Technologies Pvt. Ltd

1967

BCPL

B

Martin Richards

Ken Thompson

Dennis Ritchie

1972

C

1983

C++

Bjjrane Stroustrup

1987

ANSI C

ANSI Committee

1991

OAK

James Gosling

1995

JAVA

Sun Microsystems

1996

ANSIC+ +

2000

C#

ANSI Committee

Microsoft

1970

Source Code

Compilation

Machine Code (100110101

The Problem Source Code

Compiled on Intel

Intel Execute

(100110101)

Fails Machine Code (100110101 )

Motorola (110100111)

James Gosling

Execute Execute

Execute

Program

Execute

Solution Source Code

Fails

Intel (100110101)

Compiler

Fails Intermediate Code (XXXXXXXX X)

Motorola (110100111)

Intel

Execute

Source Code Intermediate Code (XXXXXXXXX )

(100110101)

Specific Agent

Runtime Compilation

Compiled Intermediate Code (XXXXXXXXX )

Specific Agent Execute

Motorola (110100111)

Intel

Execute

Source Code Intermediate Code (XXXXXXXXX )

(100110101)

JVM

Runtime Interpreter

Java Compiler Intermediate Code (XXXXXXXXX )

JVM Execute

Motorola (110100111)

.NET History In July 2000, Microsoft announced a whole new software development framework for Windows called .NET in the Professional Developer Conference (PDC). Finally, in March 2002 Microsoft released final version of the .NET framework.

Source Code

Language Specific Compiler

Intel

Execute MSIL (XXXXXX XXX)

(100110101)

CLR

Runtime Compilation MSIL (XXXXXXXXX )

CLR Execute

Motorola (110100111)

What type of applications can I develop? 1. 2. 3. 4. 5. 6. 7. 8.

ASP.NET Web applications. Windows Form based applications. Console applications. Component Libraries. Windows Custom Controls. Web Custom Controls. Web services. Windows Services.

Features of .NET • • • • • • • • • •

Rich Class libraries. Easy development of web applications. OOPs Support. Multi-Language Support. Multi-Device Support. Automatic memory management. Compatibility with COM and COM+. No more DLL Hell. Strong XML support. Security.

.

NET Platform Architecture

VB.N ET

C++

Web Forms

…… …

Visual Studio

Web Services

C#

Windows Form

ADO.NET (Data & XML) Base Class Libraries

Operating System (Windows)

Similarities: Java & .NET • • • • • • •

Platform independence . Compile once run any where. Runtime required. Focuses Object oriented programming. Open source and free to use. Intermediate code generation. Runtime compilation.

Differences: Java & .NET • Java the only language, where as .NET languages. • Java is available for all OS, .NET only for Windows. • Introduced concept of web services. • Cross language integration.

Comparing the stacks P&P blocks

Phoenix, Tiles, Java Faces

Struts ASP.Net

JSP Servlets

Visual Studio.net

C# C++ VB

Extensions:

ADO.NET

JDBC

Base Class Library

J2EE Class Library

CLR

Java runtime

Win32

J2EE App Servers Websphere, Weblogic, Tomcat, etc.

MSMQ, COM+, IIS, WMI, Indexing, UDDI, etc.

JMS

Apache

Win32, Unix, Linux

Eclipse Webshpere Studio BEA Weblogic

Perl Python …

Third party extensions

Java



Enterprise solutions

ADO.NET ARCHITECTURE

Providers for ADO.NET OleDb – The generic provider to connect the any database. SqlClient – Optimized for Microsoft Sql Server

Connection String Provider (e.g. MS Access, MS Sql Server, Oracle and Mysql etc. ) Data Source (e.g. Machine Name and Server Name). Authentication Information (e.g. User ID and Password). Database Name (e.g. Abc etc).

Thank You!!

Related Documents

Dotnet
November 2019 30
Dotnet
November 2019 23
Dotnet
November 2019 31
Dotnet
October 2019 29
Dotnet
November 2019 35
Java Vs C Sharp
May 2020 16

More Documents from "vaibhavkanwal"

April 2020 26
Security In Web Scenario
April 2020 24
Nttf.pdf
December 2019 41