Developing enterprise Java applications with J2EE and UML = UML与J2EE企业应用程序开发 /
副标题:无
作 者:Khawar Zaman Ahmed, Cary E. Umrysh编著.
分类号:
ISBN:9787030124661
微信扫一扫,移动浏览光盘
简介
本书通过一个完整的实例,系统介绍了用J2EE开发企业级软件工程时,将UML建模技术应用到软件开发过程各个阶段的方法。本书首先介绍了J2EE的基本概念和主要技术,以及UML中的各种设计视图和基本原理,在此基础上,深入讲解了如何使用UML进行分析和设计,以及如何使用UML为J2EE主要技术建模。
本书不仅适合于初学UML和J2EE的读者,而且对于J2EE程序开发人员和软件工程项目管理人员也有很大的参考价值。
目录
foreword xiii
preface xv
intended audience xvi
how to use this book xvii
chapter summaries xvii
conventions xviii
acknowledgments xxi
chapter 1 introduction to enterprise software 1
what is enterprise software? 3
challenges in developing enterprise software 5
evolution of enterprise software 6
enterprise software and component-based software
summary 8
chapter 2 introduction to the j2ee 9
what is the java 2 platform, enterprise edition? 11
a brief history of j2ee 12
whyj2ee? 13
a brief overview of j2ee 16
technologies 16
apis 21
.other j2ee technologies and apis 22
summary 23
chapter 3 introduction to the uml 25
uml overview 28
why use the j2ee and the umltogether? 30
challenges in modeling j2ee in the uml 31
extension mechanisms in the uml 32
stereotype 32
tagged value 33
constraint 34
the approach to j2ee uml modeling 35
summary 36
chapter 4 uml and java 37
representing structure 39
class 39
variable 40
method 41
object 42
interface 43
package 44
representing relationships 45
inheritance 45
realization 45
dependency 46
association 47
aggregation 51
composition 53
reflexive relationships 55
summary 55
chapter 5 overview of activities 57
what is a software development process? 59
overview of popular approaches
to software development 59
the just-develop-it approach 59
the waterfall process 60
the iterative process 60
the rational unified process 61
the iconix process 66
the open process 66
extreme programming/feature-driven development 66
approach used inthis book 67
overview of major activities 68
chapter 6: architecture 68
chapter 7: analyzing customer needs 69
chapter 8: creating the design 69
chapters 10-15: detailed design 69
chapter 16: case study 69
summary 70
chapter 6 architecture 71
what is software architecture? 73
why architecture? 74
key concepts in enterprise application
architecture 76
decomposition 76
componems 77
frameworks 78
patterns 80
layering 84
tiers 86
approaches to software architecture 87
the j2ee view of architecture 87
the 4 + 1 view model of architecture 88
hofmeister et al.: fourviews of architecture 88
putting it alltogether 89
summary 90
chapter 7 analyzing customer needs 91
why software analysis and design? 93
problem analysis 94
use case modeling 95
identifying the actors 95
finding the use cases 96
use case diagrams 98
use case relationships 99
include 99
extend 99
sequence diagrams 101
activity diagrams 103
summary 105
chapter 8 creating the design 107
use case analysis 109
use case realizations 109
refined use case description 110
sequence diagrams 113
boundary objects 113
entity objects 113
control objects 114
collaboration diagrams 117
class diagrams 118
coalescing the analysis classes 121
packaging 121
summary 124
chapter 9 overview of j2ee technologies 125
the big picture 127
servlets 127
javaserver pages (jsp) 128
enterprise javabeans (ejb) 129
session beans 129
entity beans 129
message-driven beans 129
assembly and deployment 130
case study 130
summary 130
chapter 10 servlets 131
introduction to servlets 133
common usage 134
best served small 134
j2eeversions 135
servlet life cycle 135
life cycle methods 136
convenience method 137
required methods andtagged values 137
request handling 138
response generation 139
alternatives for response generation 140
http request handlers 141
advanced handler methods 141
quick guide to http requests 142
the requestdispatcher interface 142
modeling servlets in uml 143
modeling other servlet aspects 145
servlet forward 145
servlet include 146
servletcontext 147
servlet session management 148
servlet deployment andweb archives 149
identifying servlets in enterprise applications 150
summary 154
chapter 11 javaserver pages 155
introduction to jsp 158
typical uses of jsp 158
model 1 and model 2 architectures 159
jsp versus servlet 160
anatomy of ajsp 160
template data 161
jsp elements 161
objects accessible to ajsp implicitly 163
tag libraries 164
atag handler class 164
atag library descriptor 165
jsp and the uml 166
modeling client-side relationships 168
modeling server-side relationships 168
jsp in enterprise applications 170
summary 174
chapter 12 session beans 175
introduction to enterprise javabeans 177
ejbviews and the uml 179
representing an enterprise javabean in uml 179
cliem view 181
internal view 182
session beans 182
popular beans 183
j2eeversions 184
types of session beans and conversational state 184
modeling session bean conversational state 185
instance passivation 186
cleanup and removal 188
transactions 189
transaction demarcation 190
bean-managed transactions 191
container-managed transactions 191
the sessionsynchronization interface 191
limitations for stateless session beans 193
transaction attributes 193
modelingtransactions 194
session bean technology 194
home interface 194
remote interface 195
implementation class 196
modeling interface behavior 197
session bean life cycle 199
session bean common scenarios 201
modeling session bean relationships 201
session beans and plain java classes 201
session beans and javabeans 204
session beans and servlets 205
session bean and javaserver pages (jsp) 206
session-to-session relationships 206
session bean inheritance 207
managing performance 207
minimizing remote calls 208
the local client 208
identifying session beans in enterprise applications 209
summary 211
chapter 13 entity beans 213
introduction to entity beans 215
coarse-grained business objects 215
increasing popularity 216
j2ee versions 217
entity beanviews and the uml 217
client view 218
internal view 219
persistence 220
transactions and concurrency 221
abstract persistence 222
abstract persistence schema 222
ejb query language (ejb ql) 224
persistence manager 225
container-managed relationships 225
multiplicity 226
directionality 227
duplicating container-managed relationships
in j2ee 1.2 227
local relationships 227
entity bean technology 227
home interface 228
remote interface 229
primary key class 230
implementation class 231
persistent fields 233
entity bean life cycle 234
entity bean common scenarios 236
modeling entity bean relationships 237
entity bean and other java classes 237
entity bean and javabeans 237
the value object approach 238
entity bean, servlets, and jsps 241
entity bean and session beans 241
entity bean-to-entity bean relationships 243
identifying entity beans in enterprise applications 243
layering 245
summary 247
chapter 14 message-driven beans 249
introduction to message-driven beans 251
the java message service 251
role of jms and message-driven beans in ejb 252
why use messaging and message-driven beans? 252
when to use message-driven beans 253
j2eeversion 253
message-driven beanviews and the uml 254
client view 254
uml benefits for message-driven beans 254
modeling messages 255
modeling destinations 255
message-driven bean technology 257
transactions 257
implementation class 258
message-driven bean life cyde 258
message-driven bean common scenario 260
modeling message-driven bean relationships 261
modeling message-driven bean relationships
with other classes 261
message-driven bean and other j2eetechnologies 261
identifying message-driven beans
in enterprise applications 261
summary 262
chapter 15 assembly and deployment 265
component modeling 267
component modeling of j2eetechnologies 268
representingweb components 269
representing ejbs 270
component modeling of enterprise applications 270
deployment modeling 271
traceability revisited 274
assembly and deployment of enterprise java
applications 275
deployment descriptors 276
summary 278
chapter 16 case study 279
case study background 281
problem statement 282
rationale and assumptions 282
homedirect requirements 283
inquiry services 283
bill payment services 284
transaction services 285
administrative services 285
inception phase' 286
initial iteration 287
iteration plan 287
homedirect actors 287
homedirect use cases 288
use case diagrams 291
interaction diagrams 291
elaboration phase 294
elaboration iteration #1 294
detailed sequence diagrams 294
class diagrams 295
packaging diagram 295
component dependency diagram 296
elaboration iteration #2 296
elaboration iteration #3 299
use cases to be implemented in this iteration 302
remaining phases 306
summary 306
glossary 307
references 315
index 319
preface xv
intended audience xvi
how to use this book xvii
chapter summaries xvii
conventions xviii
acknowledgments xxi
chapter 1 introduction to enterprise software 1
what is enterprise software? 3
challenges in developing enterprise software 5
evolution of enterprise software 6
enterprise software and component-based software
summary 8
chapter 2 introduction to the j2ee 9
what is the java 2 platform, enterprise edition? 11
a brief history of j2ee 12
whyj2ee? 13
a brief overview of j2ee 16
technologies 16
apis 21
.other j2ee technologies and apis 22
summary 23
chapter 3 introduction to the uml 25
uml overview 28
why use the j2ee and the umltogether? 30
challenges in modeling j2ee in the uml 31
extension mechanisms in the uml 32
stereotype 32
tagged value 33
constraint 34
the approach to j2ee uml modeling 35
summary 36
chapter 4 uml and java 37
representing structure 39
class 39
variable 40
method 41
object 42
interface 43
package 44
representing relationships 45
inheritance 45
realization 45
dependency 46
association 47
aggregation 51
composition 53
reflexive relationships 55
summary 55
chapter 5 overview of activities 57
what is a software development process? 59
overview of popular approaches
to software development 59
the just-develop-it approach 59
the waterfall process 60
the iterative process 60
the rational unified process 61
the iconix process 66
the open process 66
extreme programming/feature-driven development 66
approach used inthis book 67
overview of major activities 68
chapter 6: architecture 68
chapter 7: analyzing customer needs 69
chapter 8: creating the design 69
chapters 10-15: detailed design 69
chapter 16: case study 69
summary 70
chapter 6 architecture 71
what is software architecture? 73
why architecture? 74
key concepts in enterprise application
architecture 76
decomposition 76
componems 77
frameworks 78
patterns 80
layering 84
tiers 86
approaches to software architecture 87
the j2ee view of architecture 87
the 4 + 1 view model of architecture 88
hofmeister et al.: fourviews of architecture 88
putting it alltogether 89
summary 90
chapter 7 analyzing customer needs 91
why software analysis and design? 93
problem analysis 94
use case modeling 95
identifying the actors 95
finding the use cases 96
use case diagrams 98
use case relationships 99
include 99
extend 99
sequence diagrams 101
activity diagrams 103
summary 105
chapter 8 creating the design 107
use case analysis 109
use case realizations 109
refined use case description 110
sequence diagrams 113
boundary objects 113
entity objects 113
control objects 114
collaboration diagrams 117
class diagrams 118
coalescing the analysis classes 121
packaging 121
summary 124
chapter 9 overview of j2ee technologies 125
the big picture 127
servlets 127
javaserver pages (jsp) 128
enterprise javabeans (ejb) 129
session beans 129
entity beans 129
message-driven beans 129
assembly and deployment 130
case study 130
summary 130
chapter 10 servlets 131
introduction to servlets 133
common usage 134
best served small 134
j2eeversions 135
servlet life cycle 135
life cycle methods 136
convenience method 137
required methods andtagged values 137
request handling 138
response generation 139
alternatives for response generation 140
http request handlers 141
advanced handler methods 141
quick guide to http requests 142
the requestdispatcher interface 142
modeling servlets in uml 143
modeling other servlet aspects 145
servlet forward 145
servlet include 146
servletcontext 147
servlet session management 148
servlet deployment andweb archives 149
identifying servlets in enterprise applications 150
summary 154
chapter 11 javaserver pages 155
introduction to jsp 158
typical uses of jsp 158
model 1 and model 2 architectures 159
jsp versus servlet 160
anatomy of ajsp 160
template data 161
jsp elements 161
objects accessible to ajsp implicitly 163
tag libraries 164
atag handler class 164
atag library descriptor 165
jsp and the uml 166
modeling client-side relationships 168
modeling server-side relationships 168
jsp in enterprise applications 170
summary 174
chapter 12 session beans 175
introduction to enterprise javabeans 177
ejbviews and the uml 179
representing an enterprise javabean in uml 179
cliem view 181
internal view 182
session beans 182
popular beans 183
j2eeversions 184
types of session beans and conversational state 184
modeling session bean conversational state 185
instance passivation 186
cleanup and removal 188
transactions 189
transaction demarcation 190
bean-managed transactions 191
container-managed transactions 191
the sessionsynchronization interface 191
limitations for stateless session beans 193
transaction attributes 193
modelingtransactions 194
session bean technology 194
home interface 194
remote interface 195
implementation class 196
modeling interface behavior 197
session bean life cycle 199
session bean common scenarios 201
modeling session bean relationships 201
session beans and plain java classes 201
session beans and javabeans 204
session beans and servlets 205
session bean and javaserver pages (jsp) 206
session-to-session relationships 206
session bean inheritance 207
managing performance 207
minimizing remote calls 208
the local client 208
identifying session beans in enterprise applications 209
summary 211
chapter 13 entity beans 213
introduction to entity beans 215
coarse-grained business objects 215
increasing popularity 216
j2ee versions 217
entity beanviews and the uml 217
client view 218
internal view 219
persistence 220
transactions and concurrency 221
abstract persistence 222
abstract persistence schema 222
ejb query language (ejb ql) 224
persistence manager 225
container-managed relationships 225
multiplicity 226
directionality 227
duplicating container-managed relationships
in j2ee 1.2 227
local relationships 227
entity bean technology 227
home interface 228
remote interface 229
primary key class 230
implementation class 231
persistent fields 233
entity bean life cycle 234
entity bean common scenarios 236
modeling entity bean relationships 237
entity bean and other java classes 237
entity bean and javabeans 237
the value object approach 238
entity bean, servlets, and jsps 241
entity bean and session beans 241
entity bean-to-entity bean relationships 243
identifying entity beans in enterprise applications 243
layering 245
summary 247
chapter 14 message-driven beans 249
introduction to message-driven beans 251
the java message service 251
role of jms and message-driven beans in ejb 252
why use messaging and message-driven beans? 252
when to use message-driven beans 253
j2eeversion 253
message-driven beanviews and the uml 254
client view 254
uml benefits for message-driven beans 254
modeling messages 255
modeling destinations 255
message-driven bean technology 257
transactions 257
implementation class 258
message-driven bean life cyde 258
message-driven bean common scenario 260
modeling message-driven bean relationships 261
modeling message-driven bean relationships
with other classes 261
message-driven bean and other j2eetechnologies 261
identifying message-driven beans
in enterprise applications 261
summary 262
chapter 15 assembly and deployment 265
component modeling 267
component modeling of j2eetechnologies 268
representingweb components 269
representing ejbs 270
component modeling of enterprise applications 270
deployment modeling 271
traceability revisited 274
assembly and deployment of enterprise java
applications 275
deployment descriptors 276
summary 278
chapter 16 case study 279
case study background 281
problem statement 282
rationale and assumptions 282
homedirect requirements 283
inquiry services 283
bill payment services 284
transaction services 285
administrative services 285
inception phase' 286
initial iteration 287
iteration plan 287
homedirect actors 287
homedirect use cases 288
use case diagrams 291
interaction diagrams 291
elaboration phase 294
elaboration iteration #1 294
detailed sequence diagrams 294
class diagrams 295
packaging diagram 295
component dependency diagram 296
elaboration iteration #2 296
elaboration iteration #3 299
use cases to be implemented in this iteration 302
remaining phases 306
summary 306
glossary 307
references 315
index 319
Developing enterprise Java applications with J2EE and UML = UML与J2EE企业应用程序开发 /
- 名称
- 类型
- 大小
光盘服务联系方式: 020-38250260 客服QQ:4006604884
云图客服:
用户发送的提问,这种方式就需要有位在线客服来回答用户的问题,这种 就属于对话式的,问题是这种提问是否需要用户登录才能提问
Video Player
×
Audio Player
×
pdf Player
×