SlideShare una empresa de Scribd logo
1 de 32
J2EE vs .NET  Presentation by(  ):  Saloni Tyagi E-Mail: saloni_tyagi2007@yahoo.com
Agenda ,[object Object],[object Object],[object Object],[object Object]
Platform and Profile ,[object Object],[object Object],[object Object],[object Object],[object Object]
.NET framework ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
OPERATING SYSTEM HARDWARE COMMON LANGUAGE RUNTIME(CLR) .NET FRAMEWORK BASE CLASS LIBRARY WINDOWS FORMS ASP.NET CONSOLE ADO.NET .NET FRAMEWORK CLASS LIBRARY COMMON TYPE SYSTEM COMMON LANGUAGE SPECIFICATION C# VB.NET VISUAL C++ OTHERS.. WINDOWS  PRESENTATION (WPF) WINDOWS  COMMUNICATION (WCF) WINDOWS WORKFLOW (WWF) WINDOWS  CARDSPACE LINQ ASP.NET 3.5 ADO.NET ADDITIONAL ENHANCEMENTS.. . NET   3.0 . NET 3.5 Visual   Studio.NET .NET framework 2.0 and SP1
Layer-By-Layer Comparison
The Runtime System
Java Virtual Machine ,[object Object],[object Object],Java Compiler CLASS- Files Classloader/ Verifier JIT Native Code Interpreter Garbage  Collection, Security Manager‘ Multithreading, ...
.NET Runtime ,[object Object],[object Object],[object Object],C# VB.NET C++ Perl Compiler MSIL + Metadata Loader/ Verifier JIT Managed  Code Execution Garbage  Collection, Security, Multithreading, ...
Commonalities and Differences ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The Object Model
Object Model (Java) ,[object Object],[object Object],Types Primitive Types Reference Types Interfaces Arrays Classes
java.lang.Object ,[object Object],public class Object { public Object(); public boolean equals(Object obj); public final Class getClass(); public int hashCode(); public final void notify(); public final void notifyAll(); public String toString(); public final void wait() throws InterruptedException; public final void wait(long timeout) throws  InterruptedException; public final void wait(long timeout, int nanos)  throws InterruptedException; protected Object clone() throws CloneNotSupportedException; protected void finalize() throws Throwable; }
Object Model (.NET) ,[object Object],Types Value Types Reference Types System Value Types User Value Types Enumerations Interfaces Pointers Self-describing Types Arrays Classes Delegates Boxed Values User-Defined
System.Object ,[object Object],public class Object { public virtual int GetHashCode(); public virtual bool Equals(); public virtual String ToString(); public static bool Equals(object a, object b); public static bool ReferenceEquals(object a,  object b); public Type GetType(); protected object MemberWiseClone(); protected virtual Finalize()´; }
Important Base Classes No big conceptual differences here. Java.net: Sockets, URL, ... System.Net: Connection, HttpWebRequest, ... Communication java.util: Lists, Maps, Sets, Trees, Vectors System.Collections: ArrayList, BitArray, Maps, Queue, List, Stack Container SWING, AWT Windows.Forms Web.Forms GUI Java .NET
Multithreading in .NET and Java ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Deployment
Java JAR files ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Assemblies in .NET ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Menifest Resources metadata TYPE1 IL CODE TYPE2 IL CODE TYPE3 IL CODE
Commonalities and Differences ,[object Object],[object Object],[object Object],[object Object]
Database Access in Java ,[object Object],ODBC DB ODBC Driver JDBC/ ODBC Bridge Driver Manager Connection Statement Prepared Statement Callable Statement Resultset Application
Database Access in .NET ,[object Object],[object Object],Data Source DataSetCommand Command Connection DataReader DataSet Client Managed Provider
ADO.NET ,[object Object],[object Object],[object Object],[object Object],[object Object]
Commonalities and Differences ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Web
Java Server Pages and Servlets ,[object Object],[object Object],Web Server Client (1) get a.jsp (2) process JVM JSP Other Components Database (4) result (5) HTTP file Servlet (3) gen. Servlet Servlet Impl.
ASP.NET  (Server-Side Scripting) ,[object Object],IIS 5 Web Server Client (1) get a.apx (2) process .NET Engine .NET Assembly Other Assemblies Database (3) result (4) HTTP file
Login Example  JAVA LOGIN .NET LOGIN
.NET and/or Java ? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Questions? ,[object Object]
The End Thank you !!

