8/8/2019 J2EE Dotnet http://slidepdf.com/reader/full/j2ee-dotnet 1/15 J2EE vs .NET The Java 2 Platform, Enterprise Edition (J2EE) defines the standard for developing mult-itier enterprise applications. J2EE simplifies enterprise applications by basing them on standardized, modular components, by providing a complete set of services to those components, and by handling many details of application behavior automatically, without complex programming. http://java.sun.com/j2ee/overview.html The Microsoft .NET Framework is a platform for building, deploying, and running Web Services and applications. It provides a highly productive, standards-based, multi- language environment for integrating existing investments with next- generation applications and services as well as the agility to solve the challenges of deployment and operation of Internet-scale applications. The .NET Framework consists of three main parts: the common language runtime, a hierarchical set of unified class libraries, and a componentized version of Active Server Pages called ASP.NET. http://msdn.microsoft.com/netframework/
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
8/8/2019 J2EE Dotnet
http://slidepdf.com/reader/full/j2ee-dotnet 1/15
J2EE vs .NET
The Java 2 Platform, EnterpriseEdition (J2EE) defines the standard fordeveloping mult-itier enterpriseapplications. J2EE simplifies enterprise
applications by basing them onstandardized, modular components,by providing a complete set of services to those components, and byhandling many details of applicationbehavior automatically, without complex programming.
http://java.sun.com/j2ee/overview.html
The Microsoft .NET Framework is aplatform for building, deploying, andrunning Web Services andapplications. It provides a highly
productive, standards-based, multi-language environment for integratingexisting investments with next-generation applications and servicesas well as the agility to solve thechallenges of deployment andoperation of Internet-scale
applications. The .NET Frameworkconsists of three main parts: thecommon language runtime, ahierarchical set of unified classlibraries, and a componentized versionof Active Server Pages called ASP.NET.
http://msdn.microsoft.com/netframework/
8/8/2019 J2EE Dotnet
http://slidepdf.com/reader/full/j2ee-dotnet 2/15
Multi-teir
a multi-tier architecture is used to describe one in which a degree of separation is attainedby one or many software agents between discrete components in order to facilitate processing insome manner. May also be referred to as an n-tier architecture.
The most widespread use of this term refers to the three-tier architecture. www.wikipedia.com
8/8/2019 J2EE Dotnet
http://slidepdf.com/reader/full/j2ee-dotnet 3/15
Components & States
Component Architecture
o A notion in object-orientedprogramming where "components" of
a program are completely generic.Instead of having a specialised set of methods and fields they have genericmethods through which thecomponent can advertise thefunctionality it supports to the systeminto which it is loaded.
Stateful or Stateless?o Stateful, typical client server
application. Maintains life for thewhole session.
o Stateless Having no information about what occurred previously, a statelessapplication treats each request as anindependent transaction, unrelated toany previous request. The internet isinherently stateless.
8/8/2019 J2EE Dotnet
http://slidepdf.com/reader/full/j2ee-dotnet 4/15
Web Ser vices
Web services is a technology that allows applications to communicate with eachother in a platform- and programming language-independent manner.
A Web service is a software interface that describes a collection of operations that can be accessed over the network through standardized XML messaging. It uses
protocols based on the XML language to describe an operation to execute or datato exchange with another Web service.
Visual Studio .NET http://msdn.microsoft.com/vstudio/productinfo/def
ault.aspx
8/8/2019 J2EE Dotnet
http://slidepdf.com/reader/full/j2ee-dotnet 8/15
Java Jar gon
Enterprise Java Beans (EJB) an
enterprise bean is a server-side component that encapsulates the business logic of anapplication. By invoking these methods,remote clients can access the inventoryservices provided by the application.
2 types of EJB2 types of EJB
Session Beans; A session bean represents a
single client inside the J2EE server. To access anapplication that is deployed on the server, theclient invokes the session beans methods. Thesession bean performs work for its client, shielding
the client from complexity by executing businesstasks inside the server. a session bean is similar toan interactive session. A session bean is not sharedit can have just one client, can be statefulor stateless
Entity Beans: An entity bean represents a
business object in a persistent storage mechanism.Some examples of business objects are customers,orders, and products. In the J2EE ApplicationServer, the persistent storage mechanism is arelational data-base. Entity beans may be sharedby multiple clients. Because the clients might want to change the same data, its important that entitybeans work within transactions. Typically, the EJBcontainer provides transaction management.
Java Server Pages (JSP); A JSP page is a
text document that contains two types of text:static template data, which can be expressed in anytext-based format, such as HTML, SVG, WML, and
XML, and JSP elements, which construct dynamiccontent. The JSP elements in a JSP page can beexpressed in two syntaxesstandard and XML. AJSP page in XML syntax is an XML document.
8/8/2019 J2EE Dotnet
http://slidepdf.com/reader/full/j2ee-dotnet 9/15
.NET Details
Common language runtime (CLR);is the execution engine for .NET Frameworkapplications. I.e. the runtime environment
Microsoft Intermediate Language
(MSIL); the CPU-independent instruction set into which .NET Framework programs arecompiled. It contains instructions for loading,storing, initializing, and calling methods on objects.Combined with metadata and the common typesystem, MSIL allows for true cross-languageintegration. Prior to execution, MSIL is converted
to machine code.
managed code; code that is written to
target the services of the common languageruntime. In order to target these services, the codemust provide a minimum level of information(metadata) to the runtime. All C#, Visual Basic.NET, and JScript .NET code is managed by default
Assembly; An assembly is the primary
building block of a .NET Framework application. It is a collection of functionality that is built,versioned, and deployed as a single implementationunit (as one or more files).
SocialTech, Incorporated TRAK (Technology toRecover Abducted Kids), a computer software system that helps law enforcement agencies locate and recover abductedchildren.http://www.microsoft.com/resources/casestudies/CaseStudy.asp?CaseStudyID=13901
Match.com Halves Server Farm, Doubles Speed with
ASP.NET and Windows Serverhttp://www.microsoft.com/resources/casestudies/CaseStudy.asp?CaseStudyID=15011
8/8/2019 J2EE Dotnet
http://slidepdf.com/reader/full/j2ee-dotnet 15/15
Questions
Do we want to continue to use Citrix overthe Web or switch to a more web native
solution? Are we committed to continuing to use
Oracle?
Are we too small to use both J2EE (IMS)& .NET (IRS)? Oracle & SQL Server?