Java - VS - DotNET
Java - VS - DotNET
NET
SoftPro India Computer Technologies
Pvt. Ltd
1967
BCPL B 1970
Dennis Ritchie
1972 C
Bjjrane Stroustrup
1983 C++
ANSI
1987 ANSI Committee
C
James Gosling
1991 OAK
Sun Microsystems
1995 JAVA
Microsoft
2000 C#
Source Code
Compilation
Machine
Code
(100110101
The Problem
Intel
Source Code (100110101)
Execute
Compiled on Fails
Intel
Machine
Code
(100110101 Motorola
)
(110100111)
James Gosling
Execute
Execute
Program
Execute
Execute
Solution
Intel
Source Code Fails (100110101)
Compiler
Fails
Intermediate
Code
(XXXXXXXX Motorola
X)
(110100111)
Intel
Source Code Execute (100110101)
Intermediate
Code Specific
(XXXXXXXXX Agent
)
Runtime
Compilation
Compiled
Intermediate
Code Specific
(XXXXXXXXX Agent
)
Execute
Motorola
(110100111)
Intel
Source Code Execute (100110101)
Intermediate
Code
JVM
(XXXXXXXXX
)
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).
Runtime
Compilation
Language
MSIL
Specific
(XXXXXXXXX
Compiler ) CLR
Execute
Motorola
(110100111)
What type of applications can I develop?
1. ASP.NET Web applications.
2. Windows Form based applications.
3. Console applications.
4. Component Libraries.
5. Windows Custom Controls.
6. Web Custom Controls.
7. Web services.
8. 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 C# C++ ……
ET …
Studio
Visual
Web Web Windows
Services Forms Form
ADO.NET (Data & XML)
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
Java
Enterprise solutions
JMS Apache
WMI, Indexing,
UDDI, etc. Win32, Unix, Linux
ADO.NET ARCHITECTURE
Providers for ADO.NET
OleDb – The generic provider to connect the any
database.
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!!