Más contenido relacionado

La actualidad más candente

Entity Framework: Code First and Magic Unicorns
Entity Framework: Code First and Magic UnicornsEntity Framework: Code First and Magic Unicorns
Entity Framework: Code First and Magic Unicorns
Richie Rump
 
jpa-hibernate-presentation
jpa-hibernate-presentationjpa-hibernate-presentation
jpa-hibernate-presentation
John Slick
 
Java Persistence API (JPA) Step By Step
Java Persistence API (JPA) Step By StepJava Persistence API (JPA) Step By Step
Java Persistence API (JPA) Step By Step
Guo Albert
 

La actualidad más candente (20)

Introduction to JPA and Hibernate including examples
Introduction to JPA and Hibernate including examplesIntroduction to JPA and Hibernate including examples
Introduction to JPA and Hibernate including examples
 
Entity Framework Overview
Entity Framework OverviewEntity Framework Overview
Entity Framework Overview
 
Ef code first
Ef code firstEf code first
Ef code first
 
Entity Framework: Code First and Magic Unicorns
Entity Framework: Code First and Magic UnicornsEntity Framework: Code First and Magic Unicorns
Entity Framework: Code First and Magic Unicorns
 
Introduction to JPA (JPA version 2.0)
Introduction to JPA (JPA version 2.0)Introduction to JPA (JPA version 2.0)
Introduction to JPA (JPA version 2.0)
 
Java persistence api
Java persistence api Java persistence api
Java persistence api
 
jpa-hibernate-presentation
jpa-hibernate-presentationjpa-hibernate-presentation
jpa-hibernate-presentation
 
Java Persistence API (JPA) Step By Step
Java Persistence API (JPA) Step By StepJava Persistence API (JPA) Step By Step
Java Persistence API (JPA) Step By Step
 
EnScript Workshop
EnScript WorkshopEnScript Workshop
EnScript Workshop
 
JPA For Beginner's
JPA For Beginner'sJPA For Beginner's
JPA For Beginner's
 
Spring data jpa
Spring data jpaSpring data jpa
Spring data jpa
 
java drag and drop and data transfer
java drag and drop and data transferjava drag and drop and data transfer
java drag and drop and data transfer
 
Java Online Training
Java Online TrainingJava Online Training
Java Online Training
 
Entity framework 4.0
Entity framework 4.0Entity framework 4.0
Entity framework 4.0
 
JPA and Hibernate
JPA and HibernateJPA and Hibernate
JPA and Hibernate
 
Introduction to Hibernate
Introduction to HibernateIntroduction to Hibernate
Introduction to Hibernate
 
ORM Concepts and JPA 2.0 Specifications
ORM Concepts and JPA 2.0 SpecificationsORM Concepts and JPA 2.0 Specifications
ORM Concepts and JPA 2.0 Specifications
 
Jpa
JpaJpa
Jpa
 
Java Programming - 08 java threading
Java Programming - 08 java threadingJava Programming - 08 java threading
Java Programming - 08 java threading
 
Java persistence api 2.1
Java persistence api 2.1Java persistence api 2.1
Java persistence api 2.1
 

Similar a J2EEvs.NET

Java for Recruiters
Java for RecruitersJava for Recruiters
Java for Recruiters
ph7 -
 
Nakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - EnglishNakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - English
Svetlin Nakov
 
Manuel - SPR - Intro to Java Language_2016
Manuel - SPR - Intro to Java Language_2016Manuel - SPR - Intro to Java Language_2016
Manuel - SPR - Intro to Java Language_2016
Manuel Fomitescu
 
Fundamentals of oop lecture 2
Fundamentals of oop lecture 2Fundamentals of oop lecture 2
Fundamentals of oop lecture 2
miiro30
 

