Microsoft.Net vs. J2EE. J2EE – Enterprise Java  J2EE: Java 2 Enterprise Edition  Superset of Java 2 Standard Edition (J2SE)  Adds enterprise features.

Slides:



Advertisements
Similar presentations
J0 1 Marco Ronchetti - Basi di Dati Web e Distribuite – Laurea Specialistica in Informatica – Università di Trento.
Advertisements

Introduction to .NET Framework
Internet Engineering Course Web Application Architectures.
CSIS0402 System Architecture K.P. Chow University of Hong Kong.
Introduction to.NET Technology Marcello Benati Software Engineer.NET Architect.
An architecture for webb applications, J2EE
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
Henrico Dolfing Business Segment Partners. Océ Document Technologies GmbH2 June, NET Framework Version 3.0.
Introduction to Java 2 Enterprise Edition About myself –Neutrinos, Cancer Research, IT Applications Today’s topic: J2EE –Context –Advantages –Components.
Some of these slides were excerpted from: Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer.
Sapana Mehta (CS-6V81) Overview Of J2EE & JBoss Sapana Mehta.
ISYS 546 Client/Server Database Application Development.
BICS546 Client/Server Database Application Development.
J2EE vs..NET Tom Tong. Enterprise Application 1 distributed 2 multiple-platform 3 critical 4 performance 5 security 6 multiple-data sources.
J2EE vs..NET Nigam Patel. Topics Background –Web Services, J2EE and.NET Similarities Differences Conclusion –Pros and Con (J2EE and.NET)
J2EE Java 2 Enterprise Edition. Relevant Topics in The Java Tutorial Topic Web Page JDBC orial/jdbc
.net Microsofts ’ Platform for Web Services Naveed Arshad.
Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.
1 Java Server Pages Can web pages be created specially for each user? What part does Java play?
12-1 © Prentice Hall, 2004 Chapter 12: Design Elements Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
8 Server Side Scripting.
01 Introduction to Java Technology. 2 Contents History of Java What is Java? Java Platforms Java Virtual Machine (JVM) Java Development Kit (JDK) Benefits.
Web-based Software Development - An introduction.
Java Vs .Net Presented By, Naveen Kumar Ratkal.
Microsoft.Net vs. J2EE Suresh Ramachandran Duke Energy.
A Free sample background from © 2001 By Default!Slide 1.NET Overview BY: Pinkesh Desai.
ISYS 350 Business Application Development
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
1 Introduction to.NET Framework. 2.NETFramework Internet COM+ Orchestration Orchestration Windows.NET Enterprise ServersBuildingBlockServices Visual Studio.NET.
VS.NET Syllabus By Peter Huang.
ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the.
J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey.
Meir Botner David Ben-David. Project Goal Build a messenger that allows a customer to communicate with a service provider for a fee.
Introduction to.NET Framework. .NET – What Is It? Software platform Language neutral In other words:.NET is not a language (Runtime and a library for.
Microsoft.NET Vs Sun JAVA
Introduction to .NET Rui Ye.
Enterprise Java Beans CS-422. Application Servers In the late 1980s and though the mid 1990s a number of corporations (Broadvision, Netscape…) marketed.
Introduction to distributed systems Dr. S. Indran 23 January 2004.
第十四章 J2EE 入门 Introduction What is J2EE ?
Enterprise Java Beans Java for the Enterprise Server-based platform for Enterprise Applications Designed for “medium-to-large scale business, enterprise-wide.
CS795/895: Introduction. Topics Distributed Systems –Availability –Performance –Web Services Security –Authentication –Authorization –Confidentiality.
Component-Based Software Engineering Introduction to.NET Paul Krause.
Unit 7 Patterns and Frameworks. Key Concepts Design classes Components Design architectures EAD Patterns Packages Frameworks.
Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.
Introduction to VB.Net. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new and updated.
.Net – The First Glance What Is.Net, Why Use.Net.
By: PHANIDEEP NARRA. OVERVIEW Definition Motivation.NET and J2EE Architectures Interoperability Problems Interoperability Technologies Conclusion and.
ISYS 350 Business Application Development David Chao.
DotNet Vs. J2EE Mosaad Alomery CIS Mosaad Alomery - CIS 764 the internet platform –Services Electronic commerce Communications ( , news, chat,
Microsoft.NET Norman White Stern School of Business.
Module 1: Getting Started. Introduction to.NET and the.NET Framework Exploring Visual Studio.NET Creating a Windows Application Project Overview Use Visual.
Intro to dot Net Dr. John Abraham UTPA CSCI 3327.
Internet Engineering Course Web Application Architectures.
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
Microsoft .NET A platform that can be used for building and running windows and web applications such that the software is platform and device-independent.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
1 Distributed System using J2EE. 2 What is J2EE?  J2EE (Java2 Enterprise Edition) offers a suite of software specification to design, develop, assemble.
Chapter 12: Design Elements Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer.
Glink for Java: applet, application and an API for integrating access to Bull, IBM, UNIX and Minitel systems with your Java based e-business applications.
The Holmes Platform and Applications
Introducing the Microsoft® .NET Framework
Suresh Ramachandran Duke Energy
Web-based Software Development - An introduction
Topic 10: Design Elements
Introduction to J2EE Architecture
Module 0: Introduction Chapter 2: Getting Started
Module 1: Getting Started
Introduction to C# AKEEL AHMED.
دانشکده کامپیوتر دانشگاه صنعتی شریف
Distributed System Using Java 2 Enterprise Edition (J2EE)
Presentation transcript:

Microsoft.Net vs. J2EE

J2EE – Enterprise Java  J2EE: Java 2 Enterprise Edition  Superset of Java 2 Standard Edition (J2SE)  Adds enterprise features to Java Libraries  Defined through the Java Community Process (JCP)  Wholly owned property of Sun Microsystems

J2EE Solutions vs Microsoft.Net Solutions Similarities  Both multi-tiered, similar computing technologies  Both support “standards”  Both offer different tools & ways to achieve the same goal.  A lot of parallelism can be seen.  Very difficult to compare and qualify the comparison because each has its own advantages & disadvantages.

Microsoft.Net vs. J2EE Comparison Language  C# and Java both derive from C and C++.  MS says: “C# combines the power of VC++ with the ease of usage of VB”  Significant features include garbage collection, hierarchical namespaces) are present in both.  Different Syntax but same result.  Java runs on any platform with a Java VM. C# only runs in Windows for the foreseeable future.  C# is implicitly tied into the CLR and is compiled entirely into native code. Java code runs as Java Virtual Machine and executes byte code

Microsoft.Net vs. J2EE Comparison Java vs. C# // This is a comment in Java code class HelloWorld{ public static void main(String[] args){ for(int i= 1; i<= 100; i++) System.out.println("Hello!"); } } // This is a comment in C# using System; class HelloWorld{ static void Main(){ for(int i=1; i<=100; i++) Console.WriteLine("Hello"); } } }

Microsoft.Net vs. J2EE Comparison Presentation Layer ASP(+) vs. JSP ASP(+) can use Visual Basic, C#, and possibly other languages for code snippets. JSPs use Java code (snippets, or JavaBean references), compiled into Java Win Forms/Web Forms Vs Swing/Java Server Faces

Microsoft.Net vs. J2EE - A technical Comparison Common Elements Concepts J2EE.NET Presentation JSP/Servlets ASP.NET Business Logic EJB/Servlets Code Behind, Remoted Classes Language Java C#, VB.NET Platform Any Windows DB Connectivity JDBC ADO.NET (OLE-DB, ODBC) Web Services JWSDP Web Services MessagingJMSMTS Runtime JRE CLR Transaction JTA/JTS, XA Com+, DTC Distributed computing RMI, CORBA, SOAP SOAP, DCOM XML Parser JAXP, Others Built-in (System.XML)

CriteriaJ2EE.NETComments Ease Of Use (Development Environment)******VB.net and C# are easier to use than J2EE Scalability*****Execute Java Code on Mainframe Single Language Multiple Platforms*****Java Can run on many platforms through the JVM Multiple Languages Single Platform*****VB,C#,J# all run in the same run-time environment Reliability******VB/Com developmen in 1993 Performance*** Equal Performance Speed of development****VB code easiar to learn Reuse****** Deploy saame code on multiple platforms and multiple projects Open Standards******Java, JVM are open standards Overall56%51% Microsoft.Net vs. J2EE Scorecard

A typical.NET Enterprise Solution SQL Server IIS on W2k Server.NET managed component ASP.NET Windows Client Browser

A typical J2EE Enterprise Solution DB Server Java App Server EJB Servlet JSP Java Client Browser

CLR Platform Other Server SOAP System.Directory RDBMS ADO.NET Message queue SOAP Client HTTP Client Other Resource ??? Comp. Services Component ASMX ASPX ASP.NET Controls.NET App CLR Host Component CLR Host IIS – HTTP Engine J2EE Server CORBA Server IIOP LDAP RDBMS SQL Message Queue JMS EJB Container RMI Client EJB Container IIOP Client JSPServlet Servlet Container HTTP Client Other Resource ??? HTTP Engine JDBC

Java Pet Store Lines of Code Required User Interface 4,410 Data Tier Middle Tier 2,865.NET Petshop 14,273 5,891 Configuration Total Lines of Code 710 5, ,566 Porting Java Pet Store (Example) to.NET

Microsoft.Net vs. J2EE Comparison CLR vs JVM C# Managed C/C++ Lots of other Languages VB.Net CLR CTS GC Security Runtime Services MSIL Windows OS Java JRE (JVM) GC Security Runtime Services Byte Codes MacUnixLinux Win Both are ‘middle layers’ between an intermediate language & the underlying OS

Microsoft.Net vs. J2EE Comparison JVM vs. CLR at a glance JVMCLR Managed execution environmentXX Garbage CollectionXX Metadata and BytecodeXX Platform-abstraction class libraryXX Runtime-level securityXX Runs across hardware platformsX?

Microsoft.Net vs. J2EE Comparison  In J2EE, not in.Net  Entity Beans  Utility APIs like logging, preferences  Public profiling APIs like JVMPI, JPDA  In.Net, not in J2EE  Server side control  Serialization to XML  Compilation to native code

. Net Disadvantages  Security .NET better than prior frameworks (DNA, DCOM, ActiveX, etc.), but still based on Windows  Immaturity  Version 1.0 issues, likely to change in future  Language changes for developers new to.NET  Application migration to.NET costly  Not enough real world use yet to evaluate  Vendor lock-in  Future direction determined by Microsoft.

Choosing between Java/J2EE and.Net  The ultimate choice usually depends not on technical superiority, but on:  Cultural/”religious”/political preferences  Customer preference  Vendor relations  Cost  Platform Dependency  Skill set of your developers

Questions