JCA 1.5, Part 1: Optimizing and life-cycle management

  Class: Junior 

  David Currie (david_currie@uk.ibm.com), Staff Software Engineer, IBM UK Ltd. 

  April 21, 2005 

  The series is divided into three parts, the first part of the Java developer David Currie on the Java 2 Enterprise Edition (J2EE) Connector Architecture (JCA) 1.5 made some optimization, which can speed up existing or new external resource adapter operation speed.    He also analyzed the number of adapter resources to revitalize the new features.    To improve the performance of existing resources or adapters to add new functionality, or are considering the preparation of a new 1.5 JCA resource adapter, then this series is indispensable.    To prepare the use of resources adapter applications, and would like to know more about the behind-the-scenes, then this series is worth reading. 

  JCA 1.5 of the J2EE Connector Architecture is the latest version, which contains a number of significant enhancements and new features.    Discuss these changes in a three-part series of articles, the paper is the first part of the version will be presented by a number of optimization, which can speed up those who use the site resources adapter applications, in particular those using the application's Affairs speed.    Then, the life-cycle management by the expansion of the lease, they can prevent the connection disconnected applications, and resource adapter glow freshmen.    This will lay the foundation for the first part of 2,3.    Part 2 of the discussion of new work flow management and services contract, Part 3 of the long-awaited contract news flow, more commonly referred to as the message-driven bean (MDB) support. 

  In this paper, the assumption that readers JCA connection management contract with a certain understanding.    The original 1.0 specification in all the elements still applies, so if just contact JCA, the proposed first look at the entry Willy Farrell Guide (see references). 

  Figure 2-handle usage of the results. 

  a list of assumptions in the EJB, and containers hosted by the deployment of its affairs, business affairs method attribute set to RequiresNew.    Calling this method when they start a new business.    When connected to the creation, the Connection Manager do not know how to use it, so it must be linked to the Trusteeship Council was a XAResource connect, and the recruitment of its affairs.    Link may only be used to query the database, or simply do not use.    However, the Connection Manager recruitment must connect to prepare insert or update operation.    This means that resources must be carried out at least adapter, or to roll back, and put an end to return to the back-end processes.    Figure 4 show the affairs of this process. 

  3 on the list of amendments to the two interfaces learned this expansion. 

  JCA 1.5 support in its recruitment of inert also used WebSphere Application Server V5 delayed expansion of delayed recruitment services. 

  Please read in the developerWorks Kevin Kelle, who wrote the article for more expansion of the WebSphere (see references). 

  original English text. 

  •   Sun Microsystems from the J2EE 1.4 Documentation page download J2EE Platform, EJB 2.1, J2EE Connector 1.5 and Java Message Service standard. 
  •   Download a trial version of the WebSphere Application Server 1.5 to their own experience JCA. 
  •   Show content is not following the number of J2EE 1.4 compatible application server list. 
  •   Introduction to the J2EE Connector Architecture (developerWorks, November 2002) is a content-rich curriculum, prepared by Willy Farrell, it introduced version 1.5 as the basis of the initial JCA norms. 
  •   J2EE Connector Architecture Extensions in WebSphere Application Server V5 (developerWorks, February 2003) details of IBM's two innovations, they have become a standard part of JCA 1.5. 
  •   Understand JCA Service (developerWorks, October 2004), introduced a different enterprise information system through JCA participation in transaction processing. 
  •   Developing applications with JCA-based tools (developerWorks, 22002 in January) through the use of IBM's tools to create, test, deploy and run a J2EE EJB applications, introduced the JCA practical characteristics (from Rahul Sharma, Beth Stearns and the Tony Ng J2EE Connector Architecture and Enterprise Application Integration, Addison-Wesley, 2001). 
  •   Build JCA-compliant resource adapters with WebSphere Studio Application Developer (developerWorks, August 2003) on how to prepare their own compatible JCA resource adapter. 
  •   Getting started with EJB technology (developerWorks, April 2003) is a comprehensive guide on the J2EE EJB programming and the basic contents of the environment. 
  •   In the developerWorks Java technology on the Java programming area to find the various aspects of the article. 
  •   Through participation in the developerWorks blogs join developerWorks community. 
  •   The Developer Bookstore visit will be a complete list of technical books, including several hundreds of Java and related books. 
  •   Also visit developerWorks Java technology in the area of curriculum, access to the Java tutorial complete list of themes. 
  •   David_currie@uk.ibm.com through contact with him. 

    Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
    • Digg
    • del.icio.us
    • Facebook
    • DotNetKicks
    • DZone
    • Netvouz
    • Propeller

    Recommend Articles

    Comments

    Leave a Reply