📄 connect the enterprise with the jca, part 2.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0065)http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-jca2_p.html -->
<HTML><HEAD><TITLE>Connect the enterprise with the JCA, Part 2</TITLE>
<META http-equiv=content-type content="text/html; charset=windows-1252">
<META content=" J2EE, CONNECTORS, JCA, EAI " name=keywords>
<META
content=" In this second article of two in his series on the JCA (J2EE Connector Architecture) -- a standard that allows J2EE (Java 2 Platform, Enterprise Edition) application servers to reach enterprise information systems (EIS) -- Dirk Reinshagen demonstrates a simple JCA adapter implementation. After you read this article, you'll possess a good understanding of how to build your own JCA adapter. (1,500 words; February 1, 2002) "
name=description>
<META content=NOARCHIVE name=GOOGLEBOT><BASEFONT
face="verdana, arial, helvetica" size=2>
<STYLE type=text/css>CODE {
FONT-WEIGHT: normal; FONT-SIZE: 110%; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal
}
PRE {
FONT-WEIGHT: normal; FONT-SIZE: 100%; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal
}
TD {
FONT-WEIGHT: normal; FONT-SIZE: 90%; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal
}
</STYLE>
<SCRIPT language=JavaScript>
<!--
function openBrWindow() { win=window.open("http://www.javaworld.com/channel_content/jw-story-feedback.shtml",'Feedback','width=600,height=330,toolbar=no,location=no,directories=no,menubar=no,scrollbars=yes,resizable=yes'); } -->
</SCRIPT>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY text=#000000 bottomMargin=0 vLink=#990033 aLink=#990033 link=#990033
bgColor=#ffffff leftMargin=0 topMargin=0 rightMargin=0 marginwidth="0"
marginheight="0">
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD width=186 bgColor=#006699 colSpan=2><A
href="http://www.javaworld.com/"><IMG height=81
src="Connect the enterprise with the JCA, Part 2.files/top_jwlogo.gif"
width=186 border=0></A></TD>
<TD vAlign=center align=middle width="100%" bgColor=#cccccc><!-- START TOP 728x90 BANNER jw-articles-top-ad.txt -->
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD><FONT face=Arial,Helvetica,Sans-serif color=#000000
size=-2>Advertisement: Support JavaWorld, click here!</FONT><BR>
<SCRIPT language=JavaScript
src="Connect the enterprise with the JCA, Part 2.files/spinbox.macworld[1]"></SCRIPT>
<NOSCRIPT><A href="http://spinbox.macworld.com/?SHT=jw-TopBanner"
target=_top><IMG
src="Connect the enterprise with the JCA, Part 2.files/jw-house728x90.gif"></A>
</NOSCRIPT></TD></TR></TBODY></TABLE><!-- END TOP 728x90 BANNER --></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD width=160 bgColor=#006699><IMG height=8
src="Connect the enterprise with the JCA, Part 2.files/spacer.gif"
width=160 border=0></TD>
<TD vAlign=top align=left width=26 bgColor=#ffffff><IMG height=8
src="Connect the enterprise with the JCA, Part 2.files/c_whtbottom.gif"
width=8 border=0></TD>
<TD width="100%"><IMG height=1
src="Connect the enterprise with the JCA, Part 2.files/spacer.gif" width=8
border=0></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD vAlign=center noWrap align=middle width=160
bgColor=#006699><NOBR><FONT face="Verdana, Arial, Sans-serif"
color=#ffffff size=1>February 2002</FONT></NOBR><IMG height=1
src="Connect the enterprise with the JCA, Part 2.files/spacer.gif"
width=160 border=0></TD>
<TD width=8><IMG height=1
src="Connect the enterprise with the JCA, Part 2.files/spacer.gif" width=8
border=0></TD>
<TD vAlign=top width=8 bgColor=#006699><IMG height=8
src="Connect the enterprise with the JCA, Part 2.files/c_bltlft.gif"
width=8 border=0></TD>
<TD vAlign=center align=middle width="100%" bgColor=#006699>
<TABLE cellSpacing=0 cellPadding=5 width="100%" border=0>
<TBODY>
<TR>
<TD align=middle bgColor=#006699><A
href="http://www.javaworld.com/"><FONT
face=Verdana,Geneva,Arial,Helvetica,sans-serif color=#ffffff
size=1>HOME</FONT></A></TD>
<TD align=middle bgColor=#006699><A
href="http://www.javaworld.com/features/index.shtml"><FONT
face=Verdana,Geneva,Arial,Helvetica,sans-serif color=#ffffff
size=1>FEATURED TUTORIALS</FONT></A></TD>
<TD align=middle bgColor=#006699><A
href="http://www.javaworld.com/columns/index.shtml"><FONT
face=Verdana,Geneva,Arial,Helvetica,sans-serif color=#ffffff
size=1>COLUMNS</FONT></A></TD>
<TD align=middle bgColor=#006699><A
href="http://www.javaworld.com/news-reviews/index.shtml"><FONT
face=Verdana,Geneva,Arial,Helvetica,sans-serif color=#ffffff
size=1>NEWS & REVIEWS</FONT></A></TD>
<TD align=middle bgColor=#006699><A
href="http://www.javaworld.com/javaforums/"><FONT
face=Verdana,Geneva,Arial,Helvetica,sans-serif color=#ffffff
size=1>FORUM</FONT></A></TD>
<TD align=middle bgColor=#006699><A
href="http://www.javaworld.com/resources/index.shtml"><FONT
face=Verdana,Geneva,Arial,Helvetica,sans-serif color=#ffffff
size=1>JW RESOURCES</FONT></A></TD>
<TD align=middle bgColor=#006699><A
href="http://www.javaworld.com/info/jw-about-index.shtml"><FONT
face=Verdana,Geneva,Arial,Helvetica,sans-serif color=#ffffff
size=1>ABOUT JW</FONT></A></TD></TR></TBODY></TABLE></TD>
<TD vAlign=top align=right width=8 bgColor=#006699><IMG height=8
src="Connect the enterprise with the JCA, Part 2.files/c_bltrt.gif"
width=8 border=0></TD>
<TD width=8><IMG height=1
src="Connect the enterprise with the JCA, Part 2.files/spacer.gif" width=8
border=0></TD></TR></TBODY></TABLE><!-- <table align="center" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr valign="top">
<td bgcolor="#006699" width="160" align="middle" valign="top">
<table width="160" border="0" cellspacing="0" cellpadding="0" bgcolor="#006699" summary=""> --><!-- #include snippets/jw-search-snippet.txt --><!-- <tr>
<td width="8"><img height=1 alt="" src="http://www.javaworld.com/images/spacer.gif" width=8 ></td>
<td><img height=1 alt="" src="http://www.javaworld.com/images/rule_ltblue.gif" width=144 vspace=2 ><br>
<font face="Verdana,Geneva,Arial,Helvetica,sans-serif" size="1" color="#ffffff"><strong>ARCHIVE</strong></font><br>
<img height=1 alt="" src="http://www.javaworld.com/images/rule_ltblue.gif" width=144 vspace=2 ><br>
<strong><a href="http://www.javaworld.com/channel_content/jw-topical-index.shtml"><font face="Verdana,Geneva,Arial,Helvetica,sans-serif" size="1" color="#ffffff">TOPICAL INDEX</font></a></strong></font><br>--><!-- #include snippets/jw-topical-generic.txt --><!-- <img height=1 alt="" src="http://www.javaworld.com/images/rule_ltblue.gif" width=144 vspace=2 ><br>
<font face="Verdana,Geneva,Arial,Helvetica,sans-serif" size="1" color="#ffffff"><strong>FREE JAVAWORLD NEWSLETTERS</strong></font><br>
<img height=1 alt="" src="images/rule_ltblue.gif" width=144 vspace=2 ><br></td>
<td width="8"><img height=1 alt="" src="http://www.javaworld.com/images/spacer.gif" width=8 ></td>
</tr>
<tr valign="bottom">
<td width="8"><img height=1 alt="" src="http://www.javaworld.com/images/spacer.gif" width=8 ></td>
<td> </td>
<td width="8"><img height=8 alt="" src="http://www.javaworld.com/images/c_gryblbottom.gif" width=8 ></td>
</tr>
<tr>
<td width="8" bgcolor="#cccccc"> </td>
<td bgcolor="#cccccc"> </td>
<td width="8" bgcolor="#cccccc"> </td>
</tr>
<tr>
<td width="8" bgcolor="#cccccc"><img height=1 alt="" src="http://www.javaworld.com/images/spacer.gif" width=8 ></td>
<td align="middle" bgcolor="#cccccc"> --><!-- #include snippets/jw-articles-left-ad.txt --><!-- </td>
<td width="8" bgcolor="#cccccc"><img height=8 alt="" src="http://www.javaworld.com/images/spacer.gif" width=8></td>
</tr>
<tr>
<td width="8" bgcolor="#cccccc"> </td>
<td bgcolor="#cccccc"> </td>
<td width="8" bgcolor="#cccccc"> </td>
</tr>
<tr valign="top">
<td width="8"><img height=1 alt="" src="http://www.javaworld.com/images/spacer.gif" width=8 ></td>
<td> </td>
<td width="8"><img height=8 alt="" src="http://www.javaworld.com/images/c_grybltop.gif" width=8 ></td>
</tr>
</table> --><IMG height=8
src="Connect the enterprise with the JCA, Part 2.files/spacer.gif" width=160
border=0></TD> <TD width="8"><IMG height=1 alt=""
src="Connect the enterprise with the JCA, Part 2.files/spacer.gif" width=8></TD>
<TD width="100%"><!-- ## MAIN CONTENT STARTS HERE ### --><FONT
face="verdana, arial, helvetica" size=2>
<P><STRONG></STRONG></P>
<P>
<H1 align=center>Connect the enterprise with the JCA, Part 2 </H1>
<H3 align=center>Build your own J2EE Connector Architecture adapter </H3>
<P></P><!--<BLOCKQUOTE><STRONG>Summary</STRONG><BR>-->
<BLOCKQUOTE><STRONG>Summary</STRONG><BR>In this second article of two in his
series on the JCA (J2EE Connector Architecture) -- a standard that allows J2EE
(Java 2 Platform, Enterprise Edition) application servers to reach enterprise
information systems (EIS) -- Dirk Reinshagen demonstrates a simple JCA adapter
implementation. After you read this article, you'll possess a good
understanding of how to build your own JCA adapter. (<EM>1,500 words;</EM>
<STRONG>February 1, 2002</STRONG>) </BLOCKQUOTE><!--</BLOCKQUOTE>--><STRONG>By
Dirk Reinshagen </STRONG>
<P><IMG height=2
src="Connect the enterprise with the JCA, Part 2.files/rule_ltblue.gif"
width="100%"></P>
<P><BR></P><!-- #include snippets/jw-articles-336x280.txt -->
<P>
<P><IMG height=29 alt=I
src="Connect the enterprise with the JCA, Part 2.files/I.gif" width=12
align=left>n "<A
href="http://www.javaworld.com/javaworld/jw-11-2001/jw-1121-jca.html">Connect
the Enterprise with the JCA, Part 1</A>," I introduced JCA (J2EE Connector
Architecture), explained how it compares to EAI (enterprise application
integration) products, and offered details on JCA interfaces.
<P>JCA, an important new Java standard addressing enterprise integration,
provides a framework, much like JDBC (Java Database Connectivity), to read and
write data to different enterprise systems such as SAP, PeopleSoft, or Siebel.
Reflecting its importance, the latest releases of most J2EE (Java 2 Platform,
Enterprise Edition) application servers support JCA.
<P>Read the whole series on the JCA:
<UL>
<LI><A
href="http://www.javaworld.com/javaworld/jw-11-2001/jw-1121-jca.html">Part 1.
A look at the J2EE Connector Architecture</A>
<LI><A
href="http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-jca2.html">Part 2.
Build your own J2EE Connector Architecture adapter</A> </LI></UL>
<P>In this article, the second of two, I demonstrate how to implement a JCA
adapter -- a set of classes with which a J2EE application server targets a
particular enterprise system. A JCA adapter functions similarly to how a JDBC
driver connects to databases. However, because developing a full-featured JCA
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -