10.12.2012 Views

The Java EE 5 Tutorial (PDF) - Oracle Software Downloads

The Java EE 5 Tutorial (PDF) - Oracle Software Downloads

The Java EE 5 Tutorial (PDF) - Oracle Software Downloads

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Note – <strong>The</strong> source code for the web client is in the<br />

tut-install/javaeetutorial5/examples/dukesbank/dukesbank-war/ directory.<br />

TABLE 37–2 Web Client<br />

Function JSP Pages <strong>Java</strong>Beans Components<br />

Home page main.jsp CustomerBean<br />

Logontooroffofthe<br />

application<br />

logon.jsp<br />

logonError.jsp<br />

logoff.jsp<br />

CustomerBean<br />

List accounts accountList.jsp CustomerBean, AccountHistoryBean<br />

List the history of an<br />

account<br />

Transfer funds between<br />

accounts<br />

Withdraw and deposit<br />

funds<br />

accountHist.jsp CustomerBean, AccountHistoryBean<br />

transferFunds.jsp<br />

transferAck.jsp<br />

atm.jsp<br />

atmAck.jsp<br />

Error handling error.jsp none<br />

Figure 37–4 shows an account history screen.<br />

CustomerBean, TransferBean<br />

CustomerBean, ATMBean<br />

Web Client<br />

Chapter 37 • <strong>The</strong> Duke’s Bank Application 1059

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

Saved successfully!

Ooh no, something went wrong!