陜西省素質(zhì)教育督導(dǎo)評(píng)估316工程幼兒_第1頁(yè)
陜西省素質(zhì)教育督導(dǎo)評(píng)估316工程幼兒_第2頁(yè)
陜西省素質(zhì)教育督導(dǎo)評(píng)估316工程幼兒_第3頁(yè)
陜西省素質(zhì)教育督導(dǎo)評(píng)估316工程幼兒_第4頁(yè)
陜西省素質(zhì)教育督導(dǎo)評(píng)估316工程幼兒_第5頁(yè)
已閱讀5頁(yè),還剩37頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、Accessing Oracle and Non-Oracle Data Sources from J2EE Applications: Introducing JCALars EweProduct ManagerOracle CorporationSession id: 40045Itamar AnkorionProduct ManagerAttunityAgendaJ2EE Connector Architecture (JCA)Oracle Application Server and JCACustomer Case Study Lloyds The future of JCAOrac

2、le Application Server 10g IntegrationQ&AJ2EE Connector Architecture IntroductionJDBC a history of database integrationFirst we built our own databasesProprietary concepts, rocket-scienceThen came along commercial databases Some common concepts, difficult to integrateThen SQL (ODBC, JDBC) came along

3、Standard access to any databaseToday database access is a non-issueMy kid brother can do itJCA the future of application integrationFirst Application Integration hurtDissimilar technology, data, messaging.Then came along XMLStandard, exchangeable data structureStill need to know each disparate syste

4、mThen JCA came alongStandard access to any applicationStarting today application integration is becoming a non-issueWhat is the benefit of JCA?The connector architecture reduces the integration effort from an (m * n) problem to an (m + n) problem, where m is the number of application servers and n t

5、he number of EISs to be integratedEISEISAppServerAppServerm*nm+nJCAJ2EE Connector ArchitectureKey ComponentsJ2EE Application Server (AS)Container for resource adapter(s)Enterprise Information System (EIS)Resource Adapter (RA)Connects EIS resource to the JCA infrastructureCommon Client Interface (CCI

6、)Provides a common programming interface model for interacting with EIS via resource adaptersQuality of Service (QoS) FacilitiesConnection & transaction management and securityJ2EE Connector ArchitectureOC4J - J2EE Application ServerJ2EE Application ComponentContainer-ComponentContractResource Adapt

7、erEnterprise Information SystemClient API (e.g. CCI)System ContractsEIS specific contractsConnection ManagerTransaction ManagerSecurity ManagerOracle Application Server 10g and JCAJ2EE 1.3 APIsOC4J SupportOracle Application Server 10g (9.0.4) Containers for J2EEJSP 1.2Servlet 2.3EJB 2.0JDBC 2.0 Exte

8、nsionJMS 1.0JNDI 1.2Connector Architecture 1.0JTA 1.0Java Mail 1.2JAXP 1.1JAAS 1.0 Oracle Application Server AJP13 ORMI Web ClientEJB ClientOracle HTTP ServerORMIAJPHTTPOC4J Server ProcessWeb ContainerEJB ContainerJNDIJMSJDBCJTAJAXPJAASJCAmod_oc4jOracle Application Server 10g (9.0.4) JCA Quality of

9、Service (QoS)Oracles JCA container implementationprovides additional QoSConnection PoolingContainer Managed Sign-On (CMSO)Declarative CMSOProgrammatic CMSOConnection PoolingSpecify minimum number of connections to create at startup Limit the size of the connection pool by setting the maximum number

10、of connections Choose between fixed, fixed_wait and dynamic schemes for handling overflow of connection requests Pick a timeout for fixed wait schemeConnection Pooling Example Pool with a minimum of one connection and a maximum of three, when all three connections are in use, a request for connectio

11、n should wait 60 seconds for a connection to free up, else receive an exception Container Managed Sign-On (CMSO)Configure container to take care of sign-on to EIS transparently Choose between different schemesDeclarativeProgrammaticCMSO OverviewDeclarative CMSO Example . guest guestpw scott scott ti

12、ger .Programmatic CMSOProvide custom authentication module Plug-in JAAS modules or implement OC4J-specific interfaces JAAS modules are portable as compared to the OC4J-specific alternative Authentication modules that implement OC4J-specific interfaces are simpler to write and deploy compared to JAAS

13、 modulesCustomer Case StudyOracle Application Server integration with back-end Mainframe CICSThe PlayersThe Lloyds Insurance Market (Lloyds)International Underwriters Association (IUA)Xchanging Ins-Sure Services (XIS) Steria System IntegrationOracle OC4JAttunity CICS JCA AdapterClaim Convergence Pro

14、jectBusiness Goals:Reduce TCO (operating and maintenance costs) by converging two CICS based Claim systemsIncrease end-user productivity with web interfacesEstablish agile IT foundation to quickly introduce new capabilities in the futureSolution ArchitectureOS390Oracle Application Server(Solaris)Web

