交互式Web应用程序开发指南PDF电子书下载
- 电子书积分:9 积分如何计算积分?
- 作 者:德博拉·科廷翰著
- 出 版 社:北京:北京希望电子出版社
- 出版年份:2001
- ISBN:7900071784
- 页数:193 页
Part 1 Overiew of the scenario 2
CHAPTER 1 INTRODUCTION 2
1.1 Scenario overview 4
1.1.1 S/390 software prerequisites 4
1.1.2 Windows NT client software prerequisites 5
1.2 Overview of the servlets 5
1.2.1 Order servlet 5
1.2.2 Bid servlet 7
1.2.3 Accept servlet 8
1.2.4 Email servlet 9
1.3 Overview of the server environment 10
1.4 Overview of the Web application 11
1.4.1 From the user's perspective 11
1.4.2 From the programmer's perspective 14
CHAPTER 2 INSTALL THE DEVELOPMENT SOFTWARE 16
2.1 Install IBM VisualAge for Java V3.02 17
2.2 Install VisualAge for Java features 18
2.3 Install IBM WebSphere Studio 3.5 18
2.4 Install a Web browser 19
2.5 Install the demo files 19
CHAPTER 3 ABOUT THE SERVER CONFIGURATON 20
3.1 About the application flow 21
3.1.1 Getting started 22
3.1.2 Retrieving customer order information 24
3.1.3 Requesting shipping options 26
3.1.4 Accepting a bid 28
3.1.5 Emailing the customer 30
3.2 About the server applications 31
3.2.1 About the customer and order applications 31
3.2.2 About the shipper applications 32
3.2.3 About the hub application 32
3.2.4 About the IMS customer application 33
3.2.5 Check database and transaction 34
3.3 About the subsystem configuration 35
3.3.1 About MQSeries configuration 35
3.3.2 About MQ/CICS Bridge configuration 36
3.3.3 About CICS configuration 36
3.3.4 About DB2 configuration 37
3.3.5 About WebSphere Application Server configuration 37
3.3.6 About IMS Connect 39
Part 2 Creating the servlets 42
CHAPTER 4 CREATE THE ORDER SERVLET 44
4.1 Create Java beans that access CICS and DB2 46
4.1.1 Create the B2BApp project 46
4.1.2 Create the order package 46
4.1.3 Create the COBOL customer record type 46
4.1.4 Create the CustomerRecord class 47
4.1.5 Create the COBOL order record type 48
4.1.6 Create the OrderRecord class 48
4.1.7 Create the RetrieveCustomerCommand class 49
4.1.8 Create the RetrieveOrderCommand class 54
4.1.9 Create the CICSRetrieveNavigator class 57
4.2 Test the CICS connection 63
4.2.1 Create a CICSNavExecute test application 63
4.2.2 Run the CICSNavExecute test 65
4.2.3 What you have proved so far 66
4.2.4 Create a version of the order package 66
4.3 Generate the order servlet and generic user interface files 67
4.3.1 Preparing the WebSphere Studio project 67
4.3.2 Generate the order servlet,HTML,and JSP files 69
4.4 Customize the order servlet 71
4.5 Publish the order servlet on the test stage 71
4.5.1 Set up Studio publishing for local testing 72
4.5.2 Publish the order files on the test stage 72
4.6 Test the order servlet in the WebSphere Test Environment 73
4.6.1 Set up the Servlet Engine classpath 73
4.6.2 Run the Servlet Engine 73
4.6.3 Run the servlet 74
4.7 Modify the order beans for publishing on the server 76
4.7.1 About the modifications 76
4.7.2 Change the code page 76
4.7.3 Change the command bean properties 77
4.7.4 Change the navigator properties 78
4.7.5 Export from VisualAge for Java to WebSphere 78
4.8 Publish the order servlet on the server 78
4.8.1 Modify the servlet configuration file 78
4.8.2 Modify the user interface files 79
4.8.3 Prepare to publish on the host 80
4.8.4 Publish the order files on the server 80
4.8.5 Check the WebSphere Application Server classpath 81
4.8.6 Provide permissions for the published files 82
4.9 Test the order servlet from a Web browser 83
CHAPTER 5 CREATE THE BID SERVLET 86
5.1 Create Java beans that access MQSeries 87
5.1.1 Create the bid package 88
5.1.2 Create the BidMessageType record type 88
5.1.3 Create the BidRequest record class 88
5.1.4 Create the AllBidsMessageType record type 89
5.1.5 Create the AllBidsReply record class 90
5.1.6 Create the BidRequestCommand class 90
5.1.7 Create the AllBidsReplyCommand class 94
5.1.8 Create the BidsNavigator class 98
5.2 Test the MQ connection 102
5.2.1 Create a TestBidsNav test application 102
5.2.2 Run TestBidsNav to test the MQ connection 104
5.2.3 Create a version of the bid package 105
5.3 Generate the bid servlet and generic user interface files 105
5.3.1 Prepare to generate 105
5.3.2 Generate the bid servlet,HTML,and JSP files 106
5.4 Customize the bid servlet 107
5.5 Publish the bid servlet on the test stage 108
5.6 Test the bid servlet in the WebSphere Test Environment 108
5.6.1 Start the WebSphere Test Environment 108
5.6.2 Run the Servlet Engine 109
5.6.3 Run the servlet 109
5.7 Publish the bid servlet on the server 110
5.7.1 Modify the servlet configuration file 111
5.7.2 Modify the user interface files 111
5.7.3 Publish the bid files on the server 112
5.7.4 Check the WebSphere Application Server classpath 113
5.7.5 Provide permissions for the published files 113
5.8 Test the bid servlet from a Web browser 114
CHAPTER 6 CREATE THE ACCEPT SERVLET 116
6.1 Create Java beans to exchange MQSeries messages 118
6.1.1 Create the accept package 119
6.1.2 Create the AcceptMessageType record type 119
6.1.3 Create the AcceptRequestMessage record class 120
6.1.4 Create the BothConfMessage record type 121
6.1.5 Create the BothConfReply record class 121
6.1.6 Create the AcceptRequestCommand class 122
6.1.7 Create the BothConfReplyCommand class 124
6.1.8 Create the AcceptNavigator class 126
6.2 Test the MQ connection 131
6.2.1 Create the TestAcceptNav class 131
6.2.2 Run TestAcceptNav to test the MQ connection 133
6.2.3 Review what you have demonstrated 133
6.2.4 Create a version the accept package 134
6.3 Generate the accept servlet and generic user interface files 134
6.3.1 Getting the accept bean files into WebSphere Studio 134
6.3.2 Generate the accept servlet,HTML,and JSP files 135
6.4 Customize the accept servlet 136
6.5 Publish the accept servlet on the test stage 137
6.6 Test the accept servlet in the WebSphere Test Environment 137
6.7 Publish the accept servlet on the server 139
6.7.1 Modify the servlet configuration file 139
6.7.2 Modify the user interface files 140
6.7.3 Publish the accept files on the server 141
6.7.4 Provide permissions for the published accept files 141
6.8 Test the accept servlet from a Web browser 141
6.9 Summary 143
CHAPTER 7 CREATE THE EMAIL SERVLET 144
7.1 Create the IMS beans 145
7.1.1 Create the package 145
7.1.2 Create a RecordType for the input message 145
7.1.3 Create a transaction input record bean 146
7.1.4 Create a RecordType for the output message 147
7.1.5 Create a transaction output record bean 148
7.1.6 Create a command class for the IMS transaction 149
7.2 Test the beans in the Websphere Test Environment 157
7.2.1 Create the test Java Server Page 157
7.2.2 Run the Java Server Page locally 158
7.3 Create the servlet and add email functionality 159
Part 3 Creating the Web application 162
CHAPTER 8 JOIN THE SERVLETS 164
8.1 Define a Web application in WebSphere Application Server 165
8.2 Provide the interactive flow 167
8.2.1 Create the opening page 168
8.2.2 Modify the order results page 169
8.2.3 Modify the order servlet configuration file 171
8.2.4 Modify the bid results page 172
8.2.5 Modify the bid servlet configuration file 175
8.2.6 Modify the accept results page 175
8.2.7 Modify the accept servlet configuration file 177
8.3 Modify the generated servlets to pass the data 177
8.3.1 Understanding the order servlet 178
8.3.2 Understanding the bid servlet 179
8.3.3 Modifying the accept servlet 180
8.4 Optionally,enhance the user interface 182
8.5 Considerations for developing your own Web applications 182
CHAPTER 9 TROUBLESHOOTING 184
APPENDIX A SERVER APPLICATIONS RERFERENCE INFORMATION 188
A.1 Message syntax 189
A.1.1 Bid messages 189
A.1.2 Accept messages 190
A.2 Server application quick reference 192
- 《钒产业技术及应用》高峰,彭清静,华骏主编 2019
- 《近代旅游指南汇刊二编 16》王强主编 2017
- 《现代水泥技术发展与应用论文集》天津水泥工业设计研究院有限公司编 2019
- 《甘肃省档案馆指南》甘肃省档案馆编 2018
- 《英汉翻译理论的多维阐释及应用剖析》常瑞娟著 2019
- 《数据库技术与应用 Access 2010 微课版 第2版》刘卫国主编 2020
- 《区块链DAPP开发入门、代码实现、场景应用》李万胜著 2019
- 《近代旅游指南汇刊 31》王强主编 2014
- 《虚拟流域环境理论技术研究与应用》冶运涛蒋云钟梁犁丽曹引等编著 2019
- 《近代旅游指南汇刊二编 10》王强主编 2017
- 《生命拍卖》(英)安杰拉·马森斯(AngelaMarsons)著,博集天卷出品 2019
- 《像品牌大师一样思考》卡尔凯迪耶·科佩拉 2019
- 《生命之书 下》(美)德博拉·哈克尼斯著;刘清山译 2019
- 《黑夜魅影 上》(美)德博拉·哈克尼斯著;徐翠萍译 2019
- 《钱德拉教授追寻幸福的旅行》(英)拉杰夫·巴卢(RajeevBalasubramanyam) 2020
- 《弦乐发展史及其演奏技巧研究》殷翰著 2019
- 《生命之书 上》(美)德博拉·哈克尼斯著;刘清山译 2019
- 《魔法觉醒 下》(美)德博拉·哈克尼斯著;苪婉婉译 2019
- 《有趣的插画历史百科书 世界历史》(法)热罗姆·莫夫拉著;刘小琳译 2020
- 《足踝外科手册》(印)拉杰夫·沙阿(Rajiv Shah)著 2019
- 《电子测量与仪器》人力资源和社会保障部教材办公室组织编写 2009
- 《少儿电子琴入门教程 双色图解版》灌木文化 2019
- 《指向核心素养 北京十一学校名师教学设计 英语 七年级 上 配人教版》周志英总主编 2019
- 《北京生态环境保护》《北京环境保护丛书》编委会编著 2018
- 《指向核心素养 北京十一学校名师教学设计 英语 九年级 上 配人教版》周志英总主编 2019
- 《通信电子电路原理及仿真设计》叶建芳 2019
- 《高等院校旅游专业系列教材 旅游企业岗位培训系列教材 新编北京导游英语》杨昆,鄢莉,谭明华 2019
- 《电子应用技术项目教程 第3版》王彰云 2019
- 《中国十大出版家》王震,贺越明著 1991
- 《近代民营出版机构的英语函授教育 以“商务、中华、开明”函授学校为个案 1915年-1946年版》丁伟 2017