12.11.2014 Views

web server - Borland Technical Publications

web server - Borland Technical Publications

web server - Borland Technical Publications

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Application development overview<br />

EJB 1.1 example<br />

ejb-jar.xml deployment descriptor<br />

This example uses bean-managed persistence.<br />

<br />

<br />

<br />

<br />

ShmeAdapter Interface Jar<br />

<br />

<br />

<br />

<br />

Interface EJB for SHME Class /shme/test/shmeAdapter/schema/<br />

Customer<br />

customer_bean<br />

shme/customer_bean<br />

com.shme.test.shmeAdapter.schema.CustomerHome<br />

com.shme.test.shmeAdapter.schema.CustomerRemote<br />

com.shme.test.shmeAdapter.schema.CustomerBean<br />

Stateless<br />

Bean<br />

<br />

SHME Repository URL for Connector configuration<br />

repositoryUrl<br />

java.lang.String<br />

s_repository://S_APP01<br />

<br />

<br />

Location of Resource Adapter configuration within the SHME<br />

Repository<br />

configurationUrl<br />

java.lang.String<br />

/shme/client<br />

<br />

<br />

Reference to SHME Resource Adapter<br />

shme/shmeAdapter<br />

com.shme.shmeAdapter.ConnectionFactory<br />

Container<br />

<br />

<br />

<br />

<br />

<br />

ejb-inprise.xml deployment descriptor<br />

This corresponds to the ejb-jar.xml above.<br />

<br />

<br />

<br />

<br />

<br />

shme/customer_bean<br />

Chapter 27: Using VisiConnect 277

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!