15、BrowsersFixNATFirewallJSPCICSJCA?The Technical Objectives(i.e., Challenges)Standard integration of J2EE and CICS (JCA, XML)Develop productivity (known skill sets and tools)Isolate legacy from the Java developersTurn legacy into reusable services (SOA)Agile, reusable architecture foundationSave on ma

16、intenanceRobust, Simple mainframe connectivityNative data type mapping (into XML)No changes to CICS applicationsNo coding per transactionsCICS LogIn Program COMMAREA01 C002-COMMAREA.03 C002-TRANS-IDPIC X(4)03 C002-SESSION-NOPIC S9(9) COMP.03 C002-PROG-STATUSPIC S9(4) COMP.03 C002-ERROR-COUNTPIC S9(4

17、) COMP.03 C002-ERROR-TABLEOCCURS 10.06 C002-ERROR-CODEPIC X(4).06 C002-ERROR-TEXTPIC X(70).03 C002-WARNING-COUNTPIC S9(4) COMP.03 C002-WARNING-TABLEOCCURS 10.06 C002-WARNING-CODEPIC X(4).06 C002-WARNING-TEXTPIC X(70).03 C002-ACCOUNT-CODE PIC X(4)03 C002-NET-USER-IDPIC X(8)03 C002-PASSWORDPIC X(8)03

18、C002-SECTION-CODEPIC X(4).03 C002-LOGIN-STATUSPIC X.COMMAREA is Input/Output buffer for the CICS programThe mapped Input parameters (LogInIn)The mapped Output parameter (LogInOut)CICS JCA Adapter Metadata Adapter Type = CICSAdapter InteractionsIn/Out Message Definition (Schema)Native Data Type/Struc

19、ture MappingJCA Deployment Descriptor Define Connector FactorySpecify a JNDI location for the JCA AdapterAdapter Connection AttributesConnection PoolingUsing the JCA AdapterContext ic = new InitialContext();String name = java:comp/env/eis/attunityCICS;javax.resource.cci.ConnectionFactory cf = (Conne

20、ctionFactory) ic.lookup (name);try javax.resource.cci.Connection con = cf.getConnection(); Interaction interaction = con.createInteraction(); AttuInteractionSpec iSpeq = new AttuInteractionSpec(logIn); RecordFactory rf = cf.getRecordFactory(); MappedRecord queryRecord = rf.createMappedRecord(logInIn

21、); queryRecord.put(C002_NET_USER_ID,event.getUsername(); queryRecord.put(C002_PASSWORD,event.getPassword(); Record oRec = interaction.execute(iSpeq, queryRecord); Element outEl = (DomRecord)oRec).getDom(); String session = (String)(MappedRecord)oRec).get(C002_SESSION_NO); System.out.println(SESSION

22、IS + session);interaction.close();con.close(); Lookup CICS JCA AdapterGet Connection and Create Interaction (LogIn)Build interaction input document (LogInIn)Execute the interactionParse interaction responseCloseOther Integration ConsiderationsCoordinate transaction calls (transID)FirewallSupport FIX

23、NATTransparent to the App ServerConnection PoolingOracle side (OC4J)Mainframe CICS side (Attunity Connect)PerformancePre-loaded adapter definitions and listenersWhat Have We Seen?Standard Integration APIsJCA CCI: getConnection, createInteraction, execute.XML: manipulate in/out docsFlexible Adapter D

24、efinitionMap Interactions to legacy ProgramsRobust Native-data structure (e.g. COBOL) MappingSimple values, Arrays, Inner Structures, etc.Powerful manipulation of interaction messagesOther CapabilitiesTransactions (expose as XAResource), Batch interactionsBottom LineIts Standard (JCA CCI, XML)Its Ea

25、sy (use Java APIs and Objects)Its Fast (proved architecture in a day)It Works ! The Results“Its pretty simple to introduce new transactions, so the team can expand the claims system in almost any direction“By making data entry more intuitive and user friendly, we can improve throughput. This will al

26、so increase our capacity for taking on potential new business Stuart Allan, XIS Convergence ProgramThe future of JCAJCA 1.5 (JSR 112) Release with J2EE 1.4Enable inbound communicationTransaction inflowMessage inflowProvide JMS Provider pluggabilityEnhanced/new QoS ContractsLifecycle managementWork m

27、anagementPackaging modelJCA 2.0?Release after J2EE 1.4Provide CCI meta-data supportAdd XML support to CCIOther QoS enhancementsOracle Application Server 10g IntegrationIntegrate Your BusinessAny Data SourceExchanges3rd Party AppsE-BusinessSuiteImprove efficiency using integrated business processesOp

28、en, standards-based architectureSingle solution for A2A, B2B, and web services integration Best solution pre-integrated with Oracle E-Business SuiteCustom AppsMessagingSystemsBusiness Process ManagementB2BIntegrationWebServiceIntegrationEnterpriseApplicationIntegrationSingle Integration ToolOracle Application Server 10g IntegrationHTTP/SSMTPFTPebXMLRosettaNetEDISOAPB2B Servic

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論