Results 1 to 2 of 2

Thread: EIS Access from Spring

  1. #1
    Join Date
    Oct 2004
    Posts
    1

    Default EIS Access from Spring

    I support J2EE tools for an Enterprise Information Systems vendor. The most common way to access our system from middleware applications is via a JCA adaptor, which provides a nice API for accessing the EIS via a transactional interface rather than a strictly data oriented API like JDBC.
    How would you suggest that I integrate such an EIS with Spring?

    Thanks;
    Wendell Nichols

  2. #2
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default

    Spring users could use Spring's JndiObjectFactoryBean to get the connection factory for your connector, so they can always use the JCA style, of course.

    You could implement a callback approach like Spring's templates, with exception translation to DataAccessExeption, if you want a closer integration to Spring. Please look at the JDBC and Hibernate functionality in Spring as a guide. You could also implement a Spring PlatformTransactionManager for your tool (using your connector's local transaction capability) if you have any interest in supporting users not using JTA global transactions. Of course Spring transaction mgt can run on JTA, so you don't need to do more than provide normal JTA support for Spring transactions to work configured that way.
    Rod Johnson - GM, SpringSource Division, VMware
    http://www.springsource.com
    Spring From the Source

Similar Threads

  1. Spring MVC Web Framework versus Struts
    By biguniverse in forum Web Flow
    Replies: 27
    Last Post: Aug 29th, 2012, 03:57 AM
  2. A Spring Class Loader?
    By azzoti in forum Architecture
    Replies: 8
    Last Post: May 7th, 2005, 04:02 AM
  3. Replies: 14
    Last Post: Feb 21st, 2005, 05:41 PM
  4. Replies: 2
    Last Post: Jan 21st, 2005, 04:17 AM
  5. Replies: 1
    Last Post: Oct 20th, 2004, 05:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •