© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott COMP6325 Advanced Web Technologies Dr. Paul Walcott The University.

Slides:



Advertisements
Similar presentations
3 Copyright © 2005, Oracle. All rights reserved. Designing J2EE Applications.
Advertisements

Welcome to Middleware Joseph Amrithraj
© 2009 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott COMP6325 Advanced Web Technologies Dr. Paul Walcott The University.
Objectives In this session, you will learn to:
CIM2564 Introduction to Development Frameworks 1 Overview of a Development Framework Topic 1.
Technical Architectures
Some of these slides were excerpted from: Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer.
Web Server Hardware and Software
What is.NET?. The Clients of.NET a) A new generation of connected application b) Microsoft.NET Framework managed execution c) Allows PCs and other smart.
ISYS 512 Business Application Design and Development with.Net David Chao.
Introduction to ASP.NET. 2 © UW Business School, University of Washington 2004 Outline Static vs. Dynamic Web Pages.NET Framework Installing ASP.NET First.
28/1/2001 Seminar in Databases in the Internet Environment Introduction to J ava S erver P ages technology by Naomi Chen.
Lecture 2 Web application architecture. Themes Architecture : The large scale structure of a system, especially a computer system Design choice: The need.
Introduction to Web Application Architectures Web Application Architectures 18 th March 2005 Bogdan L. Vrusias
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Layers & Tiers Umair Javed Lec - 41.
ISYS 512 Business Application Design and Development with.Net David Chao.
J2EE vs..NET Nigam Patel. Topics Background –Web Services, J2EE and.NET Similarities Differences Conclusion –Pros and Con (J2EE and.NET)
J2EE Java 2 Enterprise Edition. Relevant Topics in The Java Tutorial Topic Web Page JDBC orial/jdbc
Java Server Team 8. Overview What is a Java Server? History Architecture Advantages Disadvantages Current Technologies Conclusion.
Application Architectures Vijayan Sugumaran Department of DIS Oakland University.
Advanced Distributed Software Architectures and Technology group ADSaT 1 Application Architectures Ian Gorton, Paul Greenfield.
.NET Mobile Application Development Introduction to Mobile and Distributed Applications.
12-1 © Prentice Hall, 2004 Chapter 12: Design Elements Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
Understanding and Managing WebSphere V5
INTRODUCTION TO WEB DATABASE PROGRAMMING
ISYS 350 Business Application Development
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.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
Quality Assurance for Component- Based Software Development Cai Xia (Mphil Term1) Supervisor: Prof. Michael R. Lyu 5 May, 2000.
ISYS 512 Business Application Design and Development with.Net David Chao.
© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott COMP6325 Advanced Web Technologies Dr. Paul Walcott The University.
J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey.
Meir Botner David Ben-David. Project Goal Build a messenger that allows a customer to communicate with a service provider for a fee.
Introduction to .NET Rui Ye.
© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott COMP6325 Advanced Web Technologies Dr. Paul Walcott The University.
Introduction to distributed systems Dr. S. Indran 23 January 2004.
CIS 375—Web App Dev II Microsoft’s.NET. 2 Introduction to.NET Steve Ballmer (January 2000): Steve Ballmer "Delivering an Internet-based platform of Next.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Programming Languages Machine.
Chapter 3: Objects, Components, and the Web Textbook IT Architectures and Middleware, Second Edition Chris Britton and Peter Bye AIT 600 Jeff Schmitt September.
11/16/2012ISC329 Isabelle Bichindaritz1 Web Database Application Development.
Enterprise Java Beans Part I Kyungmin Cho 2001/04/10.
Fundamentals of Database Chapter 7 Database Technologies.
第十四章 J2EE 入门 Introduction What is J2EE ?
® IBM Software Group © 2007 IBM Corporation J2EE Web Component Introduction
Enterprise Java Beans Java for the Enterprise Server-based platform for Enterprise Applications Designed for “medium-to-large scale business, enterprise-wide.
Lecture 15 Introduction to Web Services Web Service Applications.
Dynamic Content On Edge Cache Server (using Microsoft.NET) Name: Aparna Yeddula CS – 522 Semester Project Project URL: cs.uccs.edu/~ayeddula/project.html.
Middleware for FIs Apeego House 4B, Tardeo Rd. Mumbai Tel: Fax:
1 Welcome to CSC 301 Web Programming Charles Frank.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
ISYS 350 Business Application Development David Chao.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Copyright © 2002 ProsoftTraining. All rights reserved. JavaServer Pages.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Assignment of JAVA id : BSSE-F10-M-10-JAVA1 Overview of J2EE/Session 2/Slide 1 of 38.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
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.
Chapter 12: Design Elements Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer.
Microsoft Visual Basic 2015 CHAPTER ONE Introduction to Visual Basic 2015 Programming.
1 LM 6 Database Applications Dr. Lei Li. Learning Objectives Explain three components of a client-server system Describe differences between a 2-tiered.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
12. DISTRIBUTED WEB-BASED SYSTEMS Nov SUSMITHA KOTA KRANTHI KOYA LIANG YI.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
J2EE Platform Overview (Application Architecture)
Introduction to JSP Liu Haibin 12/09/2018.
Introduction to J2EE Architecture
MSIS 655 Advanced Business Applications Programming
Web Application Server 2001/3/27 Kang, Seungwoo. Web Application Server A class of middleware Speeding application development Strategic platform for.
Presentation transcript:

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott COMP6325 Advanced Web Technologies Dr. Paul Walcott The University of the West Indies Session 3 – Building Enterprise-scale Web-based Applications Summer 2008

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott Objectives  In this session the student will: Discuss the.NET and Java Enterprise Edition 5 frameworks Construct a simple C# program Compare and contrast enterprise-scale web-based application frameworks

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott What is an enterprise application? “An application that conforms to the Java 2 Platform Enterprise Edition specification“ publib.boulder.ibm.com/infocenter/wasinfo/v5r1/topic/com.ibm.websphere.exp.doc/info/exp/gloss ary.html

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott What is an enterprise application cont’d? An “enterprise application is any software application hosted on a server which simultaneously provides services to a large number of users, typically over a computer network”

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott What is an enterprise application cont’d? “Enterprise application solve business problems” (Weaver, Mukhar & Crume 2004)

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott What is an enterprise application cont’d?  Enterprise applications store, retrieve and manipulate business data (Weaver, Mukhar & Crume 2004) For example, customer invoices, mortgage applications and flight bookings  These applications: Might have multiple user interfaces Handle communication between remote systems Specify the business rules / business logic

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott Enterprise scale web-based applications  Traditionally web applications were based on: a two-tier client/server design Proprietary technologies  This approach had implications for (Microsoft 2003): Scalability The integration of other applications Flexibility, and Speed of development

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott Enterprise scale web-based applications cont’d  With the introduction of the Microsoft’s Component Object Model (COM), which allows clients to call binary code on a COM server (Platt 2003): Developers could reuse components from third-parties, thus decreasing development time Developers could access operating system functionality such as queuing and transactions, making applications easier to write and more robust

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott Enterprise scale web-based applications cont’d  The COM model however had some significant drawbacks, including: The need for a substantial amount of infrastructure to link applications The connecting of applications through an external interface  This resulted in separate implementations of basic data types such as string which had to be converted For example connecting a COM server written in Microsoft Visual Basic with a COM client written in C++

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott Enterprise scale web-based applications cont’d  Frameworks have been developed which utilise service-oriented architectures (SOA) and allow (Microsoft 2003): Data, logic, and infrastructure assets to be accessed by routing messages between interfaces Service components to be improved; with changes being carefully controlled Cross-platform integration

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott Enterprise scale web-based applications cont’d  Microsoft, for example has implemented service oriented architectures through web services  Web services utilise Internet protocols and standards such as HTTP and XML

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott Enterprise scale web-based applications cont’d  Two popular application frameworks are: Microsoft.NET Framework Java Enterprise Edition 5 Framework  These frameworks will be discussed in this course

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott Activity Using your favourite search engine find examples of enterprise-scale web-based applications

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott Microsoft.NET (Microsoft 2003)  Microsoft.NET is an integral Windows component which supports the building and running of web services; and client- and server-side applications .NET provides: An OOP language neutral environment Enhanced performance, guarantees safe code execution and minimises software deployment A consistent developer experience across apps

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott Microsoft.NET cont’d  Several different types of applications may be build using.NET including Server applications Web applications Web services Client-side applications  See built-for-windows-vista-and-net-framework-3-0.aspx for a list of some real-world applications built-for-windows-vista-and-net-framework-3-0.aspx

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott Microsoft.NET cont’d  The.NET Framework uses a managed code programming model (this will be detailed in the next session)  A wide range of supporting class libraries are provided with the framework, including: Windows Presentation Foundation  For user interfaces, documents and media content

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott Microsoft.NET cont’d Windows Communication Foundation  Communication infrastructure which utilises the web server architecture Windows Workflow Foundation  Used to create workflow-enabled applications Windows Forms  Form development ASP.NET  Web application development technologies for web application development

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott Microsoft.NET cont’d ADO.NET  Provides access to data sources

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott Java Enterprise Edition 5  Java EE is an enterprise framework for component-based multi-tier applications  Java EE applications can handle data from multiple sources and can distribute applications to a variety of clients  Business functions are conducted in the middle tier

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott Java Enterprise Edition 5  This model provides Scalability Accessibility Manageability  Multi-tier services are divided into: Business and presentation logic Standard system services provided by the framework

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott Java Enterprise Edition 5  Java Enterprise Edition 5 includes: Java Servlets  Dynamically process request and construct responses; used for service oriented applications (web services) Enterprise JavaBeans (EJB)  Business components that run on the server Java Server Pages (JSP)  Allows creation of static and dynamic web content Java Server Faces (JSF)  Server-side user interface component framework

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott.NET vs. Java Enterprise Edition 5  The.NET vs. Java EE is a huge debate with many opinions, including (Silwa 2002) “Weigh the importance of application portability to your company” .NET runs on Windows machines only (for now), while Java Enterprise Edition 5 can easily port business rules and java server pages (JSP)

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott.NET vs. Java Enterprise Edition 5 What infrastructure and skills do you have access to?  It is costly to train staff and change infrastructure, for example moving a developer from Cobol to Java could cost US$57,000 per developer (2002 estimate) Examine the complexity of the application .NET tools may be easier to used, Java Enterprise Edition 5 might be better for more complex, mission critical applications

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott.NET vs. Java Enterprise Edition 5 Investigate vendor support Look at the costs  Cost of application servers, for example JBOs, WebLogic and WebSphere (for the Java environment)  Also, look at the benefits and flexibility for the future

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott.NET vs. Java Enterprise Edition 5  For further comparisons and case studies: gs/2004/3-Lyons-ThePlatformWars.pdf gs/2004/3-Lyons-ThePlatformWars.pdf

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott C# and.NET  In order to run C# and.NET you require: The Microsoft Windows SDK  Microsoft Windows SDK for Server 2003  Microsoft Windows SDK for Server 2008 (latest) Microsoft.NET Framework .NET Framework 2.0 .NET Framework 3.0 .NET Framework 3.5 (latest)

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott Activity Web install the Microsoft Windows SDK for Server 2008 with the Microsoft.NET Framework 3.5 (over 1GB). A74F EBE331CDC&displaylang=en

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott An introduction to C# (Mayo 2008)  This introduction session on C# programming will cover: C# program structure Operators, types, and variables Control statements  Selection If and Switch  Loops While, do, for, foreach

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott An introduction to C# cont’d  Some basics C# is like C, C++ and Java C# source files have an extension.cs A Main() method provides the entry point to C# programs  The class with the main method is often called App The Main() method can accept arguments and return a value

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott An introduction to C# cont’d  C# is not interpreted  C# is case sensitive  Comments - /* */ and //  All statements end with ;  Write a number of arguments – Console.WriteLine(“{0} {1}”, arg[0], arg[1])  Reading from the console Console.WriteLine(“Hello {0}”, Cosole.ReadLine());

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott An introduction to C# cont’d  Compiling a C# program Open the command prompt and locate the program to be compiled Type csc /target:exe program.csc

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott An introduction to C# cont’d  See the C# tutorial at station.com/Tutorial.aspx station.com/Tutorial.aspx

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott Conclusion  In this session The.NET and Java Enterprise Edition 5 framework were compared and contrasted Some of the characteristics of enterprise-scale applications were discussed The.NET and the Java Enterprise Edition 5 frameworks were described The student was introduced to the C# programming language

© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott References Mayo, J., “The C# Station Tutorial”, Available online at station.com/Tutorial.aspxhttp:// station.com/Tutorial.aspx Microsoft Corporation, “A Guide to Building Enterprise Applications on the.NET Framework”, Available online at us/library/ms aspxhttp://msdn.microsoft.com/en- us/library/ms aspx Platt, D., “Introducing Microsoft.NET”, Third Edition, Microsoft Press, 2003 Silwa, C., “.Net vs. Java: Five Factors to consider”, Available online at ,00.html ,00.html Sun Microsystems, “The Java EE 5 Tutorial”, Available online at