InterviewSolution
| 1. |
What Is Cci? |
|
Answer» To retrieve and update data, you employ JCA's CCI layer, a procedure resembling using JDBC to call stored procedures. A JCA resource adapter is not required to support the CCI layer (the resource adapter creators can choose their own API set), and, even if the resource adapter does support CCI, it may also support an API specific for that particular adapter. The CCI APIs can be divided into four sections: First, the APIs related to ESTABLISHING a connection to an EIS, also referred to as the Connection Interfaces. The second area of the CCI APIs cover command execution on an EIS, referred to as theInteraction Interfaces. Third is the Record/ResultSet Interfaces,which encapsulate the query results to an EIS. The fourth area, referred to as the Metadata Interfaces, allows EIS's metadata (the type of data) to be queried. After this brief overview of the CCI APIs, it is useful to look at an example that shows the query of an employee count from an EIS: intcount; To retrieve and update data, you employ JCA's CCI layer, a procedure resembling using JDBC to call stored procedures. A JCA resource adapter is not required to support the CCI layer (the resource adapter creators can choose their own API set), and, even if the resource adapter does support CCI, it may also support an API specific for that particular adapter. The CCI APIs can be divided into four sections: First, the APIs related to establishing a connection to an EIS, also referred to as the Connection Interfaces. The second area of the CCI APIs cover command execution on an EIS, referred to as theInteraction Interfaces. Third is the Record/ResultSet Interfaces,which encapsulate the query results to an EIS. The fourth area, referred to as the Metadata Interfaces, allows EIS's metadata (the type of data) to be queried. After this brief overview of the CCI APIs, it is useful to look at an example that shows the query of an employee count from an EIS: intcount; |
|