Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © 2002 Systek Workshop SCEA for J2EE.

Similar presentations

Presentation on theme: "Copyright © 2002 Systek Workshop SCEA for J2EE."— Presentation transcript:

1 Copyright © 2002 Systek Workshop SCEA for J2EE

2 Copyright © 2002 Systek Goals Look through the information needed for the certification Discuss questions for part I and problems for part II Evaluate the presenter’s approach to part II

3 Copyright © 2002 Systek SCEA Del I Common architectures Legacy Connectivity Enterprise JavaBeans Enterprise JavaBeans Container Model Protocols Applicability of J2EE Design Patterns Messaging I18N Security

4 Copyright © 2002 Systek SCEA Del II Create UML diagrams Sequence or collaboration Class Component For Use Cases Prepare Itinerary Change Itinerary Price Itinerary Pay for Itinerary

5 Copyright © 2002 Systek Common Architectures Non-functional attributes Reliability Availability Scalability Extensibility Maintainability Application architecture Single tier/standalone Two tier/client server Multi-tier (web or three-tier)

6 Copyright © 2002 Systek Legacy Connectivity CORBA (RMI-IIIOP) Mainframe (Screen scraping or object mapping) JNI XML Advantages and drawbacks

7 Copyright © 2002 Systek EJB Bean consists of one class and two interfaces Home and remote interface Methods to be used are defined in remote and class Local EJBs versus Remote EJBs Transactions (ACID)

8 Copyright © 2002 Systek Services provided by the container Security Persistence (for Entity Beans) Life Cycle Management (know these) Transaction monitoring Pooling

9 Copyright © 2002 Systek Protocols HTTP (connection-oriented, session-less, easy to get through firewalls, default port 80) HTTPS (connection-oriented, session-oriented, somewhat easy through firewalls, secure, default port 443) JRMP (Procedure-calls, hard to get through firewalls, default port 1099) IIOP (CORBA, cannot marshal “behaviour” only state)

10 Copyright © 2002 Systek Applicability of J2EE Large-scale Transactional! Security Heterogeneous Not always applicable! Especially not EJBs!

11 Copyright © 2002 Systek Design Patterns Know the intent of all patterns Creational Factory Method, Abstract Factory, Builder, Prototype, Singleton Structural Adapter, Bridge, Composite, Decorator, Façade, Flyweight, Proxy Behavioral Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method, Visitor

12 Copyright © 2002 Systek Messaging What is the difference between Asynchronous and Synchronous communication (in general)? “Queue” vs “Topic” Queue: Point-to-Point (one receiver per message) Topic: Publish subscribe (many receivers per message) Common usage (workflow processes, events (e.g. ticker), integration) Disconnected usage Transactional queues

13 Copyright © 2002 Systek Internationalization Data input/output Data formatting Localizing content and presentation

14 Copyright © 2002 Systek I18N (cont) Typical question: What must be internationalized? (Usually: All of the above) Messages to users, number/date formatting, currencies, images (icons), sounds and other data (Depends upon how far you’re moving) Typical question: What features of Java support I18N? Unicode (char and String), Conversion (Reader and Writer classes), Formatting and Collation (java.text.*), ResourceBundles. The role of the Locale class

15 Copyright © 2002 Systek Security Security concepts Authentication Authorization Confidentiality Digital signatures and encryption technology Certificates (PKI)

16 Copyright © 2002 Systek Security (cont) Java Security/trust model What is applet signing (how does it work?) What can an applet do/not do/do when signed? Firewalls Packet filter Application-level proxy Stateful packet inspection

17 Copyright © 2002 Systek What to expect on the exam Many “scenario questions” The customer suggested this, is that a good idea? What problems arise? How is EJBs applicable here? Many EJB tricky questions Some “what is the job of the architect” Always: To produce the system that the customer needs!!

18 Copyright © 2002 Systek SCEA for J2EE part II Fly-by-Night Integrated with payment backend Integrated with Frequent Flyer backend Web front-end for e-commerce orders Somewhat weird use-cases

19 Copyright © 2002 Systek Use Case Overview

20 Copyright © 2002 Systek Example Screenshot

21 Copyright © 2002 Systek

22 Some questions How many destinations should be supported in one itinerary? Should Itineraries be stored in the DB before they are paid? If not, where? Should seats be reserved before an itinerary is paid? (When should seats be reserved?) Should a user be able to change itinerary after he has paid?

23 Copyright © 2002 Systek Weird Use Case: Change Itinerary After the original is paid? Should original be refunded? What if creating new or refunding old fails?

24 Copyright © 2002 Systek Other questions: How much detail? (Fowler “Specification Level”) What to put in the class diagram (Home, Remote interfaces? Value Object classes) What to put in the component diagram?

25 Copyright © 2002 Systek Example Component diagram:

26 Copyright © 2002 Systek Some links A-Nutshell/ A-Nutshell/ A%20Quick%20Reference.doc A%20Quick%20Reference.doc 2ee.html 2ee.html

Download ppt "Copyright © 2002 Systek Workshop SCEA for J2EE."

Similar presentations

Ads by Google