18
J2EE / .NET Liz Farricker Whitney Mayoras Patrick Bailey

J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey

Embed Size (px)

Citation preview

Page 1: J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey

J2EE / .NET

Liz Farricker

Whitney Mayoras

Patrick Bailey

Page 2: J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey

Overview

J2EE Background What is J2EE? Platform

.NET Background Background Framework

Comparison Future Outlook

Page 3: J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey

J2EE: Background

Developed by Sun Microsystems in 1994 Created JAVA language which was open source Made JAVA application models, including

development tools, to increase appeal for their software

IBM bundled all open source JAVA applications Sold as JAVA 2 Enterprise Edition

Strategic mistake for Sun IBM gets most profits for Sun’s work

Page 4: J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey

What is J2EE? A programming platform Used primarily for development and running distributed

multi-tier applications

Page 5: J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey

J2EE Platform

Set of standards for a single JAVA 2 platform that hosts J2EE applications

Application components contribute to J2EE applications Application clients, applets, web components, Enterprise

JavaBeans (EJBs) Uses containers to provide runtime support to application

components Resource adapters provide a link between a container

and an underlying EIS Accessible database Variety of standard services that application components

use to communicate HTTP, HTTPS, Java Message Service, Security

Services, Web Services, Management, etc.

Page 6: J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey

J2EE Architecture

Page 7: J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey

.NET: Background

Microsoft reacted to J2EE with an internet ready Windows platform Modified open source JAVA to become J# Modified their C++ to become C# Used their existing Visual Basic

Bundled all languages and programs together into a strong competitor for J2EE

Microsoft’s new strategy for keeping Windows the dominant OS in the market

Page 8: J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey

.NET Framework

Programming environment for building, deploying, and running web services and applications

Contains common class libraries ADO.NET

ADO (Active Data Objects): data access components that use XML and SOAP for data interchange

ASP.NET ASP (Active Server Page): create Web Forms and Web

Controls that the CLR can render into HTML; also where you build Web Services

Language neutral Supports C++, C#, Visual Basic, JScript (The Microsoft

version of JavaScript), J#, and COBOL Third-party languages - Eiffel, Perl, Python, Smalltalk,

and others

Page 9: J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey

Common Language Infrastructure

Enables code written in multiple languages to be deployed in machine-readable code as if written in one

Page 10: J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey

.NET Architecture

Page 11: J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey

Similarities

Bring Object Oriented (OO) approach to enterprise computing

Virtual machine architecture for real time code interpretation Java Virtual Machine, Control Language

Runtime Implement a multi-tiered approach

Page 12: J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey

Stack Function .NET J2EE

Relational Database Access ADO.NET JDBC

Web Client ASP.NET Java Server Pages (JSP) and Servlets

Standalone Client Windows Forms AWT/Swing

Distributed Components .NET Remoting RMI/IDL

XML System.Xml and .NET in general is built around XML.

JAX Pack (JAXM, JAXR, JAXB, JAXP)

Messaging Microsoft Message Queuing (MSMQ) Java Messaging Service (JMS)

Web Services Support Built directly into .NET and Visual Studio Java Web Services Developer Pack (JWSDP) as well as vendor specific tools.

Enterprise Components/Transactions COM+ Enterprise Java Beans (EJB)

Integration Host Integration Server, BizTalk Server J2EE Connector Architecture

Component Registration Active Directory Java Naming and Directory Interface JNDI

Application Similarities

Page 13: J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey

Differences

Neutral Vendor/Portability Framework Support and Productivity Tools

.NET has eCommerce framework .NET has large number of system libraries J2EE cannot compare

Page 14: J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey

Differences Programming Language Software licensing cost

J2EE is more expensive to organize than .NET

Page 15: J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey

How to Choose?

Importance of multi-vendor support? How many platforms do you want to

support? How many programming languages do

you want to use? Willing to replace/retrain your staff? What assets does your company already

possess? Return on Investment?

Page 16: J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey

Market Shares

In 2003, 75% of application development projects were based on .NET and J2EE

Neither dominate the market

Both platforms currently hold roughly equal market shares

Page 17: J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey

Future Outlook

.NET Microsoft released a non-commercial

version of the CLR that runs on other OS Ximian is working on a version for Linux

J2EE Moving towards the exploding market of

mobile phones and handheld computers

Page 18: J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey

References

http://elearning4guruscom.ntitemp.com/ http://www.informit.com/guides/ http://www.itwriting.com/dotnet6.php http://www.computerworld.com/ http://www.dnjonline.com/ http://java.sun.com/webservices/ http://java.sun.com/j2ee/faq.html