Similar a J2EEvs.NET (20)

.NET Vs J2EE
.NET Vs J2EE.NET Vs J2EE
.NET Vs J2EE
 
Introduction to Visual Studio.NET
Introduction to Visual Studio.NETIntroduction to Visual Studio.NET
Introduction to Visual Studio.NET
 
Java for Recruiters
Java for RecruitersJava for Recruiters
Java for Recruiters
 
J2 Ee Vs. .Net Workshop
J2 Ee Vs. .Net WorkshopJ2 Ee Vs. .Net Workshop
J2 Ee Vs. .Net Workshop
 
Java se7 features
Java se7 featuresJava se7 features
Java se7 features
 
Visual studio.net
Visual studio.netVisual studio.net
Visual studio.net
 
Nakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - EnglishNakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - English
 
Net Framework Overview
Net Framework OverviewNet Framework Overview
Net Framework Overview
 
ASP.NET 01 - Introduction
ASP.NET 01 - IntroductionASP.NET 01 - Introduction
ASP.NET 01 - Introduction
 
Manuel - SPR - Intro to Java Language_2016
Manuel - SPR - Intro to Java Language_2016Manuel - SPR - Intro to Java Language_2016
Manuel - SPR - Intro to Java Language_2016
 
Introductionto .netframework by Priyanka Pinglikar
Introductionto .netframework by Priyanka PinglikarIntroductionto .netframework by Priyanka Pinglikar
Introductionto .netframework by Priyanka Pinglikar
 
.Net Framework
.Net Framework.Net Framework
.Net Framework
 
Nakov dot net-framework-overview-english
Nakov dot net-framework-overview-englishNakov dot net-framework-overview-english
Nakov dot net-framework-overview-english
 
What's new in Java EE 6
What's new in Java EE 6What's new in Java EE 6
What's new in Java EE 6
 
basic_java.ppt
basic_java.pptbasic_java.ppt
basic_java.ppt
 
Microsoft.Net
Microsoft.NetMicrosoft.Net
Microsoft.Net
 
Fundamentals of oop lecture 2
Fundamentals of oop lecture 2Fundamentals of oop lecture 2
Fundamentals of oop lecture 2
 
Basic java part_ii
Basic java part_iiBasic java part_ii
Basic java part_ii
 
.NET Overview
.NET Overview.NET Overview
.NET Overview
 
.Net framework
.Net framework.Net framework
.Net framework
 

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

J2EEvs.NET

  • 1. J2EE vs .NET Presentation by(  ): Saloni Tyagi E-Mail: saloni_tyagi2007@yahoo.com
  • 2.
  • 3.
  • 4.
  • 5. OPERATING SYSTEM HARDWARE COMMON LANGUAGE RUNTIME(CLR) .NET FRAMEWORK BASE CLASS LIBRARY WINDOWS FORMS ASP.NET CONSOLE ADO.NET .NET FRAMEWORK CLASS LIBRARY COMMON TYPE SYSTEM COMMON LANGUAGE SPECIFICATION C# VB.NET VISUAL C++ OTHERS.. WINDOWS PRESENTATION (WPF) WINDOWS COMMUNICATION (WCF) WINDOWS WORKFLOW (WWF) WINDOWS CARDSPACE LINQ ASP.NET 3.5 ADO.NET ADDITIONAL ENHANCEMENTS.. . NET 3.0 . NET 3.5 Visual Studio.NET .NET framework 2.0 and SP1
  • 8.
  • 9.
  • 10.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16. Important Base Classes No big conceptual differences here. Java.net: Sockets, URL, ... System.Net: Connection, HttpWebRequest, ... Communication java.util: Lists, Maps, Sets, Trees, Vectors System.Collections: ArrayList, BitArray, Maps, Queue, List, Stack Container SWING, AWT Windows.Forms Web.Forms GUI Java .NET
  • 17.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26. Web
  • 27.
  • 28.
  • 29. Login Example JAVA LOGIN .NET LOGIN
  • 30.
  • 31.
  • 32. The End Thank you !!