04/08/2003. Survive the test of time. We make the net work. J2EE Best Practices
|
|
- Dulcie Rose
- 5 years ago
- Views:
Transcription
1 We make the net work J2EE Best Practices
2 Carol McDonald Technology Evangelist Sun Microsystems
3 Speaker s Qualifications Carol McDonald Is a Technology Evangelist at Sun Microsystems Speaks around the world at Sun Tech Days, and conferences Is a Sun Certified Java Programmer
4 Overall Presentation Goal Learn how to design 3-Tier Business Systems using Enterprise JavaBeans (EJB ) specification
5 Presentation Agenda J2EE Architecture Fundamentals J2EE Blueprints Design Web Tier Best Practices EJB Tier Best Practices Web Services Best Practices
6 The J2EE Framework Browsers HTML EJB JSP JDBC TM Rich Desktops SOAP, XML RMI, CORBA SOAP, XML JSPs/ Servlets/ Frameworks EJBs JMS J2EE Connectors Existing Apps XHTML/WML Devices Services SOAP XML Web Tier Transaction Tier J2EE TM / Sun ONE Server
7 Logical Tiering Desktop Desktop Client Client Handheld Handheld Client Client Telephone Telephone Client Client Desktop Desktop Presentation Presentation Handheld Handheld Presentation Presentation Telephone Telephone Presentation Presentation Search Search Catalog Catalog Checkout Checkout View View Product Product Detail Detail Legacy Legacy Order System Order System External External Payment Payment System System Catalog Catalog RDBMS RDBMS Order Order System System Payment Payment System System Catalog Catalog Database Database Resources Resources Client Client Presentation Presentation Business Business Integration Integration
8 Partition Functionality Into Tiers Presentation Control Business Services Persistent Domain Objects Asynchronous Messaging Servlet Session Publish Presentation Layout Entity Message Receive JSP
9 Architecture Fundamentals: Tiers Logical distribution of functionality Each tier knows only about the vertical layer next to it promotes: Skill separation, parallel development Extensibility, code reusue Maintainability Scalability, Physical distributability
10 2-Dimensional Framework Client Appli- cation Presen- tation Business Integration Resources Virtual JSP/Servlet API EJB API JDBC, JMS, Upper Web Server App Server Middleware Lower OS Environ. OS Environ. OS Environ. Hardware Presentation Hosts Business Hosts Integratio n Hosts Client Presentation Business Integration Resource
11 Architecture Fundamentals: Layers Layers Logical separation of logic Spans tiers Separates business logic from infrastructure services Don't have to reinvent/develop infrastructure Easier development and maintenance
12 Presentation Agenda J2EE Architecture Fundamentals J2EE Blueprints Design Web Tier Best Practices EJB Tier Best Practices Web Services Best Practices
13 J2EE Blueprints: Guidelines and Best practices for J2EE applications includes: Application (source code) Java Pet Store Book FREE:
14 Core J2EE Patterns Patterns Catalog Best Practices Refactoring Bad Practices Core J2EE Patterns Released JavaOne 2001
15 What is a Pattern?
16 What Are Patterns? Patterns are about communicating Problems and Solutions Recurring within a context Expert solutions J2EE Patterns: Collection of best practices for the J2EE platform Create a common vocabulary
17 Refactoring Refactoring: Improving the design of existing Code - Martin Fowler Occurs after code is written or after design is completed Good/bad to better!
18 1. Requirements Analysis Select Products Customer Checkout
19 2. Object Oriented Analysis Category name Media hgth Width uri Product 1..* id name description 1 0..* active getname() getdescription() isactive() setactive() getitems() Group objects into Components: Define cohesive classes Simplify Interface UserInterface Consider transaction boundaries maintainproduct()() 1..* Item id sku color 1 0..* LineItem id item : Item order : Order price 1..* 1 ContactInfo id address city state postalcode 1..* 1 1..* 1 Inventory item : id amount Order id orderitems date account : Account Account id name phone 1..* 0..1
20 3. Group Objects into Components Define cohesive classes Consider transaction boundaries Simplify contracts
21 3. Group Objects into Components Category name Product 1..* id name description 1 0..* active 1..* Item id sku color 1..* 1 Inventory item : id amount Catalog Media products hgthcategoriest width uri getname() getdescription() isactive() setactive() getitems() 1 0..* LineItem id item : Item order : Order price 1..* 1 Order id orderitems date account : Account 1..* Group objects into Components: Define cohesive classes UserInterface Simplify Interface maintainproduct()() Consider transaction boundaries ContactInfo id address city state postalcode 1..* 1 Account id name phone 0..1
22 Petstore Business Objects Catalog Category Page Product Item Cart CartList CartItem Customer Account Profile Contact Info Credit Card Address Order Item
23 Group Objects into Components Define cohesive classes Consider transaction boundaries Simplify contracts
24 Session vs Entity Beans Session beans Implement business services Often the verbs in use cases Entity Beans Persistent domain objects Often the nouns in use cases
25 Group objects into Components and Separate Functionality into Tiers Presentation control servlet JSP JSP Java Bean Java Bean Session EJBs Session Facade Catalog Cart Entity EJBs Order Customer Products Items Orders Accounts Presentation Layout Business Services Persistent Objects
26 Presentation Agenda Web Tier Best Practices EJB Tier Best Practices
27 Model View Controller Pattern Model represents the application business data and rules View is a screen representation of model, presents the user interface Controller mediates their interactions
28 Model View Controller request Separate Control From Model data From Presentation of View MVC can be broken into smaller finer grained patterns response JSP view Forward event data Business event Bean model client web EJB tier
29 Refactoring: Separate Business Logic from Presentation Formatting View Formatting Business Logic View Formatting View helper View helper Business Logic View helper
30 Refactoring: Localize Disparate Logic Problem Business logic is intermingled within a JSP view Refactoring Extract business logic into one or more helper classes that can be used by the JSP component or by a controller
31 Refactoring: Separate duplicate Control logic from Presentation Formatting View Front Controller Control Formatting View View Control View Helper Control Formatting Formatting Centralizes Control Remove duplication of logic Improves Reusability
32 Servlet JSP Front Controller: Interaction Client Client Java Objects 3. Parse Request 1. Request Front Controller 2. Common logic 10. Response View 9. Get Data 8. Dispatch Request Helper 4. Get cmd View Helper Data Bean 6. Execute Command Factory Dispatcher 5. Create Command Command Helper 7. Business logic
33 Front Controller Centralizes Control Improves Manageability of Security Improves Reusability Implementation Strategy: Command and Controller Strategy
34 Service to worker MVC broken into smaller finer grained patterns request Command helper Call business service response client JSP view Select view Get data Web View Helper Data Object EJB tier
35 Service to Worker: Centralizes Control and Improves Modularity and Reuse Improves Application Partitioning cleaner separation of the view from the business processing Improves Role Separation Separates Java coder from HTML designer
36 Use an MVC Framework Faster easier development of request processing Response generation Struts or Sun ONE Application Framework
37 Struts Framework ActionServlet controller Busines Logic Action <<send>> <<call>> JSP (view) Model Value Object <<use>> <<use>> ActionMapping
38 Struts: Patterns Implemented Front Controller Command Request Action Servlet Action Mapping Action Client uses Response Composite View JSP View Action Forward Action Form View Helper
39 Sun ONE Application Framework MVC broken into smaller finer grained patterns
40 Refactoring: Reduce coupling between Web and EJB Tier with Business Delegate Session EJB Business Delegate Session EJB Client Session EJB Client Business Delegate Session EJB Session EJB Business Delegate Session EJB
41 Business Delegate Reduces coupling between Web/Client and EJB tier increases maintainability Hides complexities of remote services Implements failure recovery Retry, Exception Translation exposes simpler uniform interface to EJB tier
42 View Helper and Business Delegate
43 Use Service Locator pattern to cache Resource References EJB client EJB client JNDI JMS client JDBC client EJB client EJB client Service locator JMS client JDBC client JNDI Cache references obtained by JNDI lookups better performance and eliminates duplicate code
44 Service Locator Abstracts complexity of JNDI lookups Uniform lookup for all clients Removes duplicate code Caching Improves performance
45 Three Point Business Delegate View
46 Web Tier Patterns Request Handler Service Interface Request Intercepting Filter Front Controller Command Helper Business Delegate Business Service Client Dispatch Dispatcher Service Locator Response View Processor XML Intercepting Filter View View Helper XSL Core J2EE Pattern Strategy
47 Presentation Agenda J2EE Architecture Fundamentals J2EE Design Process Web Tier Best Practices EJB Tier Best Practices Session EJBs Web Services Best Practices
48 Local verses Remote Interfaces EJB client EJB Object EJB client EJB Object Network Remote Interfaces pass by Value: Serialize/deserialize method parameters Local Interfaces pass by Reference: better performance
49 Local verses Remote Interfaces Remote Interfaces: Key Benefits Easier to scale and cluster More reusable pieces in design Key Drawbacks More complexity due to extra layers Lower performance Data copying because of call-by-value semantics Overheads of remoteness
50 When Local, When Remote? Create distributed islands of local components EJB calls within an application Avoid unnecessary remote calls, prefer local EJB calls across applications Prefer remote for loose coupling
51 Session With Local Entity Beans Session Bean Local EntityBean Local EntityBean Local EntityBean EJB Tier Local EntityBea n Relationship Reference Local EntityBean
52 Petstore Example: Islands of Local Beans Admin Java Client Admin Web Site WebComp onent WebComp onent WebComp onent Business Delegate Relationship Reference Admin Remote Facade LineItem Purchase Order CreditCard Address
53 Use Declarative Transactions with Session Beans Check Out New Transaction Context Transaction Context propagated Session Bean TC TX_REQUIRES_NEW 1. Update Inventory InventoryEJB TX_REQUIRED TC Transaction Attributes 2. Create Order OrderEJB TX_REQUIRED TC TRANSACTION
54 Wrap Entities With Session Facade Client Business Logic Transaction Logic Entity Bean A Entity Bean B Entity Bean C Client Session Facade Business Logic Entity Bean A Entity Bean B Entity Bean Transaction Logic: C Bean Managed or Container Managed Client or Presentation Tier Network Business Tier Client or Presentation Tier Network Business Tier Improves Perfomance
55 Session Facade: Interaction Entity Bean 1 Client Session Bean Entity Bean POJO 1. dothis(...) Session Facade 2. getdata() 3. process Entity Bean 2 Session Bean Java Object 2. getdata() Data Access Object 1 Data Access Object 2
56 Session Facade: Consequences Provides coarse-grained services fewer network calls Centralizes EJB control, transaction, security Combine updates into fewer transactions Protects expensive resources Promotes uniform access
57 Merge Session Beans Client Interaction #1 Session Entity Client Interaction #1 Facade Entity Client Interaction #2 Session Entity Client Interaction #2 Facade Entity Client Interaction #3 Session Entity Client Interaction #3 Entity Client or Presentation Tier Business Tier Client or Presentation Tier Business Tier
58 Session Bean Summary Session beans Implement use case business services Central place for business logic Use as façade for Entity beans Stateful or stateless Consider what state you keep in your sessions Use declarative (Container managed) transactions. Keep transactions short
59 Presentation Agenda J2EE Architecture Fundamentals J2EE Design Process Web Tier Best Practices EJB Tier Best Practices Entity EJBs Web Services Best Practices
60 Entity Bean Best Practice Use Container Managed Persistence Most portable code Eases development Containers optimize database access Can take advantage of advances in CMP technology in J2EE technology-enabled servers
61 Use Bean Managed Persistence For Dealing with Legacy Database and/or other persistence store Previously written complex BMP application Connector driven data stores, EIS Efficient execution of complicated queries Bulk updates Multi object selects Aggregates (like sorting)
62 Why CMP? containers knows Which field is being accessed whether or not field is in a relation whether of not there is a transaction What is in cache the current clustering environment Container can optimize based on above
63 CMP optimizations agressive loading loading fields relationships and fields of children in the same query lazy loading deferring loading of any data until it is accessed dirty writes only update data which has been changed in the database
64 Abstract View of an Entity Application Order Address 1 Client 1 1 OrderBean Line Items Shipping Address Product Ordered Product 1 Order Home M LineItem M
65 Bean Managed Persistence Composite Entity Pattern EJB class <<EJBEntity>> OrderEJB orderid : String String orderdate : java.sql.timestamp status : S tring totalprice : double OrderEJB() ejbcreate() ejbremove() setentitycontext() ejbload() ejbstore() ejbfindbyprimarykey() unsetentitycontext() ejbactivate() ejbpassivate() ejbpostcreate() getorderdetails() Dependent Object regular java class LineItem itemno : String qty : int unitprice : double lineno : int LineItem() LineItem() getitemno() getqty() getunitprice() getlineno() setitemno() setqty() setunitprice() setlineno() Dependent Object
66 CMP 2.0 Local Interfaces Client EJB Tier Order OrderHome 1 OrderBean 1 Address Local entity 1 Shipping Address LineItems M M 1 Local entity Product ProductOrdered LineItem Local entity
67 Container Managed Relationships 1-1,1-N, M-N associations Relationships defined via local entity interfaces Declaratively expressed in deployment descriptor Order Remote entity Client OrderHome Address 1 Shipping Address Local entity 1 OrderBean 1 1 LineItems ProductOrdered M M LineItem Local entity Product Local entity
68 CMP 2.0 Abstract Getters/setters for all Container Managed fields Getters/setters for all Container Managed Relactionships return/take local interface types
69 Accessors for CMP and CMR fields public abstract class OrderBean implements EntityBean { private EntityContext context; //access methods for cmp fields public abstract String getorderid(); //primary key public abstract void setorderid(string id);... //access methods for cmr fields public abstract Collection getlineitems(); public abstract void setlineitems(collection lineitems);
70 Entity Bean CMP 2.0 CMP 2.0 fields and relationships accessed only by get/set methods allows container to: Lazily load fields as they are accessed Group field loading Optimized writes Cluster wide caching (depending on vendor) Automatic join of data in relationships Automatic creation of table in DB
71 Container Implements abstract persistence schema Extends Entity bean and implements local object classes Implements get/set methods Manages all persistent state and relationships, including referential integrity at runtime Implements bean s lifecycle contract ejbload, ejbstore, Performs concurrency control Maps query language to target datastore
72 Advantages Rich, flexible, portable modeling Supports complex coarse-grained to fine-grained object modeling Optimizable, Scalable Supports lazy loading Supports dirty detection/efficient updates Enables different caching strategies, concurrency control strategies Enables query optimization
73 Presentation Agenda J2EE Architecture Fundamentals J2EE Design Process Web Tier Best Practices EJB Tier Best Practices JMS Message Driven Beans Web Services Best Practices
74 JMS Use JMS for loosely coupled applications that need reliable, scalable document/message exchange
75 JMS Communication JMS Provider Producer Destination Consumer Loosely coupled: Producer doesn't need to know consumers, or consumer method arguments Reliable: Message is stored until it can be delivered Asynchronous Producer is not blocked, Consumer does not have to be available
76 JMS Messaging Advantages Store and Forward Scalability Fault tolerance Decoupling Routing Delivery when available Different clients Clustered Message Brokers
77 JMS Messaging Publish/Subscribe Queues
78 Point-to-Point Order and Fulfillment XML JMS Queue XML JMS Warehouse Java Pet Store
79 Publish and Subscribe Stock Price Changes Price Change Topic Traders/Brokers
80 Enterprise XML Messaging: JMS Enterprise Application Integration, Business Process Integration Broadcast Business Event Intranet Servers Business process update Topic Queue Servers Queue Business process update Office Systems
81 Example JMS: Workflow Order Entry Web Server Credit Verification Assign Order # Customer # Billing System De- Compose Order CD Fulfillment Book Fulfillment Video Fulfillment Assemble Package Warehouse Management Bill Customer Payment Ship Package Accounts Receivable Collection Order Complete EDI Gateway Modem Special Order Shipment Tracking EDI Gateway FAX Server
82 JMS persistent messages can have guaranteed delivery Producer 4) Send() return 1) Send 3) Ack 2) Persist JMS Provider 7) Remove 5) Receive 6) Ack Consumer Persistent Store
83 JMS producers can participate in Distributed Transactions TRANSACTION CheckOut EJB EJB EJB update send update Order DB JMS msg Queue Inventory DB
84 Message-Driven Bean High Scalability MDB instances are pooled by the container Allow for asynchronous concurrent message consumption from the same destination Container JMS Provider Desti Consume MDB n- Consumer r ation Queue Container Msgdriven MDB Instances Bean Instances Msg-driven Bean Class
85 MDBs can participate in Distributed Transactions TRANSACTION Purchase Order Queue Publish/subscribe MessageDrivenBean Mail JMS Topics Process Order Procure Inventory <Entity EJB> Order Bean <Entity EJB> Inventory Management Bean
86 MDB Facade Pattern With Local Entity Beans Asynchronous message delivery Order Approval MDB Relationship Reference Line Item Entity 1:m Purchase Order Entity Mailer MDB Address Entity EJB Tier Card Entity
87 Use JMS for Event-Driven Interactions Designing for Event-driven interactions: Loose coupling among participants Not interface driven Your choice: Message Driven Beans Serves as an asynchronous facade to a subsystem or an application
88 Message Driven Bean Join Pattern Join pattern MDB Collects different messages Stores to same set of entity beans Reserve Equipment Equipment Info Setup Office Furnished Office Human Resources NewHire Reserve Office Assigned Office Add to Payroll Paycheck Happy New Hire
89 Modeling Workflow With JMS Designate activity boundaries with Send messages to destinations Receive messages with MDBs Broadcast events with Topics for fan-out Use Join MDB pattern for fan-in Use transactions for guaranteed message delivery Separate transition logic from business logic by using Transition Delegates
90 PetStore Order Processing Scenario Asynchronously send Purchase Order document to the order fulfillment center Requirements: Async interaction Document centric Guaranteed delivery Transactional semantics Petstore Website PO Fulfillment Center
91 Example From the Pet Store Application Web Site MDB Manage Order Flow MDB MDB Queue MDB Verify Credit Transition Delegate Topic MDB Ship Order Notify Customer MDB MDB Transition Delegate Topic Queue Transition Delegate MDB Invoice Order
92 JMS Design Decisions and Recommendations Use XML documents over JMS Use Message-driven beans Use container managed transactions Makes delivery part of transaction Use persistent messages for reliability
93 Presentation Agenda J2EE Architecture Fundamentals J2EE Design Process Web Tier Best Practices EJB Tier Best Practices Web Services Best Practices
94 Web Services Tiered Architecture Internet Web Servers J2EE Application Servers RDBMS Data Base Legacy Systems SOAP HTTP RMI JMS JDBC JMS ERP SAP Message handling Soap Broker Business Logic Enterprise Resources Web Service Processing Business Services Domain Objects EAI
95 XML Messaging Communication Styles RPC-oriented Document-oriented MOM
96 RPC-oriented Style Request Credit check requestor Response Credit check service Synchronous, point to point, msg not persistent Sends data formatted as arguments Must know method arguments, exposes internals object model imposed on the client
97 Document-oriented Style Business Document Order Entry Web Server Assign De- Order # Compose Customer # Order Coffee x Billing Fulfillment System Coffee y Fulfillment Bean z Fulfillment Special Order Assemble Package Warehouse Management Bill Customer Payment Ship Package Shipment Tracking Accounts Receivable Collection Order Complete
98 Document-oriented Style Data formatted as a XML Business Document Useful for larger amounts, coarse-grained data Typically initiates a business process flow Asynchronous service interactions Service object model not imposed on the client Loosely coupled Service only uses the message items it needs, ignores the rest
99 Enterprise XML Messaging JMS Enterprise Application Integration, Business Process Integration Broadcast Business Event Intranet Servers Business process update Topic Queue Servers Queue Business process update Office Systems
100 RPC style Web Services and the J2EE Platform JAX- RPC Soap Handler Business Services Domain Objects EAI Resource Adapters RDBMS Data Base Web Component Stateless Session EJB Entity EJB DAO Connector Legacy Systems MDB ERP
101 Document style Web Services and the J2EE Platform JAXM or JAX-RPC Soap Handler Web Component Message Services MDB Business Services Session EJB Domain Objects Entity EJB EAI Resource Adapters DAO RDBMS Data Base Business Document MDB Session EJB Entity EJB Connector Legacy Systems MDB ERP
102 PetStore example Asynchronous WS Accessing asynchronous services with JAX-RPC Servlet sends requests as JMS API-based EJB Client may receive results via polling or callback Client Web Container JAX-RPC Servlet Endpoint JMS EJB Container MDB Entity Persistence MDB Connector EIS
103 Wrapping Legacy Applications Make available with JAX-RPC API Use Connectors from Web or EJB tier Client Web Container JAX-RPC Servlet Endpoint EJB Container EJB Connector Connector EIS EIS
104 Handling Incoming Documents With EJB Components Fragment and dispatch incoming XML documents to appropriate services Avoids transferring Account Processing unnecessary information Simplifies XML XML Workflow Engine Credit Card Processing processing logic Decouples services DOM Fragment Serialized XML Java Objects Purchase Order Processing
105 Recommendations: J2EE Platform-Based Apps as Web Services remote call concerns: Fine-grained services are flexible but incur network overhead Coarse-grained services minimize overhead but are less flexible Prefer coarse-grained services Consolidate multiple operations Minimizes expensive remote invocations
106 Recommendations: J2EE Platform-Based Apps as Web Services For Object-centric processing model Use RPC with arguments/return values that map well to Java classes For Document-centric processing model Prefer to pass XML documents as javax.xml.transform.source Or pass URLs to XML source documents Pass metadata, processing requirements, etc. in RPC arguments
107 Summary of XML messaging JAX-RPC JAXM JMS Main Concepts remote message MOM method call document Synchronous P2P Yes Yes No+ Publish/Subscribe No No Yes Reliability No Yes * Yes Asynchronous Yes Yes * Yes Non Java clients Yes Yes No XML Support Yes Yes Yes # * with JAXM API Provider + always goes through MOM # XML in form of Text message. No SOAP support
108
109 Resources & Summary
110 J2EE Blueprints: Guidelines and Best practices for J2EE applications includes: Application (source code) Java Pet Store Book FREE:
111 Core J2EE Patterns Patterns Catalog Best Practices Refactoring Bad Practices Core J2EE Patterns Released JavaOne 2001
112 In pursuit of the best software in the universe All presentations Audiocasts Demos Codecamp materials Technology briefings code/articles/links/chats/resources
EJB ENTERPRISE JAVA BEANS INTRODUCTION TO ENTERPRISE JAVA BEANS, JAVA'S SERVER SIDE COMPONENT TECHNOLOGY. EJB Enterprise Java
EJB Enterprise Java EJB Beans ENTERPRISE JAVA BEANS INTRODUCTION TO ENTERPRISE JAVA BEANS, JAVA'S SERVER SIDE COMPONENT TECHNOLOGY Peter R. Egli 1/23 Contents 1. What is a bean? 2. Why EJB? 3. Evolution
More informationWhat Is Needed. Learning the technology is not enough Industry best practices Proven solutions How to avoid bad practices? a Real-life Example.
1 Push J2EE your Best development Practices further using a Real-life Example. Casey Chan nology Evangelist casey.chan@sun.com Push ebay your Architecture: development furtherhow to Go From there Microsoft
More informationIntroduction. Enterprise Java Instructor: Please introduce yourself Name Experience in Java Enterprise Edition Goals you hope to achieve
Enterprise Java Introduction Enterprise Java Instructor: Please introduce yourself Name Experience in Java Enterprise Edition Goals you hope to achieve Course Description This course focuses on developing
More informationTAKE IT TO THE NTH. J2EE Overview and going forward
TAKE IT TO THE NTH J2EE Overview - 1.3 and going forward TAKE IT TO THE NTH Peter Karlsson Peter.Karlsson@sun.com www.sun.com/xml Technology Evangelist Sun Microsystems Agenda A Quick J2EE Overview J2EE
More informationChapter 6 Enterprise Java Beans
Chapter 6 Enterprise Java Beans Overview of the EJB Architecture and J2EE platform The new specification of Java EJB 2.1 was released by Sun Microsystems Inc. in 2002. The EJB technology is widely used
More informationSocket attaches to a Ratchet. 2) Bridge Decouple an abstraction from its implementation so that the two can vary independently.
Gang of Four Software Design Patterns with examples STRUCTURAL 1) Adapter Convert the interface of a class into another interface clients expect. It lets the classes work together that couldn't otherwise
More informationSUN Sun Certified Enterprise Architect for J2EE 5. Download Full Version :
SUN 310-052 Sun Certified Enterprise Architect for J2EE 5 Download Full Version : http://killexams.com/pass4sure/exam-detail/310-052 combination of ANSI SQL-99 syntax coupled with some company-specific
More information1Z Oracle. Java Enterprise Edition 5 Enterprise Architect Certified Master
Oracle 1Z0-864 Java Enterprise Edition 5 Enterprise Architect Certified Master Download Full Version : http://killexams.com/pass4sure/exam-detail/1z0-864 Answer: A, C QUESTION: 226 Your company is bidding
More informationJ2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format.
J2EE Development Detail: Audience www.peaksolutions.com/ittraining Java developers, web page designers and other professionals that will be designing, developing and implementing web applications using
More informationImplementing a Web Service p. 110 Implementing a Web Service Client p. 114 Summary p. 117 Introduction to Entity Beans p. 119 Persistence Concepts p.
Acknowledgments p. xvi Introduction p. xvii Overview p. 1 Overview p. 3 The Motivation for Enterprise JavaBeans p. 4 Component Architectures p. 7 Divide and Conquer to the Extreme with Reusable Services
More informationJava Enterprise Edition
Java Enterprise Edition The Big Problem Enterprise Architecture: Critical, large-scale systems Performance Millions of requests per day Concurrency Thousands of users Transactions Large amounts of data
More informationNetBeans IDE Field Guide
NetBeans IDE Field Guide Copyright 2005 Sun Microsystems, Inc. All rights reserved. Table of Contents Extending Web Applications with Business Logic: Introducing EJB Components...1 EJB Project type Wizards...2
More informationWeb Application Development Using JEE, Enterprise JavaBeans and JPA
Web Application Development Using JEE, Enterprise Java and JPA Duration: 35 hours Price: $750 Delivery Option: Attend training via an on-demand, self-paced platform paired with personal instructor facilitation.
More informationOracle 10g: Build J2EE Applications
Oracle University Contact Us: (09) 5494 1551 Oracle 10g: Build J2EE Applications Duration: 5 Days What you will learn Leading companies are tackling the complexity of their application and IT environments
More informationEnterprise JavaBeans. Layer:07. Entity
Enterprise JavaBeans Layer:07 Entity Agenda Build entity beans. Describe the bean's lifecycle. Describe the server's free pool. Copyright (C) 2001 2 Entity Beans Purpose Entity beans represent business
More informationJ2EE Interview Questions
1) What is J2EE? J2EE Interview Questions J2EE is an environment for developing and deploying enterprise applications. The J2EE platform consists of a set of services, application programming interfaces
More information(9A05803) WEB SERVICES (ELECTIVE - III)
1 UNIT III (9A05803) WEB SERVICES (ELECTIVE - III) Web services Architecture: web services architecture and its characteristics, core building blocks of web services, standards and technologies available
More informationEnterprise JavaBeans: BMP and CMP Entity Beans
CIS 386 Course Advanced Enterprise Java Programming Enterprise JavaBeans: BMP and CMP Entity Beans René Doursat Guest Lecturer Golden Gate University, San Francisco February 2003 EJB Trail Session Beans
More informationIntegrating Legacy Assets Using J2EE Web Services
Integrating Legacy Assets Using J2EE Web Services Jonathan Maron Oracle Corporation Page Agenda SOA-based Enterprise Integration J2EE Integration Scenarios J2CA and Web Services Service Enabling Legacy
More informationWeb Application Development Using JEE, Enterprise JavaBeans and JPA
Web Application Development Using JEE, Enterprise Java and JPA Duration: 5 days Price: $2795 *California residents and government employees call for pricing. Discounts: We offer multiple discount options.
More informationCOURSE 9 DESIGN PATTERNS
COURSE 9 DESIGN PATTERNS CONTENT Applications split on levels J2EE Design Patterns APPLICATION SERVERS In the 90 s, systems should be client-server Today, enterprise applications use the multi-tier model
More informationSCBCD EXAM STUDY KIT. Paul Sanghera CX JAVA BUSINESS COMPONENT DEVELOPER CERTIFICATION FOR EJB MANNING. Covers all you need to pass
CX-310-090 SCBCD EXAM STUDY KIT JAVA BUSINESS COMPONENT DEVELOPER CERTIFICATION FOR EJB Covers all you need to pass Includes free download of a simulated exam You will use it even after passing the exam
More informationAppendix A - Glossary(of OO software term s)
Appendix A - Glossary(of OO software term s) Abstract Class A class that does not supply an implementation for its entire interface, and so consequently, cannot be instantiated. ActiveX Microsoft s component
More informationOracle9iAS Tech nicaloverview
Oracle9iAS Tech nicaloverview e-business Integration Management & Security Portals Sandor Nieuwenhuijs Manh-Kiet Yap J2EE & Web Services 9iAS EMEA Product Management Oracle Corporation Business Intelligence
More informationDeccansoft Software Services. J2EE Syllabus
Overview: Java is a language and J2EE is a platform which implements java language. J2EE standard for Java 2 Enterprise Edition. Core Java and advanced java are the standard editions of java whereas J2EE
More informationCO Java EE 7: Back-End Server Application Development
CO-85116 Java EE 7: Back-End Server Application Development Summary Duration 5 Days Audience Application Developers, Developers, J2EE Developers, Java Developers and System Integrators Level Professional
More informationpresentation DAD Distributed Applications Development Cristian Toma
Lecture 12 S4 - Core Distributed Middleware Programming in JEE Distributed Development of Business Logic Layer presentation DAD Distributed Applications Development Cristian Toma D.I.C.E/D.E.I.C Department
More informationCourse Content for Java J2EE
CORE JAVA Course Content for Java J2EE After all having a lot number of programming languages. Why JAVA; yet another language!!! AND NOW WHY ONLY JAVA??? PART-1 Basics & Core Components Features and History
More informationCOMP9321 Web Application Engineering
COMP9321 Web Application Engineering Design Patterns II Dr. Basem Suleiman Service Oriented Computing Group, CSE, UNSW Australia Semester 1, 2016, Week 7 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid=2442
More informationMulti-tier architecture performance analysis. Papers covered
Multi-tier architecture performance analysis Papers covered Emmanuel Cecchet, Julie Marguerie, Willy Zwaenepoel: Performance and Scalability of EJB Applications. OOPSLA 02 Yan Liu, Alan Fekete, Ian Gorton:
More informationMigrating traditional Java EE applications to mobile
Migrating traditional Java EE applications to mobile Serge Pagop Sr. Channel MW Solution Architect, Red Hat spagop@redhat.com Burr Sutter Product Management Director, Red Hat bsutter@redhat.com 2014-04-16
More informationDESIGN PATTERN - INTERVIEW QUESTIONS
DESIGN PATTERN - INTERVIEW QUESTIONS http://www.tutorialspoint.com/design_pattern/design_pattern_interview_questions.htm Copyright tutorialspoint.com Dear readers, these Design Pattern Interview Questions
More informationJava EE Patterns 176
Java EE Patterns 176 What are Java EE Patterns?! " A collection of Java EE based solutions to common problems! " Address reoccurring problems found in enterprise class systems! " Intended to meet quality
More informationDistributed Systems. Messaging and JMS Distributed Systems 1. Master of Information System Management
Distributed Systems Messaging and JMS 1 Example scenario Scenario: Store inventory is low This impacts multiple departments Inventory Sends a message to the factory when the inventory level for a product
More informationPASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year
PASS4TEST IT Certification Guaranteed, The Easy Way! \ http://www.pass4test.com We offer free update service for one year Exam : 0B0-105 Title : BEA8.1 Certified Architect:Enterprise Architecture Vendors
More informationApplication Servers in E-Commerce Applications
Application Servers in E-Commerce Applications Péter Mileff 1, Károly Nehéz 2 1 PhD student, 2 PhD, Department of Information Engineering, University of Miskolc Abstract Nowadays there is a growing demand
More information3C05 - Advanced Software Engineering Thursday, April 29, 2004
Distributed Software Architecture Using Middleware Avtar Raikmo Overview Middleware What is middleware? Why do we need middleware? Types of middleware Distributed Software Architecture Business Object
More informationJava EE 7: Back-End Server Application Development
Oracle University Contact Us: Local: 0845 777 7 711 Intl: +44 845 777 7 711 Java EE 7: Back-End Server Application Development Duration: 5 Days What you will learn The Java EE 7: Back-End Server Application
More informationCMP 436/774. Introduction to Java Enterprise Edition. Java Enterprise Edition
CMP 436/774 Introduction to Java Enterprise Edition Fall 2013 Department of Mathematics and Computer Science Lehman College, CUNY 1 Java Enterprise Edition Developers today increasingly recognize the need
More informationWork groups meeting 3
Work groups meeting 3 INF5040 (Open Distributed Systems) Sabita Maharjan sabita@simula.no Department of Informatics University of Oslo September 07, 2009 Design Patterns J2EE Design Patterns Outline EIS
More informationNotes. Submit homework on Blackboard The first homework deadline is the end of Sunday, Feb 11 th. Final slides have 'Spring 2018' in chapter title
Notes Ask course content questions on Slack (is651-spring-2018.slack.com) Contact me by email to add you to Slack Make sure you checked Additional Links at homework page before you ask In-class discussion
More informationthese methods, remote clients can access the inventory services provided by the application.
666 ENTERPRISE BEANS 18 Enterprise Beans problems. The EJB container not the bean developer is responsible for system-level services such as transaction management and security authorization. Second, because
More informationENTERPRISE beans are the J2EE components that implement Enterprise Java-
18 Enterprise Beans ENTERPRISE beans are the J2EE components that implement Enterprise Java- Beans (EJB) technology. Enterprise beans run in the EJB container, a runtime environment within the J2EE server
More informationindex_ qxd 7/18/02 11:48 AM Page 259 Index
index_259-265.qxd 7/18/02 11:48 AM Page 259 Index acceptance testing, 222 activity definition, 249 key concept in RUP, 40 Actor artifact analysis and iterative development, 98 described, 97 136 in the
More informationFast Track to EJB 3.0 and the JPA Using JBoss
Fast Track to EJB 3.0 and the JPA Using JBoss The Enterprise JavaBeans 3.0 specification is a deep overhaul of the EJB specification that is intended to improve the EJB architecture by reducing its complexity
More informationEnterprise JavaBeans TM
Enterprise JavaBeans TM Linda DeMichiel Sun Microsystems, Inc. Agenda Quick introduction to EJB TM Major new features Support for web services Container-managed persistence Query language Support for messaging
More information~ Ian Hunneybell: CBSD Revision Notes (07/06/2006) ~
1 Component: Szyperski s definition of a component: A software component is a unit of composition with contractually specified interfaces and explicit context dependencies only. A software component can
More informationVision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1
Umair Javed 2004 J2EE Based Distributed Application Architecture Overview Lecture - 2 Distributed Software Systems Development Why J2EE? Vision of J2EE An open standard Umbrella for anything Java-related
More information"Charting the Course... Mastering EJB 3.0 Applications. Course Summary
Course Summary Description Our training is technology centric. Although a specific application server product will be used throughout the course, the comprehensive labs and lessons geared towards teaching
More informationJAVA COURSES. Empowering Innovation. DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP
2013 Empowering Innovation DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP contact@dninfotech.com www.dninfotech.com 1 JAVA 500: Core JAVA Java Programming Overview Applications Compiler Class Libraries
More informationFast Track to Java EE
Java Enterprise Edition is a powerful platform for building web applications. This platform offers all the advantages of developing in Java plus a comprehensive suite of server-side technologies. This
More informationCAS 703 Software Design
Dr. Ridha Khedri Department of Computing and Software, McMaster University Canada L8S 4L7, Hamilton, Ontario Acknowledgments: Material based on Software by Tao et al. (Chapters 9 and 10) (SOA) 1 Interaction
More informationServices Oriented Architecture and the Enterprise Services Bus
IBM Software Group Services Oriented Architecture and the Enterprise Services Bus The next step to an on demand business Geoff Hambrick Distinguished Engineer, ISSW Enablement Team ghambric@us.ibm.com
More informationJ2EE AntiPatterns. Bill Dudney. Object Systems Group Copyright 2003, Object Systems Group
J2EE AntiPatterns Bill Dudney Object Systems Group bill@dudney.net Bill Dudney J2EE AntiPatterns Page 1 Agenda What is an AntiPattern? What is a Refactoring? AntiPatterns & Refactorings Persistence Service
More informationA domain model-centric approach to J2EE development. Keiron McCammon CTO Versant Corporation
A domain model-centric approach to J2EE development Keiron McCammon CTO Versant Corporation 1 Patterns of Enterprise Application Architecture Martin Fowler, at. al. Overview What is a domain model centric
More informationArchitect Exam Guide. OCM EE 6 Enterprise. (Exams IZO-807,1ZO-865 & IZO-866) Oracle Press ORACLG. Paul R* Allen and Joseph J.
ORACLG Oracle Press OCM Java@ EE 6 Enterprise Architect Exam Guide (Exams IZO-807,1ZO-865 & IZO-866) Paul R* Allen and Joseph J. Bambara McGraw-Hill Education is an independent entity from Oracle Corporation
More informationEnterprise JavaBeans, Version 3 (EJB3) Programming
Enterprise JavaBeans, Version 3 (EJB3) Programming Description Audience This course teaches developers how to write Java Enterprise Edition (JEE) applications that use Enterprise JavaBeans, version 3.
More informationJava- EE Web Application Development with Enterprise JavaBeans and Web Services
Java- EE Web Application Development with Enterprise JavaBeans and Web Services Duration:60 HOURS Price: INR 8000 SAVE NOW! INR 7000 until December 1, 2011 Students Will Learn How to write Session, Message-Driven
More informationIBM WebSphere Application Server. J2EE Programming Model Best Practices
IBM WebSphere Application Server J2EE Programming Model Best Practices Requirements Matrix There are four elements of the system requirements: business process and application flow dynamic and static aspects
More informationProblems in Scaling an Application Client
J2EE What now? At this point, you understand how to design servers and how to design clients Where do you draw the line? What are issues in complex enterprise platform? How many servers? How many forms
More informationScaling Out Tier Based Applications
Scaling Out Tier Based Applications Nati Shalom CTO GigaSpaces www.gigaspaces.com TS-1595 2006 JavaOne SM Conference Session TS-1595 Objectives Learn how to transform existing tier-based applications into
More informationService-Oriented Architecture (SOA)
Service-Oriented Architecture (SOA) SOA is a software architecture in which reusable services are deployed into application servers and then consumed by clients in different applications or business processes.
More informationEnterprise Java and Rational Rose -- Part I
Enterprise Java and Rational Rose -- Part I by Khawar Ahmed Technical Marketing Engineer Rational Software Loïc Julien Software Engineer Rational Software "We believe that the Enterprise JavaBeans component
More informationWork groups meeting 3
Work groups meeting 3 INF5040 (Open Distributed Systems) Amir Taherkordi amirhost@ifi.uio.no Department of Informatics University of Oslo September 18, 2008 Design Patterns J2EE Design Patterns AntiPatterns
More informationExample Purchase request JMS & MDB. Example Purchase request. Agenda. Purpose. Solution. Enterprise Application Development using J2EE
Enterprise Application Development using J2EE Shmulik London Lecture #8 JMS & MDB Example Purchase request Consider an online store A customer browse the catalog and add items to his/her shopping cart
More informationIn the most general sense, a server is a program that provides information
d524720 Ch01.qxd 5/20/03 8:37 AM Page 9 Chapter 1 Introducing Application Servers In This Chapter Understanding the role of application servers Meeting the J2EE family of technologies Outlining the major
More informationBasic Properties of Styles
Component-Based Software Engineering ECE493-Topic 5 Winter 2007 Lecture 18 Enterprise Styles/Patterns (Part A) Ladan Tahvildari Assistant Professor Dept. of Elect. & Comp. Eng. University of Waterloo Basic
More informationExam Questions 1Z0-895
Exam Questions 1Z0-895 Java Platform, Enterprise Edition 6 Enterprise JavaBeans Developer Certified Expert Exam https://www.2passeasy.com/dumps/1z0-895/ QUESTION NO: 1 A developer needs to deliver a large-scale
More informationSoftware Design COSC 4353/6353 DR. RAJ SINGH
Software Design COSC 4353/6353 DR. RAJ SINGH Outline What is SOA? Why SOA? SOA and Java Different layers of SOA REST Microservices What is SOA? SOA is an architectural style of building software applications
More informationWeb Presentation Patterns (controller) SWEN-343 From Fowler, Patterns of Enterprise Application Architecture
Web Presentation Patterns (controller) SWEN-343 From Fowler, Patterns of Enterprise Application Architecture Objectives Look at common patterns for designing Web-based presentation layer behavior Model-View-Control
More informationDesigning a Distributed System
Introduction Building distributed IT applications involves assembling distributed components and coordinating their behavior to achieve the desired functionality. Specifying, designing, building, and deploying
More informationOracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand)
Oracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand) Code: URL: D101074GC10 View Online The Developing Applications for the Java EE 7 Platform training teaches you how
More informationChapter 6 Object Persistence, Relationships and Queries
Prof. Dr.-Ing. Stefan Deßloch AG Heterogene Informationssysteme Geb. 36, Raum 329 Tel. 0631/205 3275 dessloch@informatik.uni-kl.de Chapter 6 Object Persistence, Relationships and Queries Object Persistence
More informationEnterprise JavaBeans (I) K.P. Chow University of Hong Kong
Enterprise JavaBeans (I) K.P. Chow University of Hong Kong JavaBeans Components are self contained, reusable software units that can be visually composed into composite components using visual builder
More information<Insert Picture Here> WebLogic JMS Messaging Infrastructure WebLogic Server 11gR1 Labs
WebLogic JMS Messaging Infrastructure WebLogic Server 11gR1 Labs Messaging Basics Built-in Best-of-Breed Messaging (JMS) Engine Years of hardening. Strong performance.
More informationClient/Server-Architecture
Client/Server-Architecture Content Client/Server Beginnings 2-Tier, 3-Tier, and N-Tier Architectures Communication between Tiers The Power of Distributed Objects Managing Distributed Systems The State
More informationUNIT-III EJB APPLICATIONS
UNIT-III EJB APPLICATIONS CONTENTS EJB Session Beans EJB entity beans EJB clients EJB Deployment Building an application with EJB. EJB Types Types of Enterprise Beans Session beans: Also called business
More informationCERTIFICATION SUCCESS GUIDE ENTERPRISE ARCHITECT FOR JAVA 2 PLATFORM, ENTERPRISE EDITION (J2EE ) TECHNOLOGY
SUN CERTIFICATION CERTIFICATION SUCCESS GUIDE ENTERPRISE ARCHITECT FOR JAVA 2 PLATFORM, ENTERPRISE EDITION (J2EE ) TECHNOLOGY TABLE OF CONTENTS Introduction..............................................
More informationIntroduction to componentbased software development
Introduction to componentbased software development Nick Duan 8/31/09 1 Overview What is a component? A brief history of component software What constitute the component technology? Components/Containers/Platforms
More informationJava EE 6: Develop Business Components with JMS & EJBs
Oracle University Contact Us: + 38516306373 Java EE 6: Develop Business Components with JMS & EJBs Duration: 4 Days What you will learn This Java EE 6: Develop Business Components with JMS & EJBs training
More informationEnterprise JavaBeans 3.1
SIXTH EDITION Enterprise JavaBeans 3.1 Andrew Lee Rubinger and Bill Burke O'REILLY* Beijing Cambridge Farnham Kbln Sebastopol Tokyo Table of Contents Preface xv Part I. Why Enterprise JavaBeans? 1. Introduction
More informationJava J Course Outline
JAVA EE - J2SE - CORE JAVA After all having a lot number of programming languages. Why JAVA; yet another language!!! AND NOW WHY ONLY JAVA??? CHAPTER 1: INTRODUCTION What is Java? History Versioning The
More informationToday: Distributed Objects. Distributed Objects
Today: Distributed Objects Case study: EJBs (Enterprise Java Beans) Case study: CORBA Lecture 23, page 1 Distributed Objects Figure 10-1. Common organization of a remote object with client-side proxy.
More informationModule 3 Web Component
Module 3 Component Model Objectives Describe the role of web components in a Java EE application Define the HTTP request-response model Compare Java servlets and JSP components Describe the basic session
More informationTeamcenter Global Services Customization Guide. Publication Number PLM00091 J
Teamcenter 10.1 Global Services Customization Guide Publication Number PLM00091 J Proprietary and restricted rights notice This software and related documentation are proprietary to Siemens Product Lifecycle
More informationPOJOs to the rescue. Easier and faster development with POJOs and lightweight frameworks
POJOs to the rescue Easier and faster development with POJOs and lightweight frameworks by Chris Richardson cer@acm.org http://chris-richardson.blog-city.com 1 Who am I? Twenty years of software development
More informationEnterprise Java Security Fundamentals
Pistoia_ch03.fm Page 55 Tuesday, January 6, 2004 1:56 PM CHAPTER3 Enterprise Java Security Fundamentals THE J2EE platform has achieved remarkable success in meeting enterprise needs, resulting in its widespread
More informationJ2EE - Version: 25. Developing Enterprise Applications with J2EE Enterprise Technologies
J2EE - Version: 25 Developing Enterprise Applications with J2EE Enterprise Technologies Developing Enterprise Applications with J2EE Enterprise Technologies J2EE - Version: 25 5 days Course Description:
More informationUnderstanding and Designing with EJB
Understanding and Designing with EJB B.Ramamurthy Based on j2eetutorial documentation. http://java.sun.com/j2ee/tutorial/1_3-fcs/index.html 3/31/2003 1 Review Request/Response Model Distributed Objects:
More informationJava Training For Six Weeks
Java Training For Six Weeks Java is a set of several computer software and specifications developed by Sun Microsystems, later acquired by Oracle Corporation that provides a system for developing application
More informationTOPLink for WebLogic. Whitepaper. The Challenge: The Solution:
Whitepaper The Challenge: Enterprise JavaBeans (EJB) represents a new standard in enterprise computing: a component-based architecture for developing and deploying distributed object-oriented applications
More informationDistributed Middleware. Distributed Objects
Distributed Middleware Distributed objects DCOM CORBA EJBs Jini Lecture 25, page 1 Distributed Objects Figure 10-1. Common organization of a remote object with client-side proxy. Lecture 25, page 2 Distributed
More informationEnterprise JavaBeans. Layer:01. Overview
Enterprise JavaBeans Layer:01 Overview Agenda Course introduction & overview. Hardware & software configuration. Evolution of enterprise technology. J2EE framework & components. EJB framework & components.
More informationElectronic Payment Systems (1) E-cash
Electronic Payment Systems (1) Payment systems based on direct payment between customer and merchant. a) Paying in cash. b) Using a check. c) Using a credit card. Lecture 24, page 1 E-cash The principle
More informationOracle Developer Day
Oracle Developer Day Sponsored by: Session 2 Oracle Application Development Framework Speaker Speaker Title Page 1 1 Agenda Development Environment Expectations Challenges Oracle ADF Architecture Business
More informationRealtests.1z QA
Realtests.1z0-864.238.QA Number: 1z0-864 Passing Score: 800 Time Limit: 120 min File Version: 11.8 http://www.gratisexam.com/ Nicely written Questions with many corrections inside. Now sum up more relevant
More informationWebSphere Application Server - Overview
IBM Italia SpA WebSphere Application Server - Overview Marco Dragoni IBM Software Group Technical Sales Specialist IBM Italia S.p.A. Milan, 07 January 2008 2007 IBM Corporation Agenda IBM Value Assessment
More informationOracle EXAM - 1Z Java EE 6 Enterprise JavaBeans Developer Certified Expert Exam. Buy Full Product.
Oracle EXAM - 1Z0-895 Java EE 6 Enterprise JavaBeans Developer Certified Expert Exam Buy Full Product http://www.examskey.com/1z0-895.html Examskey Oracle 1Z0-895 exam demo product is here for you to test
More informationProjects. How much new information can fit in your brain? Corporate Trainer s Profile TECHNOLOGIES
Corporate Solutions Pvt. Ltd. How much new information can fit in your brain? Courses Core Java+Advanced Java+J2EE+ EJP+Struts+Hibernate+Spring Certifications SCJP, SCWD, SCBCD, J2ME Corporate Trainer
More informationEssential Software Architecture
Essential Software Architecture Session 4: A Guide to Middleware Architectures and Technologies 1 Introduction Middleware is the plumbing or wiring of IT applications Provides applications with fundamental
More information