Comparing J2EE and .NET Frameworks

Slides:



Advertisements
Similar presentations
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
Advertisements

3 Copyright © 2005, Oracle. All rights reserved. Designing J2EE Applications.
.NET Technology. Introduction Overview of.NET What.NET means for Developers, Users and Businesses Two.NET Research Projects:.NET Generics AsmL.
Welcome to Middleware Joseph Amrithraj
Introduction to .NET Framework
Apache Struts Technology
An architecture for webb applications, J2EE
Sapana Mehta (CS-6V81) Overview Of J2EE & JBoss Sapana Mehta.
ISYS 546 Client/Server Database Application Development.
BICS546 Client/Server Database Application Development.
28/1/2001 Seminar in Databases in the Internet Environment Introduction to J ava S erver P ages technology by Naomi Chen.
J2EE vs..NET Nigam Patel. Topics Background –Web Services, J2EE and.NET Similarities Differences Conclusion –Pros and Con (J2EE and.NET)
E-business Architecture.NET vs J2EE Judith Molka-Danielsen Feb.27, 2004.
12-1 © Prentice Hall, 2004 Chapter 12: Design Elements Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
© 2004 IBM Corporation BEA WebLogic Server Introduction and Training.
Understanding and Managing WebSphere V5
Java Pet Store Application. Outline Introduction Introduction Information Layer Information Layer Application Layer Application Layer Infrastructure Layer.
Web-based Software Development - An introduction.
Java Vs .Net Presented By, Naveen Kumar Ratkal.
Microsoft.Net vs. J2EE Suresh Ramachandran Duke Energy.
Chapter 10 EJB Concepts of EJB Three Components in Creating an EJB Starting/Stopping J2EE Server and Deployment Tool Installation and Configuration of.
EJB Overview Celsina Bignoli Distributed Business Applications Server DB Client DB Server DB.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
A Scalable Application Architecture for composing News Portals on the Internet Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta Famagusta.
Meir Botner David Ben-David. Project Goal Build a messenger that allows a customer to communicate with a service provider for a fee.
Online Music Store MSE Project Presentation I Presented by: Reshma Sawant Major Professor: Dr. Daniel Andresen.
MSE Presentation 3 By Padmaja Havaldar- Graduate Student
Java Petstore : A Case Study Rohit Nambiar July 2005.
第十四章 J2EE 入门 Introduction What is J2EE ?
ISYS 573 Special Topic – VB.Net David Chao. The History of VB Early 1960s:BASIC-Beginner’s All-Purpose Symbolic Instruction Code –Teaching –Simple syntax,
Enterprise Java Beans Java for the Enterprise Server-based platform for Enterprise Applications Designed for “medium-to-large scale business, enterprise-wide.
AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN.
Project Overview Graduate Selection Process Project Goal Automate the Selection Process.
REAL TIME GPS TRACKING SYSTEM MSE PROJECT PHASE I PRESENTATION Bakor Kamal CIS 895.
DotNet Vs. J2EE Mosaad Alomery CIS Mosaad Alomery - CIS 764 the internet platform –Services Electronic commerce Communications ( , news, chat,
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Preface IIntroduction Objectives I-2 Course Overview I-3 1Oracle Application Development Framework Objectives 1-2 J2EE Platform 1-3 Benefits of the J2EE.
Getting Started with.NET Getting Started with.NET/Lesson 1/Slide 1 of 31 Objectives In this lesson, you will learn to: *Identify the components of the.NET.
WEB SERVER SOFTWARE FEATURE SETS
Your Online Exchange for buying and selling remnants or odd sizes of production materials Trina L. Anderson UC College of Applied Science December 2003.
CSE300 EAIusing EJB & XML CSE Enterprise Application Integration Using EJB and XML by Prithwis Sett Mumtaz Lohawala Nayana Paranjape.
Introduction to EJB. What is an EJB ?  An enterprise java bean is a server-side component that encapsulates the business logic of an application. By.
A Project Report On Online Shopping By: Ruchi Kumari (08ERWCS089)
Application Sharing Bhavesh Amin Casey Miller Casey Miller Ajay Patel Ajay Patel Bhavesh Thakker Bhavesh Thakker.
The Holmes Platform and Applications
Java Server Pages Can web pages be created specially for each user?
J2EE Platform Overview (Application Architecture)
Suresh Ramachandran Duke Energy
Web-based Software Development - An introduction
.NET Omid Darroudi.
Chapter 2 Database System Concepts and Architecture
Introduction to Visual Basic 2008 Programming
Introduction to .NET Framework Ch2 – Deitel’s Book
Topic 10: Design Elements
Introduction to J2EE Architecture
PHP / MySQL Introduction
Module 1: Getting Started
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Evaluating Compuware OptimalJ as an MDA tool
ESIS Consulting LLC (C) ESIS Consulting LLC. All rights reserved
JavaServer Faces: The Fundamentals
Analysis models and design models
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
Web Application Server 2001/3/27 Kang, Seungwoo. Web Application Server A class of middleware Speeding application development Strategic platform for.
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Component-based Applications
Enterprise Integration
敦群數位科技有限公司(vanGene Digital Inc.) 游家德(Jade Yu.)
Enterprise Java Beans.
Mark Quirk Head of Technology Developer & Platform Group
Presentation transcript:

Comparing J2EE and .NET Frameworks * 07/16/96 Comparing J2EE and .NET Frameworks Puttam Reddy Venkata Karthik M.S. Defense Major Professor: Dr. William Hankley 11/28/2018 *

Introduction Overview of J2EE and .Net frameworks Discussion of system and application architectures of the frameworks Analogies and differences between the frameworks J2EE and .Net Pet stores Sample Application – Food and Nutrition Program Proposal Application Conclusion

Overview of J2EE and .Net J2EE refers to a group of specifications, frameworks, technologies, etc. It does not as such refer to any specific language. Comprises of a number of programming and scripting languages. Cross-platform portability. Availability of open-source libraries. Huge server-side deployment base. Coverage for most W3C standards .

Overview of J2EE and .Net – contd. .Net is a framework developed by Microsoft. Used to build web and windows based applications. Uses several programming languages and libraries. Quickly build, deploy and manage applications. Consistent programming model. Direct support for security. Simplified development efforts. Easy application deployment and maintenance.

J2EE System Architecture

.NET System Architecture

J2EE Application Architecture

.NET Application Architecture

Comparison between J2EE and .NET FEATURE J2EE .NET Type of Technology Standard Product Middleware Vendors Oracle, IBM, BEA Systems and many others Microsoft Web Pages and HTML JSPs ASP.NET Middle-Tier Components EJBs .Net Managed Components Database Connectivity JDBC ADO.NET Execution Engine JVM (Java Virtual Machine) CLR (Common Language Runtime) Portability Variety of Operating systems Windows Interpreter JRE CLR Language support JAVA Multiple Languages Tools support Eclipse, JBuilder etc. Visual Studio.Net

Comparison between J2EE and .NET – contd. HTML generation J2EE – JSPs and Servlets .NET – ASP.NET under Internet Information Server (IIS) Transactions J2EE – manual transaction management or automated through containers .NET – manual transaction management or automated through CLR

Comparison between J2EE and .NET – contd. Calling remote objects J2EE – JNDI finds server-side components such as EJBs or JMS queues. .NET – .Net remoting allows calls to remote objects distributed across application domains, processes, and machine boundaries. Data Access J2EE – Two main types of entity beans are used to model persistent data which are container-managed and bean-managed. .NET – A variety of data sources can be accessed by developers through .Net's ADO.Net classes.

Comparison between J2EE and .NET – contd. Execution Engine J2EE – Java source code compiles into machine-independent byte code, which the JVM interprets at runtime. .NET – The CLR environment executes .Net's Microsoft Intermediate Language code. Cross - platform portability J2EE – J2EE offers complete cross-platform portability. .NET – .Net only supports the Windows platform.

Comparison between J2EE and .NET – contd. Language support J2EE – Only Java is supported. .NET - It is language independent and can use any language once a mapping exists from that language to IL. Tools support J2EE – Java features a plethora of tools – Eclipse, JBuilder, JDeveloper etc. .NET – Visual Studio .Net, the single IDE for building .Net windows, web applications, or XML Web services. Vendor support J2EE – Vendor support represents one of the major strongholds of J2EE. .NET – Currently, .Net is a Microsoft platform.

J2EE and .NET Pet stores Sample e-commerce application where customers can buy pets online in various categories. Ability to search and browse for products through a website. The J2EE Pet store documents the best practices, design patterns, and architectural ideas for J2EE applications. Java Pet Store: The main J2EE Blueprints application. Java Pet Store Administrator: The administrator module for the Java Pet Store. Blueprints Mailer: A mini-application that presents some of the J2EE Blueprints design guidelines in a smaller package.

J2EE and .NET Pet stores – contd. Similar application called the .NET Pet store has been implemented in .NET using C# and focuses solely on the Java Pet store component. The administration or mailer component were not implemented. Was built to compete with the J2EE version and document .NET’s own best practices for building enterprise n-tier applications. Further objectives include compare and contrast code size and number of users supported when implemented in .NET and J2EE .NET version claims superiority over J2EE version based on lines of code, response time, CPU utilization and scalability.

Pet store Use Case diagram

Pet store session Homepage - This is the main page that loads when the user first starts the application. Category View - There are five top-level categories: Fish, Dogs, Reptiles, Cats, and Birds. Each category has several products associated to it. If we select Fish as the category, we might see "Angelfish" etc. Products - If you now select a product the application will display all variants of the product. Typically the product variant is either male or female. Product Details - Each product variant (represented as items) will have a detailed view that displays the product description, a product image, price, and the quantity in stock. Shopping Cart - This allows the user to manipulate the shopping cart (add, remove, and update line items). Checkout - The checkout page displays the shopping cart in a read-only view. Login Redirect - When the user selects "Continue" on the checkout page, they are redirected to login page if they have not signed in yet. Verify Sign In - After being authenticated onto the site, the user is then redirected to the credit card and billing address form. Confirm Order - The billing and the shipping addresses are displayed. Commit Order - This is the final step in the order-processing pipeline. The order is now committed to the database at this point.

Pet store statistics

Pet store statistics

Sample Application – Food and Nutrition Program Proposal Application Addition of a new module developed using .NET, C# and Oracle 10 g, to the existing FNP website. Allows county agents throughout the state of Kansas to submit online budget proposals and review salaries and benefits information. Generates in excess of 25 automated reports based on different calculations. Keeps track of changes made to applications between fiscal years. Stores information by county about proposals, personnel information, collaborating agencies, equipment used and proposed curriculum. Minimizes need for manual data entry Provides several layers of user authentication. All data and reports are dynamically generated based on user input.

System Architecture County Agent Admin Front End (HTML and c#) Middleware (.NET Framework) Back End (Oracle 10g) Manage Agent session Add, Edit, Update, Print FNP Proposal Application Manage Admin session Perform Admin activities Database

Database Design

Use Case Diagram

Control flow diagram for County Agent Index Page Check Login Information Agent Welcome Page * Add FNP Proposal Application * View and Print FNP Proposal Application Edit FNP Proposal Application Add/Update Information Incorrect Login

Control flow diagram for System Administrator Check Login Welcome Page * Add/Edit FNP Proposal Applications *Perform Report Add/Edit Counties Save item Information Save county Index Page Incorrect Login

Enhancements Speed Reduction in lines of code Improved user navigation Ease of deployment Automated data and report generation Storage of view state in state server Cascading style sheets

Testing – ANTS Load

Testing – contd.

Conclusion The .Net and J2EE frameworks were compared. A concise understanding of the two technologies was obtained. A comparison between The .Net and J2EE pet stores, was drawn. Results of published tests seem to indicate that the .Net framework achieved better results. Given that benchmarks are considered unreliable because they are based on a specific set of rules, no conclusion can be drawn from these tests. The design approaches to building an application in the frameworks is different. The .Net approach constructs a model based on the database schema and is driven mostly by the database implementation. The J2EE framework focuses more intensely on an object model, as demonstrated by the J2EE pet store and all designs are influenced by the J2EE design patterns.

Conclusion – contd. Given the features and capabilities of each framework are similar to each other but implemented in different ways, it is not possible to conclude that one framework is better than the other. The most suitable conclusion to the .NET vs. J2EE debate is that both frameworks will enjoy widespread use and with the advent of interoperability, it will be possible to get the best of both these frameworks. Also, a sample project was implemented in .Net, which provides users with a dynamic and flexible interface and furthers my understanding of the .Net framework.

Thank You!!