Upload
iris-lewis
View
215
Download
1
Embed Size (px)
Citation preview
J2EE / .NET
Liz Farricker
Whitney Mayoras
Patrick Bailey
Overview
J2EE Background What is J2EE? Platform
.NET Background Background Framework
Comparison Future Outlook
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
What is J2EE? A programming platform Used primarily for development and running distributed
multi-tier applications
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.
J2EE Architecture
.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
.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
Common Language Infrastructure
Enables code written in multiple languages to be deployed in machine-readable code as if written in one
.NET Architecture
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
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
Differences
Neutral Vendor/Portability Framework Support and Productivity Tools
.NET has eCommerce framework .NET has large number of system libraries J2EE cannot compare
Differences Programming Language Software licensing cost
J2EE is more expensive to organize than .NET
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?
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
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
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