Artix User APIs

Package com.iona.connector

Provides interfaces for accessing Web services using the Java Connector Architecture in conjunction with a J2EE application server.

See:
          Description

Interface Summary
ArtixConnectionFactory Provides methods to create a Connection object that represents a Web service defined from the supplied parameters.
Connection Interface implemented by the Web service client proxy returned by ArtixConnectionFactory.
 

Package com.iona.connector Description

Provides interfaces for accessing Web services using the Java Connector Architecture in conjunction with a J2EE application server.

Typical use begins with the ArtixConnectionFactory interface which is used to retrieve a Connection that represents a Web service object. A reference to the ArtixConnectionFactory is obtained from an environment naming context lookup by a J2EE component as follows:

  Context ctx = new InitialContext();
  ArtixConnectionFactory factory = (ArtixConnectionFactory)ctx.lookup("java:comp/env/eis/ArtixConnector");
  Connection conn = (Connection)factory.getConnection(Greeter.class, wsdlLocation, serviceName, portName);

  // do work ...

  conn.close();

Related Specifications

This package implements the API for a Resource Adapter as specified by the J2EE Connectors Architecture. The relevant 1.0 - Final Release specification can be found at the Sun Microsystems Web site.


Artix User APIs

Copyright � 2004 IONA Technologies PLC. All rights reserved.