Topics Background –Web Services, J2EE and.NET Similarities Differences Conclusion –Pros and Con (J2EE and.NET)
Web Services What is Web Services? –Helps applications to be integrated –Foundation of web services is XML messaging over standard web protocol such as HTTP –Can integrate two businesses, departments, or applications quickly and cost-effectively.
J2EE J2EE architecture is defined by the Sun standards. Architecture is based on the Java programming language. Good thing about Java is that it enables the organization to write code once and deploy that code onto any platform.
J2EE EJB, Java Language Cont... Presentation Layer Business Layer Data Layer Servlets, Java Server Pages JDBC compatible DB
.NET.NET is Microsoft Product Framework of Microsoft.NET offers language independence
.NET C# VB.NET Compiler MSIL CLR First source code is translated into Microsoft Intermediate Language (MSIL or IL). This MSIL is language-neutral, same as Java bytecode. Then MSIL code needs to be interpreted and translated into a native executable. The.NET Framework includes the Common Language Runtime (CLR), same as the Java Runtime Environment (JRE), which achieves the goal. Cont...
.NET COM+, Visual Studio.NET Presentation Layer Business Layer Data Layer ASP.NET SQL Server Cont...
Similarities J2EE &.NET By comparing Big Picture of.NET and J2EE we can Technology similarities FeatureJ2EE.NET TechnologyStandardProduct Presentation Tier Programming LanguageASP.NETServlets, JSP Business Tier ComponentsEJB, Java LanguageCOM+, Visual Studio.NET Message QueueJMS 1.0MSMQ Naming ServiceJNDIADSI Database Tier ConnectivityADO.NETJDBC ProtocolSOAP, WSDL, UDDI InterpreterJRECLR
Differences J2EE &.NET Presentation Layer In J2EE, JSPs and servlets generate HTML. The servlet includes features like session state, security framework and configuration. In.NET, ASP.NET generates HTML. ASP.NET builds and hosts Web application under Microsoft’s Internet Information Server (IIS). ASP.NET includes stuff like session state, authentication and authorization. With ASP.NET, developer build HTML and custom tags that map to server-side web controls.
Differences J2EE &.NET Business Layer –Transaction Processing –Calling Remote Objects –XML web services Data Access Layer –J2EE has two types CMP & BMP –.NET ADO.NET classes Cont...
Differences J2EE &.NET Platform Comparison –Cross-platform portability –Language support –Tools Support –Vendor suppor Cont...
J2EE (PROS) Runs on any operating system and application server (may need adjustments) Handles complex, high- volume, high-transaction applications Has more enterprise features for session management, fail- over, load balancing and application integration Is favored by experienced enterprise vendors such as IBM, BEA, SAP and Oracle Offers a wide range of vendor choices for tools and application servers
J2EE (CONS) Has a complex application development environment Tools can be difficult to use Java Swing environment's ability to build graphical user interfaces has limitations May cost more to build, deploy and manage applications Is difficult to use for quick-turnaround, low-cost and mass-market projects
.NET (PROS) Easy-to-use tools may increase programmer productivity Has a strong framework for building rich graphical user interfaces Is tightly integrated with Microsoft's operating system and enterprise server software May cost less, due in part to built-in application server in Windows, unified management, less expensive tools
.NET (CONS) Framework runs only on Windows, restricting vendor choice Users of prior Microsoft tools and technology face a potentially steep learning curve Questions persist about the scalability and transaction capability of the Windows platform Choice of integrated development environments is limited Getting older applications to run in new.Net environment may require effort