Business-Driven Software Engineering (6.Vorlesung) Bean Interaction, Configuration, Transactions, Security Thomas Gschwind <thg at zurich.ibm.
|
|
- Claude Oliver
- 6 years ago
- Views:
Transcription
1 Business-Driven Software Engineering (6.Vorlesung) Bean Interaction, Configuration, Transactions, Security Thomas Gschwind <thg at zurich.ibm.com>
2 Agenda Bean Interaction and Configuration Bean Lookup References Resource Factories Configuration Transactions Basics Declarative Transaction Handling Programmatic Transaction Handling Advanced Topics EJB Security Authentication Authorization Security Propagation Demo 2
3 Agenda Bean Interaction and Configuration Bean Lookup References Resource Factories Configuration Transactions Basics Declarative Transaction Handling Programmatic Transaction Handling Advanced Topics EJB Security Authentication Authorization Security Propagation Demo 3
4 Sample EJB Component System Browsers Other Systems Messaging Clients Thick Clients HTTP Servlets/JSPs SOAP Web Services JMS RMI-IIOP RMI-IIOP RMI-IIOP Application Server Message Driven Bean Session Bean Session Bean Entity Bean Session Bean Entity Bean Session Bean 4
5 Bean Lookup Option 1: Use JNDI similarly as used by clients Use the session context to look up a bean More efficient, since no InitialContext object needs to be SessionContext context; OtherBean bean = (OtherBean) context.lookup(otherbean.class.getname()); Option 2: In EJB 3.0, use OtherBean bean; 5
6 Bean Customization Environment Properties Stored in Deployment descriptor <env-entry> <description>order in which quotes are returned.</description> <env-entry-name>quoteservice/order</env-entry-name> <env-entry-type>java.lang.string</env-entry-type> <env-entry-value>text</env-entry-value> </env-entry> 6
7 Bean Customization (cont d) Option 1: Again use JNDI Use the session context to look up a bean More efficient, since no InitialContext object needs to be SessionContext context; String order=(string) context.lookup("java:comp/env/quoteservice/order"); Option 2: In EJB 3.0, use = "QuoteService/order") String order; 7
8 Resource Factories Necessary for calling external resources Acquiring database connections JCA adapters Looked up through Context (similar to references) Use resource injection For EJB 3.0 entities, use persistence units 8
9 Agenda Bean Interaction and Configuration Bean Lookup References Resource Factories Configuration Transactions Basics Declarative Transaction Handling Programmatic Transaction Handling Advanced Topics EJB Security Authentication Authorization Security Propagation Demo 9
10 Why Transactions? Series of statements that execute like a single one Naive implementation Need to consider every possible error Error handling out of control (eg, network failures) Testing challenge try { // withdraw funds from // account 1 } catch(exception e) { // handle error return; } try { // deposit funds to // account 2 } catch(exception e) { // redeposit to account 1 // handle error return; } 10
11 Transactions Advantages Guarantee all-or-nothing execution Allow concurrent access to data Using Transactions Explicit middleware Programmed Implicit middleware Declarative 11
12 Transaction Properties Atomicity All or no statements will be executed In a distributed setting, achieved by voting Consistency Inconsistencies while transaction is running are OK No inconsistent state after transaction commits Isolation Changes from one transaction only visible after commit Achieved by locking database Durability Updates survive crashes Achieved using logs 12
13 Transactional Models Flat Transactions On abort no statement is executed Invalid parameters Constraint violation Failure On commit, all statements are executed 13
14 Transactional Models (cont d) Nested Transactions On abort, only nested transaction is rolled back Allows to find alternatives to complete transaction Ideal for long running transactions On commit only nested transaction completes Commit/rollback of global transaction => commit/rollback of nested transactions Not supported by EJB 14
15 Isolation Properties Read Uncommitted Read Committed Repeatable Read Serializable Definition of isolation properties not standardized 15
16 Distributed Transactions When? Multiple application servers Updates to different databases Whenever you have different communication partners How? Use a distributed transaction manager Two phase commit Phase one: send prepare Phase two: send commit/rollback No interoperability between application servers 16
17 Programmatic vs. Declarative Transactions Programmatic (bean-managed) Good if several smaller transactions required More powerful Only available for Session & Message Driven Beans Declarative (container-managed) Easy to use 17
18 Agenda Bean Interaction and Configuration Bean Lookup References Resource Factories Configuration Transactions Basics Declarative Transaction Handling Programmatic Transaction Handling Advanced Topics EJB Security Authentication Authorization Security Propagation Demo 18
19 Declarative Transactions EJB Container/Server Client 2. begin 1. transfer() Transaction EJB Object 5. commit/ Service abort 3. delegate <transaction-type> Container </transaction-type> Enterprise Bean 4.Business ops. 19
20 Declarative Public class BankBean implements BankRemote private EntityManager private SessionContext ctx; public void transfer(double amount, String from, String to) { // } 20
21 Declarative Transactions: Deployment Descriptor <assembly-descriptor> <container-transaction> <method> <ejb-name>tellerbean</ejb-name> <method-name>*</method-name> </method> <trans-attribute>required</trans-attribute> <container-transaction> <container-transaction> <method> <ejb-name>tellerbean</ejb-name> <method-name>deposit</method-name> <method-param>double</method-param> </method> <trans-attribute>required</trans-attribute> <container-transaction> </assembly-descriptor> 21
22 Transaction Attributes Required RequiresNew Supports Mandatory NotSupported Never 22
23 Controlling Transaction-Length EJB Container/Server Client 2. begin 1. transfer() Teller Transaction 6. commit/ EJB Object Service abort 3. delegate Teller Bean 4. withdraw 5. deposit <trans-attribute> Required </trans-attribute> Account 1 Account 2 23
24 Aborting a Transaction public void deposit(double amt) { balance+=amt; } public void withdraw(double amt) { if(balance-amt<creditline) ctx.setrollbackonly(); else balance-=amt; } Transaction may be aborted using ctx.setrollbackonly() Identify whether a transaction is in the aborted state with ctx.getrollbackonly() 24
25 Programmatic Transactions Client 1. method() EJB Container/Server Transaction Service EJB Object 2. delegate 3. begin Enterprise Bean 5. commit/ abort <transaction-type> Bean </transaction-type> 4.Business ops. 25
26 Programmatic Transactions (cont d) Use Java Transaction API (JTA) public interface javax.transaction.usertransaction { public void begin(); public void commit(); public int getstatus(); public void rollback(); public void setrollbackonly(); public void settransactiontimeout(int tmo); } 26
27 Programmatic Transactions private UserTransaction ut; public void deposit(double amt) throws AccountException { try { ut.begin(); balance+=amt; ut.commit(); } catch(exception e) { if(ut!=null) ut.rollback(); throw new AccountException("Error: "+e.getmessage()); } } 27
28 Programmatic Transactions (Ex.) public void deposit(double amt) throws AccountException { UserTransaction ut=null; try { ut=ctx.getusertransaction(); ut.begin(); balance+=amt; ut.commit(); } catch(exception e) { if(ut!=null) ut.rollback(); throw new AccountException("Error: "+e.getmessage()); } } 28
29 Agenda Bean Interaction and Configuration Bean Lookup References Resource Factories Configuration Transactions Basics Declarative Transaction Handling Programmatic Transaction Handling Advanced Topics EJB Security Authentication Authorization Security Propagation Demo 29
30 Transactional Callbacks Allows bean to react to committed/rolled back transactions Bean has to implement javax.ejb.sessionsynchronization interface afterbegin() beforecompletion() aftercompletion(boolean) true => commit, false => rollback Only for transactional, stateful, CMP session beans 30
31 Doomed Transactions Sometimes obvious that transaction cannot commit => Doom transaction Cont. managed => ctx.setrollbackonly() Bean managed => usertransaction.setrollbackonly() Overhead if statements until commit are executed => Query for doomed transactions Cont. managed => ctx.getrollbackonly() Bean managed => usertransaction.getstatus() 31
32 Client-Initiated Transactions Client 1. begin() 5. commit/abort() EJB Container/Server Transaction Service 2. method() EJB Object 3. delegate Enterprise Bean 4.Business ops. 32
33 Transactions from Client Code try { Properties props=system.getproperties(); Context ctx=new InitialContext(props); ut=(usertransaction) ctx.lookup("java:comp/usertransaction"); ut.begin(); // invoke server-side methods ut.commit(); } catch(exception e) { } Useful if client needs to identify commit Client-initiated distributed transactions Be careful! Performance! 33
34 Agenda Bean Interaction and Configuration Bean Lookup References Resource Factories Configuration Transactions Basics Declarative Transaction Handling Programmatic Transaction Handling Advanced Topics EJB Security Authentication Authorization Security Propagation Demo 34
35 EJB Security Java Authentication & Authorization Service (JAAS) Who am I? What may I? For Session and Entity beans Client Machine 1. Login Servlet/JSP Java App. Portable 4. Invoke JAAS API Vendor specif. logic Propietary Provider 2. Call server J2EE Server 3. Authenticate FooSecurity Inc. EJB Component 35
36 Authentication Client 5 6 Subject Action LoginContext 2 3 Configuration Login Module 3 J2EE Server 36
37 Authentication (cont d) Red: 1.Invoke new 2.Invoke new and getappconfigurationentry 3.Return list of LoginModules 4.Invoke new and initialize Blue: 1.Invoke getsubject 2.Invoke login 3.Authenticate with proprietary API 4.Invoke getsubject and receive subject 5.Invoke new 6.Invoke doas(subject, action) 7.Invoke run 8.Perform operation (invoked via the network) 37
38 Authorization Client Side public class QuoteClient { private static LoginContext logincontext = null; public static void login(string u, String p) throws LoginException { logincontext=new LoginContext("QuoteService", new UsernamePasswordHandler(u, p.tochararray())); logincontext.login(); } public static void logout() throws LoginException { logincontext.logout(); } public static void main(string[] args) throws Exception { Context ctx=new InitialContext(System.getProperties()); login(args[0],args[1]); QuoteServiceRemote quoteservice = (QuoteServiceRemote) ctx.lookup("quoteservice/remote"); 38
39 Authorization Client Side (cont d) The QuoteService login context needs to be defined The login context is retrieved from the file specified in the java.security.auth.login.config system property QuoteService { org.jboss.security.clientloginmodule required; }; -Djava.security.auth.login.config=login.config 39
40 Authorization Server Side Declarative Authorization Security logic defined in deployment descriptor May be changed more easily Programmatic Authorization Beans interlaced with security logic More powerful 40
41 Declarative user"}) public class QuoteService implements public Quote addquote(string text) { System.out.println("QuoteService.addQuote("+text+")"); if (ctx.getrollbackonly()) return null; Quote quote = new Quote(text); em.persist(quote); return quote; } } 41
42 Declarative Authorization Specifying permissions in the deployment descriptor <ejb-jar> <enterprise-beans> </enterprise-beans> <assembly-descriptor> <method-permission> <role-name>administrators</role-name> <method> <ejb-name>cookie</ejb-name> <method-name>*</method-name> </method> </method-permissions> 42
43 Declarative Authorization (cont d) <method-permission> <role-name>guests</role-name> <method> <ejb-name>cookieserver</ejb-name> <method-name>getcookie</method-name> <method-params>int</method-params> </method> </method-permissions> <exclude-list> <method> </method> </exclude-list> </assembly-descriptor> </ejb-jar> 43
44 Programmatic Authorization EJB context allows programmer to get authentication information Authorization may be performed on User information Roles Security roles defined in deployment descriptor public interface javax.ejb.ejbcontext { public java.security.principal getcallerprincipal(); public boolean iscallerinrole(string role); 44
45 Programmatic user"}) public class QuoteService implements QuoteServiceRemote, { public void updatequote(long quoteid, String text) { Quote quote = findquote(quoteid); String name = ctx.getcalleridentity().getname(); if(!ctx.iscallerinrole("administrators") &&!name.equals(quote.getowner())) { throw new SecurityException( "only admins and quote owner allowed to change quote"); } // change text of cookie } } 45
46 Users and Roles Where does the other SecurityDomain store users and roles? users.properties username = password roles.properties username = role1, role2, Other authentication modules exist that store user information in a database 46
47 Security Propagation How are security credentials passed between beans? Client credentials? Other credentials? Defined with annotation or in the Deployment Descriptor <entity> <ejb-name>cookie</ejb-name> <security-identity> <use-caller-identity> </security-identity> <security-identity> <run-as> <role-name>admins </role-name> </run-as> </security-identity> 47
48 Agenda Bean Interaction and Configuration Bean Lookup References Resource Factories Configuration Transactions Basics Declarative Transaction Handling Programmatic Transaction Handling Advanced Topics EJB Security Authentication Authorization Security Propagation Demo 48
49 Summary Bean Interaction and Configuration Bean Lookup References Resource Factories Configuration Transactions Basics Declarative Transaction Handling Programmatic Transaction Handling Advanced Topics EJB Security Authentication Authorization Security Propagation Demo 49
50 Review Questions Explain the ACID properties Explain the different isolation properties Explain the EJB transaction attributes How can you control the transaction length with the transaction attributes, give examples Explain the difference between container managed and bean managed transactions How do you set a transaction to be rollback only How do you check whether a transaction is rollback only and why would one need this Explain the difference between declarative and programmatic security management 50
51 Tasks 1. Experiment with the sample fro this lecture 2. Deactivate security in the client and connect to the server 3. Try logging in with an incorrect user/role 4. Play with the maxquotes parameter to trigger a rollback of the transaction 51
52 Outlook EJB Web Services Implementing Web Services with Session Beans Message-Driven Beans 52
Topics. Advanced Java Programming. Transaction Definition. Background. Transaction basics. Transaction properties
Advanced Java Programming Transactions v3 Based on notes by Wayne Brooks & Monson-Haefel, R Enterprise Java Beans 3 rd ed. Topics Transactions background Definition, basics, properties, models Java and
More informationPlan. Department of Informatics. Advanced Software Engineering Prof. J. Pasquier-Rocha Cours de Master en Informatique - SH 2003/04
Plan 1. Application Servers 2. Servlets, JSP, JDBC 3. J2EE: Vue d ensemble 4. Distributed Programming 5. Enterprise JavaBeans 6. Enterprise JavaBeans: Transactions 7. Prise de recul critique Enterprise
More informationJSpring and J2EE. Gie Indesteege Instructor & Consultant
JSpring 2004 Transactions and J2EE Gie Indesteege Instructor & Consultant gindesteege@abis.be Answer to Your Questions What is a transaction? Different transaction types? How can J2EE manage transactions?
More informationITdumpsFree. Get free valid exam dumps and pass your exam test with confidence
ITdumpsFree http://www.itdumpsfree.com Get free valid exam dumps and pass your exam test with confidence Exam : 310-090 Title : Sun Certified Business Component Developer for J2EE 1.3 Vendors : SUN Version
More informationExam Actual. Higher Quality. Better Service! QUESTION & ANSWER
Higher Quality Better Service! Exam Actual QUESTION & ANSWER Accurate study guides, High passing rate! Exam Actual provides update free of charge in one year! http://www.examactual.com Exam : 310-090 Title
More informationChapter 1 Introducing EJB 1. What is Java EE Introduction to EJB...5 Need of EJB...6 Types of Enterprise Beans...7
CONTENTS Chapter 1 Introducing EJB 1 What is Java EE 5...2 Java EE 5 Components... 2 Java EE 5 Clients... 4 Java EE 5 Containers...4 Introduction to EJB...5 Need of EJB...6 Types of Enterprise Beans...7
More informationJava EE / EJB Security
Berner Fachhochschule Technik und Informatik Java EE / EJB Security Course Multi Tier Business Applications with Java EE Prof. Dr. Eric Dubuis Berner Fachhochschule Biel Ambition Standard Security Modells
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 informationEnterprise Java Beans
Enterprise Java Beans Objectives Three Tiered Architecture Why EJB? What all we should know? EJB Fundamentals 2 Three Tiered Architecture Introduction Distributed three-tier design is needed for Increased
More informationDeveloping Portable Applications for the Java 2 Platform, Enterprise Edition (J2EE )
Developing Portable Applications for the Java 2 Platform, Enterprise Edition (J2EE ) Kevin Osborn, Philippe Hanrigou, Lance Andersen Sun Microsystems, Inc. Goal Learn how to develop portable applications
More informationUsing the Transaction Service
15 CHAPTER 15 Using the Transaction Service The Java EE platform provides several abstractions that simplify development of dependable transaction processing for applications. This chapter discusses Java
More informationOutline. Chapter 5 Application Server Middleware. Types of application server middleware. TP monitors CORBA Server-side components and EJB Summary
Prof. Dr.-Ing. Stefan Deßloch AG Heterogene Informationssysteme Geb. 36, Raum 329 Tel. 0631/205 3275 dessloch@informatik.uni-kl.de Chapter 5 Application Server Middleware Outline Types of application server
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 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 informationIBM. Enterprise Application Development with IBM Web Sphere Studio, V5.0
IBM 000-287 Enterprise Application Development with IBM Web Sphere Studio, V5.0 Download Full Version : http://killexams.com/pass4sure/exam-detail/000-287 QUESTION: 90 Which of the following statements
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 informationjar command Java Archive inherits from tar : Tape Archive commands: jar cvf filename jar tvf filename jar xvf filename java jar filename.
jar & jar files jar command Java Archive inherits from tar : Tape Archive commands: jar cvf filename jar tvf filename jar xvf filename java jar filename.jar jar file A JAR file can contain Java class files,
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 informationComponent-Based Software Engineering. ECE493-Topic 5 Winter Lecture 26 Java Enterprise (Part D)
Component-Based Software Engineering ECE493-Topic 5 Winter 2007 Lecture 26 Java Enterprise (Part D) Ladan Tahvildari Assistant Professor Dept. of Elect. & Comp. Eng. University of Waterloo J2EE Application
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 informationOracleAS 10g R3: Build J2EE Applications II
OracleAS 10g R3: Build J2EE Applications II Volume I Student Guide D18380GC10 Edition 1.0 April 2006 D45763 Authors David Loo Glenn Stokol Technical Contributors and Reviewers Michael Burke Dr. Ken Cooper
More informationUsing JNDI from J2EE components
Using JNDI from J2EE components Stand-alone Java program have to specify the location of the naming server when using JNDI private static InitialContext createinitialcontext() throws NamingException {
More informationCHAPTER 4 TRANSACTIONS
CHAPTER 4 TRANSACTIONS OBJECTIVES After completing Transactions, you will be able to: Describe the importance of transactions in enterprise-class software. Describe the EJB transaction model. Protect your
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 informationWHAT IS EJB. Security. life cycle management.
EJB WHAT IS EJB EJB is an acronym for enterprise java bean. It is a specification provided by Sun Microsystems to develop secured, robust and scalable distributed applications. To run EJB application,
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 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 information133 July 23, :01 pm
Protocol Between a Message-Driven Bean Instance and its ContainerEnterprise JavaBeans 3.2, Public Draft Message-Driven Bean When a message-driven bean using bean-managed transaction demarcation uses the
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 informationEnterprise JavaBeans. Layer:03. Session
Enterprise JavaBeans Layer:03 Session Agenda Build stateless & stateful session beans. Describe the bean's lifecycle. Describe the server's swapping mechanism. Last Revised: 10/2/2001 Copyright (C) 2001
More informationOutline. Chapter 5 Application Server Middleware WS 2010/11 1. Types of application server middleware
Prof. Dr.-Ing. Stefan Deßloch AG Heterogene Informationssysteme Geb. 36, Raum 329 Tel. 0631/205 3275 dessloch@informatik.uni-kl.de Chapter 5 Application Server Middleware Outline Types of application 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 informationOutline. Chapter 5 Application Server Middleware. Types of application server middleware. TP monitors CORBA Server-side components and EJB Summary
Prof. Dr.-Ing. Stefan Deßloch AG Heterogene Informationssysteme Geb. 36, Raum 329 Tel. 0631/205 3275 dessloch@informatik.uni-kl.de Chapter 5 Application Server Middleware Outline Types of application server
More informationCSE 530A ACID. Washington University Fall 2013
CSE 530A ACID Washington University Fall 2013 Concurrency Enterprise-scale DBMSs are designed to host multiple databases and handle multiple concurrent connections Transactions are designed to enable Data
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 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 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 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 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 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 informationITcertKing. The latest IT certification exam materials. IT Certification Guaranteed, The Easy Way!
ITcertKing The latest IT certification exam materials http://www.itcertking.com IT Certification Guaranteed, The Easy Way! Exam : 1Z0-860 Title : Java Enterprise Edition 5 Business Component Developer
More informationOverview p. 1 Server-side Component Architectures p. 3 The Need for a Server-Side Component Architecture p. 4 Server-Side Component Architecture
Preface p. xix About the Author p. xxii Introduction p. xxiii Overview p. 1 Server-side Component Architectures p. 3 The Need for a Server-Side Component Architecture p. 4 Server-Side Component Architecture
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 informationDeveloping JTA Applications for Oracle WebLogic Server 12c (12.2.1)
[1]Oracle Fusion Middleware Developing JTA Applications for Oracle WebLogic Server 12c (12.2.1) E55152-04 March 2016 This document is written for application developers who are interested in building transactional
More informationJava EE Architecture, Part Two. Java EE architecture, part two 1
Java EE Architecture, Part Two Java EE architecture, part two 1 Content Requirements on the Business layer Framework Independent Patterns Transactions Frameworks for the Business layer Java EE architecture,
More informationENTERPRISE JAVABEANS TM (EJB TM ) 3.1 TECHNOLOGY
ENTERPRISE JAVABEANS TM (EJB TM ) 3.1 TECHNOLOGY Kenneth Saks Senior Staff Engineer SUN Microsystems TS-5343 Learn what is planned for the next version of Enterprise JavaBeans (EJB ) technology 2008 JavaOne
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 informationPractice Test. Oracle 1z Java Enterprise Edition 5 Business Component Developer Certified Professional Upgrade Exam. Version: 14.
Oracle 1z0-861 Java Enterprise Edition 5 Business Component Developer Certified Professional Upgrade Exam Practice Test Version: 14.22 QUESTION NO: 1 A developer wants to create a business interface for
More informationSQL: Transactions. Introduction to Databases CompSci 316 Fall 2017
SQL: Transactions Introduction to Databases CompSci 316 Fall 2017 2 Announcements (Tue., Oct. 17) Midterm graded Sample solution already posted on Sakai Project Milestone #1 feedback by email this weekend
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 informationStateful Session Beans
Berner Fachhochschule Technik und Informatik Stateful Session Beans Course Multi Tier Business Applications with Java EE Prof. Dr. Eric Dubuis Berner Fachhochschule Biel Content Characteristics of stateful
More informationTransactions and Transaction Managers
Transactions and Transaction Managers There are many transactional resources Databases Messaging middleware As programmers, we want abstract transactions: we do not want to deal with some transaction API
More information<Insert Picture Here> Productive JavaEE 5.0 Development
Productive JavaEE 5.0 Development Frank Nimphius Principle Product Manager Agenda Introduction Annotations EJB 3.0/JPA Dependency Injection JavaServer Faces JAX-WS Web Services Better
More informationJBuilder EJB. Development Using JBuilder 4 and Inprise Application Server 4.1. Audience. A Step-by-step Tutorial.
EJB Development Using JBuilder 4 and Inprise Application Server 4.1 A Step-by-step Tutorial by Todd Spurling, Systems Engineer, Inprise Audience Evaluators or new developers to EJB using JBuilder 4 and
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 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 information1Z Oracle. Java Enterprise Edition 5 Business Component Developer Certified Professional Upgrade
Oracle 1Z0-861 Java Enterprise Edition 5 Business Component Developer Certified Professional Upgrade Download Full Version : https://killexams.com/pass4sure/exam-detail/1z0-861 A. The Version attribute
More informationSUN Sun Cert Bus Component Developer Java EE Platform 5, Upgrade. Download Full Version :
SUN 310-092 Sun Cert Bus Component Developer Java EE Platform 5, Upgrade Download Full Version : https://killexams.com/pass4sure/exam-detail/310-092 D. A javax.ejb.nosuchentityexception is thrown. Answer:
More informationSoftware Components and Distributed Systems
Software Components and Distributed Systems INF5040/9040 Autumn 2017 Lecturer: Eli Gjørven (ifi/uio) September 12, 2017 Outline Recap distributed objects and RMI Introduction to Components Basic Design
More informationEJB 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 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 informationSQL: Transactions. Announcements (October 2) Transactions. CPS 116 Introduction to Database Systems. Project milestone #1 due in 1½ weeks
SQL: Transactions CPS 116 Introduction to Database Systems Announcements (October 2) 2 Project milestone #1 due in 1½ weeks Come to my office hours if you want to chat about project ideas Midterm in class
More informationEnterprise JavaBeans. Session EJBs
Enterprise JavaBeans Dan Harkey Client/Server Computing Program Director San Jose State University dharkey@email.sjsu.edu www.corbajava.engr.sjsu.edu Session EJBs Implement business logic that runs on
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 informationJVA-163. Enterprise JavaBeans
JVA-163. Enterprise JavaBeans Version 3.0.2 This course gives the experienced Java developer a thorough grounding in Enterprise JavaBeans -- the Java EE standard for scalable, secure, and transactional
More informationBusiness-Driven Software Engineering (12. Vorlesung) Translation, Performance Considerations Thomas Gschwind <thg at zurich.ibm.
Business-Driven Software Engineering (12. Vorlesung) Translation, Performance Considerations Thomas Gschwind Thomas Gschwind Agenda BPMN Translation Running sample State of the
More informationBorland Application Server Certification. Study Guide. Version 1.0 Copyright 2001 Borland Software Corporation. All Rights Reserved.
Borland Application Server Certification Study Guide Version 1.0 Copyright 2001 Borland Software Corporation. All Rights Reserved. Introduction This study guide is designed to walk you through requisite
More informationOCP JavaEE 6 EJB Developer Study Notes
OCP JavaEE 6 EJB Developer Study Notes by Ivan A Krizsan Version: April 8, 2012 Copyright 2010-2012 Ivan A Krizsan. All Rights Reserved. 1 Table of Contents Table of Contents... 2 Purpose... 9 Structure...
More informationJOTM: Overview and Perspectives
JOTM: Overview and Perspectives Marek Prochazka Marek.Prochazka@inrialpes.fr www.objectweb.org Presentation Outline JOTM overview What is it (interfaces, services, functionality) Relation to standards
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 informationAdvanced Topics in Operating Systems
Advanced Topics in Operating Systems MSc in Computer Science UNYT-UoG Dr. Marenglen Biba 8-9-10 January 2010 Lesson 10 01: Introduction 02: Architectures 03: Processes 04: Communication 05: Naming 06:
More informationV3 EJB Test One Pager
V3 EJB Test One Pager Overview 1. Introduction 2. EJB Testing Scenarios 2.1 EJB Lite Features 2.2 API only in Full EJB3.1 3. Document Review 4. Reference documents 1. Introduction This document describes
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 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 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 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 informationOracle Fusion Middleware
Oracle Fusion Middleware Programming JTA for Oracle WebLogic Server 11g Release 1 (10.3.6) E13731-06 November 2011 This document is written for application developers who are interested in building transactional
More informationReliable and Transacted Web Services Between Sun s Project Tango and Microsoft Indigo
Reliable and Transacted Web Services Between Sun s Project Tango and Microsoft Indigo TM Mike Grogan, Joe Fialli, Ryan Shoemaker Sun Microsystems, Inc. TS-1603 Copyright 2006, Sun Microsystems, Inc., All
More informationModule 8 The Java Persistence API
Module 8 The Java Persistence API Objectives Describe the role of the Java Persistence API (JPA) in a Java EE application Describe the basics of Object Relational Mapping Describe the elements and environment
More informationAsynchrone Kommunikation mit Message Driven Beans
Asynchrone Kommunikation mit Message Driven Beans Arnold Senn (Technical Consultant) asenn@borland.com Outline Why Messaging Systems? Concepts JMS specification Messaging Modes Messages Implementation
More informationBEAAquaLogic. Service Bus. Interoperability With EJB Transport
BEAAquaLogic Service Bus Interoperability With EJB Transport Version 3.0 Revised: February 2008 Contents EJB Transport Introduction...........................................................1-1 Invoking
More informationUsing Message Driven Beans.
Using Message Driven Beans Gerald.Loeffler@sun.com Contents JMS - Java Messaging Service EJBs - Enterprise Java Beans MDBs - Message Driven Beans MDB Usage Szenarios 2002-04-22 Gerald.Loeffler@sun.com
More informationWriting Portable Applications for J2EE. Pete Heist Compoze Software, Inc.
Writing Portable Applications for J2EE Pete Heist Compoze Software, Inc. Overview Compoze Business Aspects of Portability J2EE Compatibility Test Suite Abstracting out Vendor Specific Code Bootstrapping
More informationCORBA Object Transaction Service
CORBA Object Transaction Service Telcordia Contact: Paolo Missier paolo@research.telcordia.com +1 (973) 829 4644 March 29th, 1999 An SAIC Company Telcordia Technologies Proprietary Internal Use Only This
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 information) Intel)(TX)memory):) Transac'onal) Synchroniza'on) Extensions)(TSX))) Transac'ons)
) Intel)(TX)memory):) Transac'onal) Synchroniza'on) Extensions)(TSX))) Transac'ons) Transactions - Definition A transaction is a sequence of data operations with the following properties: * A Atomic All
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 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 informationRealVCE. Free VCE Exam Simulator, Real Exam Dumps File Download
RealVCE http://www.realvce.com Free VCE Exam Simulator, Real Exam Dumps File Download Exam : 1z0-895 Title : Java Platform, Enterprise Edition 6 Enterprise JavaBeans Developer Certified Expert Exam Vendor
More informationEnterprise JavaBeans. Layer 05: Deployment
Enterprise JavaBeans Layer 05: Deployment Agenda Discuss the deployment descriptor including its structure and capabilities. Discuss JNDI as it pertains to EJB. Last Revised: 10/2/2001 Copyright (C) 2001
More informationWeb Design and Applications
Web Design and Applications JEE, Message-Driven Beans Gheorghe Aurel Pacurar JEE, Message-Driven Beans Java Message Service - JMS Server JMS is a standard Java API that allows applications to create, send,
More informationNew Features in EJB 3.1
New Features in EJB 3.1 Sangeetha S E-Commerce Research Labs, Infosys Technologies Limited 2010 Infosys Technologies Limited Agenda New Features in EJB 3.1 No Interface View EJB Components in WAR Singleton
More informationEnterprise Java Beans for the Oracle Internet Platform
Enterprise Java Beans for the Oracle Internet Platform Matthieu Devin, Rakesh Dhoopar, and Wendy Liau, Oracle Corporation Abstract Enterprise Java Beans is a server component model for Java that will dramatically
More information) Intel)(TX)memory):) Transac'onal) Synchroniza'on) Extensions)(TSX))) Transac'ons)
) Intel)(TX)memory):) Transac'onal) Synchroniza'on) Extensions)(TSX))) Transac'ons) Transactions - Definition A transaction is a sequence of data operations with the following properties: * A Atomic All
More informationTransactions. Introduction
Transactions Introduction Bank 1. getconnection/setconnection package transactions_1; import java.sql.*; public class Bank { public Connection getconnection(string jdbcdrivername, String jdbcurl) { try
More informationData Management in Application Servers. Dean Jacobs BEA Systems
Data Management in Application Servers Dean Jacobs BEA Systems Outline Clustered Application Servers Adding Web Services Java 2 Enterprise Edition (J2EE) The Application Server platform for Java Java Servlets
More informationJava 2 Platform, Enterprise Edition: Platform and Component Specifications
Table of Contents Java 2 Platform, Enterprise Edition: Platform and Component Specifications By Bill Shannon, Mark Hapner, Vlada Matena, James Davidson, Eduardo Pelegri-Llopart, Larry Cable, Enterprise
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 informationtransactional processing
Table of Contents Introduction 1 Chapter 1: The Enterprise JavaBeans Architecture 7 Chapter 2: EJB Development 29 Chapter 3: Developing Session Beans 63 Chapter 4: Developing EJB 1.1 Entity Beans 105 Chapter
More informationOracle Exam 1z0-895 Java EE 6 Enterprise JavaBeans Developer Certified Expert Exam Version: 14.0 [ Total Questions: 90 ]
s@lm@n Oracle Exam 1z0-895 Java EE 6 Enterprise JavaBeans Developer Certified Expert Exam Version: 14.0 [ Total Questions: 90 ] Oracle 1z0-895 : Practice Test Question No : 1 A developer wants to create
More information