Top Banner
Enterprise Programming By J Pearce
22

Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

Dec 22, 2015

Download

Documents

Welcome message from author
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
Page 1: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

Enterprise Programming

By J Pearce

Page 2: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

Enterprise Software

Sales

HR

Inventory

CustomerSupport

Shipping

Page 3: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

Challenges

• Scalability

• Distributivity

• Connectivity

• Integrating legacy& multi-vendor systems

• Common needs– Security– Transaction Processing

Page 4: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

E-Commerce

• The ability to perform online transactions: – Selling– Trading– Negotiating

Page 5: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

E-Commerce Models

• Storefronts• Auctions• Portals• Dynamic Pricing Models• Trading & Lending Models• B2B Exchanges & Services• Online News, Travel, Entertainment, Education

Page 6: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

3 Important Server-Side Design Patterns

• Model-View-Controller

• Multi-Tier

• Container-Component

Page 7: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

Model-View-Controller Architecture

• Model: Managing data and logic

• Controller: Executes user commands

• View: Displays data

• Principle: Application logic should independent of presentation logic.

Page 8: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

MVC (cont.)

Model

ControllerView

Page 9: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

Multi-Tier Architectures

• Single Tier (Mainframe)

• Two Tier (Client-Server)

• Three Tier (Application Servers)

• Four Tier (Web-based)

• N-Tier

Page 10: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

Single Tier

terminal

mainframe<<RS232>>

Page 11: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

Two Tier

Client Server<<Ethernet>>

Page 12: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

Three Tier

Client Server<<Ethernet>> DBaseServer<<ODBC>>

Page 13: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

Web-Based Four Tier

ClientServer

DBaseServer

WebServer

<<HTTP>><<TCP/IP>>

<<ODBC>>

<<ODBC>>

Page 14: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

Container-Component Architectures

• Component: A semi-autonomous object known to clients only through the interfaces it implements and the conventions it conforms to.

• Container: A program that provides an execution environment and lifecycle support for components.

Page 15: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

Containers & Components (cont.)

Component1 Component2 Component3

ContainerIComponent

<<Interface>>

*1 *1

Page 16: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

Component Models

• ActiveX, COM, DCOM

• Applets

• Servlets

• Java Beans

• Microsoft.NET

• Enterprise Java Beans (EJB)

Page 17: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

J2XE Platform Specifications

• J2SE: Client platform

• J2ME: PDA platform

• J2EE: Enterprise server platform

Page 18: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

J2EE APIs

• DBase Connectivity (JDBC)

• Naming & Directory Interface (JNDI)

• Messaging Service (JMS)

• Transaction Processing API (JTA)

• Transaction Services (JTS)

• JavaMail

• Interface Definition Language (Java IDL)

Page 19: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

J2EE Technologies

• Remote Method Invocation (RMI)

• Servlets

• Java Server Pages (JSP)

• Enterprise java Beans (EJB)

• Containers (Web, Applet, Enterprise)

Page 20: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

J2EE Deployment

Palm<<PDA>>

<<Thin Client>>

<<PC>>

Tomcat<<WebServer>>

<<HTTP>>

<<HTTP>>

<<HTTP>>

JBoss<<AppServer>>

<<RMI>>

Cloudscape<<DBase Server>>

<<JDBC>><<JDBC>>

Page 21: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

J2EE Roles

• Application Client

• Web Page Designer

• Container Developer

• Component Developer

• Application Assembler

• Application Deployer

• Application Administrator

Page 22: Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.

References

• Developing Enterprise Java Applications with J2EE and UML; Ahmed & Umrysh; A-W.