18.04.2013 Views

B2B Integration : A Practical Guide to Collaborative E-commerce

B2B Integration : A Practical Guide to Collaborative E-commerce

B2B Integration : A Practical Guide to Collaborative E-commerce

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.

Middleware Technologies 249<br />

extension of the client application. Since these beans can be persisted,<br />

they are often referred <strong>to</strong> as Persistent Session Beans.<br />

Entity beans<br />

An entity bean is persistent once it is created, until it is explicitly<br />

deleted. Entity beans represent specific persistent data, which is<br />

maintained in a database and the methods for acting on that data. Entity<br />

beans typically correspond <strong>to</strong> a database table row with a single row<br />

representing a single bean instance. The primary key for that row will<br />

provide the identification for that bean. Interaction with the database<br />

can be through the EJB container (container-managed) or handled directly<br />

by the bean through embedded SQL (bean-managed).<br />

•<br />

•<br />

•<br />

•<br />

•<br />

•<br />

•<br />

•<br />

ENTITY BEANS PROPERTIES<br />

Persistent;<br />

Handles multiple clients;<br />

Transactional;<br />

Survives server crash;<br />

Represents data in a database, along<br />

that data;<br />

Exposes its identity as primary key;<br />

Has finder method; and<br />

In a relational database context , there<br />

a table.<br />

8.4.6. J2EE application servers<br />

with the methods <strong>to</strong><br />

act<br />

on<br />

is one bean for each row in<br />

In the following section, we will discuss two of the most popular J2EE<br />

compliant application servers.<br />

IBM WebSphere<br />

WebSphere is actually a series of products offered by IBM. The<br />

corners<strong>to</strong>ne of the WebSphere product suite is the WebSphere Application

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

Saved successfully!

Ooh no, something went wrong!