|
|
Àâòîðèçàöèÿ |
|
|
Ïîèñê ïî óêàçàòåëÿì |
|
|
|
|
|
|
|
|
|
|
Marinescu F. — EJB design patterns: advanced patterns, processes, and idioms |
|
|
Ïðåäìåòíûé óêàçàòåëü |
Development process, strategies, Aggregate entity bean pattern 199—200
Development process, strategies, Coarse-Grained entity bean pattern 199—200
Development process, strategies, Composite Entity Bean pattern 199—200
Development process, strategies, Data Transfer Object pattern 201
Development process, strategies, delegation schemes 200
Development process, strategies, dependent objects 199
Development process, strategies, deprecated patterns 199—200 201
Development process, strategies, ejbCreate method, DTOs 204
Development process, strategies, ejbCreate method, parameters 203—204
Development process, strategies, getting/setting bulk data 201
Development process, strategies, getXXX/setXXX methods 200
Development process, strategies, Java singletons 201—202
Development process, strategies, local interfaces 200
Development process, strategies, message-driven beans, type checking 202—203
Development process, strategies, naming conventions 200
Development process, strategies, rolling back transactions 203
Development process, strategies, setRollBack() 203
Development process, strategies, updates, scheduled vs. real-time 201—202
Development process, strategies, value objects 201
Development process, strategies, XML as a DTO mechanism 204
Development process, walkthrough see also "J2EE application environment" "J2EE
Development process, walkthrough, administering the development environment see "Ant"
Development process, walkthrough, business logic 129
Development process, walkthrough, checking out the codebase 156—157
Development process, walkthrough, compiling source code 157—158
Development process, walkthrough, deploying applications 160—162
Development process, walkthrough, deployment 160—162
Development process, walkthrough, design issues 126—129
Development process, walkthrough, direct database calls 130
Development process, walkthrough, domain experts 126—127
Development process, walkthrough, domain logic 129
Development process, walkthrough, domain models 126—127 131
Development process, walkthrough, forum messaging use cases 124—126
Development process, walkthrough, initializing databases 165—167
Development process, walkthrough, inter-tier data transfer 138—140
Development process, walkthrough, nouns 126—127
Development process, walkthrough, order of development 144—149
Development process, walkthrough, packaging for deployment 158—160
Development process, walkthrough, pattern-driven architecture see "J2EE layers"
Development process, walkthrough, servers, starting/stopping 162—165
Development process, walkthrough, terminology 126—129
Development process, walkthrough, testing see "Unit testing"
Development process, walkthrough, use case diagrams 125—126
Disconnected RowSets 64
Distributed objects 180 181
Domain Data Transfer Object pattern, car dealership scenario 52
Domain Data Transfer Object pattern, client coupling to object model 54
Domain Data Transfer Object pattern, client-side attribute validation 54
Domain Data Transfer Object pattern, cons 54—55
Domain Data Transfer Object pattern, definition 45
Domain Data Transfer Object pattern, development process, accelerating 54
Domain Data Transfer Object pattern, entity beans 51—54
Domain Data Transfer Object pattern, immutable objects 53
Domain Data Transfer Object pattern, mapping to client needs 54
Domain Data Transfer Object pattern, mutable objects 53
Domain Data Transfer Object pattern, pros 54
Domain Data Transfer Object pattern, replicating model data structures 54
Domain Data Transfer Object pattern, unnecessary duplication 55
Domain Data Transfer Object pattern, updating domain objects 55
Domain experts 126—127
Domain layer, Business Interface pattern 133
Domain layer, concurrency 132
Domain layer, Data Transfer Object pattern 133
Domain layer, definition 128—129
Domain layer, Dual Persistent Entity Bean pattern 133
Domain layer, Generic Attribute Access pattern 133
Domain layer, maintainability 133
Domain layer, omitting 131
Domain layer, order of development 146
Domain layer, patterns 132—133
Domain layer, portability 133
Domain layer, primary key generation 133
Domain layer, tools 133
Domain layer, unit testing 170
Domain layer, Version Number pattern 132
Domain logic 129
Domain models, Data Transfer RowSet pattern 66
Domain models, definition 126—127
Domain models, persistence 131
Domain objects, updating 55
Domain-generic interface see "Generic Attribute Access pattern"
DTOFactory see also "Data Transfer Object pattern" "Session
DTOFactory and the development process 139—140
DTOFactory from a non-ejb client 28
DTOFactory, automotive scenario 27—30
DTOFactory, behind a session bean facade 28
DTOFactory, creating DTOs 28
DTOFactory, data transfer object changes 26
DTOFactory, DTO Factories 27 29
DTOFactory, DTO-related logic, decoupling 26—29
DTOFactory, graphing DTOs 30
DTOFactory, maintainability 30
DTOFactory, performance 30—31
DTOFactory, pros 29—31
DTOFactory, reading server data 29
DTOFactory, reusability 29—30
DTOFactory, updating server data 29
Dual Persistent Entity Bean pattern, account BMP bean subclass, code listing 222—228
Dual Persistent Entity Bean pattern, account CMP bean superclass, code listing 221—222
Dual Persistent Entity Bean pattern, account deployment descriptor for BMP, code listing 219—220
Dual Persistent Entity Bean pattern, account deployment descriptor for CMP, code listing 218—219
Dual Persistent Entity Bean pattern, account home interface, code listing 220
Dual Persistent Entity Bean pattern, account remote interface, code listing 220
Dual Persistent Entity Bean pattern, code listings 218—228
Dual Persistent Entity Bean pattern, definition 69
Dual Persistent Entity Bean pattern, domain layer 133
Dual Persistent Entity Bean pattern, dual persistence support 87—89
Dual Persistent Entity Bean pattern, processing error exception, code listing 228
Dummy data, creating 101
duplicate keys 115
dynamic discovery 189
Dynamic vs. static, discovery 189
EJB Command pattern see also "Data Access Command Bean pattern" "Data
EJB Command pattern, business logic, placing 18—21 23
EJB Command pattern, client-side routing 21—22
EJB Command pattern, code listings 208—212
EJB Command pattern, command beans 19—21 23
EJB Command pattern, Command Server ejb-jar 24
EJB Command pattern, command superclass, code listing 209
EJB Command pattern, CommandException, code listing 210—211
EJB Command pattern, CommandExecutor, code listing 212
EJB Command pattern, CommandServer session bean, code listing 209—210
EJB Command pattern, CommandTarget interface, code listing 211
EJB Command pattern, cons 23—25
EJB Command pattern, decoupling the client 18—21 23
EJB Command pattern, definition 3
EJB Command pattern, development projects, effects on 24
EJB Command pattern, EJBCommandTarget, code listing 211—212
EJB Command pattern, error handling 24
EJB Command pattern, pros 23
EJB Command pattern, RAD 23
EJB Command pattern, Remote Command Server 22
EJB Command pattern, services layer 136—137
EJB Command pattern, stateless commands 24
EJB Command pattern, transaction control 23—24
EJB Command pattern, Transfer Funds command 20—21
EJB Command pattern, Transfer Funds command, code listing 208—209
EJB Command pattern, use cases, bulk execution 18—21 23
EJB layer architectural patterns see "Business Interface pattern" "EJB "Generic "Message "Session
EJB-specific exceptions, hiding 100
EJBCommandTarget, code listing 211—212
ejbCreate method, development strategy 203—204
EJBHome objects, caching 93—97
EJBHome objects, clustering 94
EJBHome objects, looking up 91—93
EJBHome objects, staleness 94
EJBHomeFactory pattern, application layer 141
EJBHomeFactory pattern, code listings 228—231
EJBHomeFactory pattern, definition 91
EJBHomeFactory pattern, EJBHome objects 91—97
| EJBHomeFactory pattern, servlet-centric alternative 97
EJBLocalObject interface 40—43
EjbObject interface 40—43
Entity beans as components 180 181
Entity beans, alternatives to 183—184
Entity beans, attribute access see also "Generic Attribute Access pattern"
Entity beans, attribute access with DTOs 32
Entity beans, attribute access with get/set methods 32—33
Entity beans, attribute access, attribute access interface 33—36
Entity beans, attribute access, Data Transfer HashMap pattern 34 37
Entity beans, attribute access, dynamic run time addition 38
Entity beans, attribute access, identifying attributes 36
Entity beans, attribute access, keys 36 38
Entity beans, attribute access, static final variables 36—37
Entity beans, CMP/BMP dual support see "Dual Persistent Entity Bean pattern"
Entity beans, cons 182
Entity beans, consistency 38
Entity beans, creating 53
Entity beans, development overhead 182
Entity beans, displaying data from 53
Entity beans, distributed objects 180 181
Entity beans, domain-generic interface see "Generic Attribute Access pattern"
Entity beans, features 179—180
Entity beans, interacting with clients 53
Entity beans, modifying 53
Entity beans, multiple in single transaction see "Message Facade pattern"
Entity beans, N+1 calls problem 77 181—182
Entity beans, O/R mapping 183 184
Entity beans, object modeling support 182
Entity beans, persistence 179—180
Entity beans, POJOs (plain ordinary Java objects) 183
Entity beans, portability 183
Entity beans, pros 182—183
Entity beans, ramp-up time 183
Entity beans, relationship support 182
Entity beans, remote access 51—52
Entity beans, remoteness 182
Entity beans, security 180 181
Entity beans, staleness checks in 71—74
Entity beans, standardization 179
Entity beans, syntactic validation 54
Entity beans, transaction control 180 181
Entity beans, transparent persistence 179—180
Entity beans, validating 200
Error handling and coupling 99
Error handling, EJB Command pattern 24
Error handling, EJB-specific exceptions, hiding 100
Error handling, exception propagation 16
Error handling, failure notification 15
Error handling, fault-tolerance 13—15 17
Error handling, Message Facade pattern 15—16
Error handling, single points of failure 15—16
Error handling, unit testing 176—177
examples see "Scenarios"
Exceptions 16 100
Failure notification 15
Fault-tolerance 13—15 17 see
Forum messaging use cases 124—126 see walkthrough"
Framework code, unit testing 170
Gamma, Eric 169
Generic Attribute Access pattern see also "Data Transfer HashMap pattern" "Entity attribute
Generic Attribute Access pattern, compile time checking 38—39
Generic Attribute Access pattern, cons 38—39
Generic Attribute Access pattern, definition 3
Generic Attribute Access pattern, domain layer 133
Generic Attribute Access pattern, entity bean consistency 38
Generic Attribute Access pattern, maintenance costs 38
Generic Attribute Access pattern, overhead 38
Generic Attribute Access pattern, pros 38
Generic Attribute Access pattern, scaling 38
Generic Attribute Access pattern, strong typing 38—39
getXXX/setXXX methods, development strategy 200
HashMap pattern see "Data Transfer HashMap pattern"
Hiding EJB-specific exceptions 100
Home objects see "EJBHome objects"
HomeFactory pattern see "EJBHome-Factory pattern"
IBM's Command framework 21—22
Immutable objects 53
Inheritance, JDOs 188
Initialize database targets 165—167
InsertAccount stored procedure, code listing 239
InsertEmployeeCommand.java, code listing 215—216
Inter-tier data transfer see also "Custom Data Transfer Object pattern" "Data "Data "Data "Domain "DTOFactory"
Inter-tier data transfer, JDOs 196—197
J2EE application environment see also "Development process walkthrough"
J2EE application environment, administering 151—152 see
J2EE application environment, definition 149—150
J2EE application environment, environment, definition 150
J2EE layers see also "Application layer" "Development walkthrough" "Domain "Persistence "Services
J2EE layers, diagram 144
J2EE layers, maintainability issues 137
J2EE layers, performance issues 137
J2EE layers, presentation, definition 128
Java Data Objects (JDOs) see "JDOs"
Java Naming and Directory Interface (JNDI) 38
Java package structure, selecting 147
Java singletons, alternatives to 112
Java singletons, development strategy 201—202
Java singletons, UUID pattern 114
Java type dependencies 145
JDBC for Reading pattern and Data Access Command Bean pattern 86
JDBC for Reading pattern and Data Transfer RowSet pattern 63—67
JDBC for Reading pattern, alternative to entity beans 183
JDBC for Reading pattern, BMP performance 78—79
JDBC for Reading pattern, built-in caching 78—79
JDBC for Reading pattern, bulk queries 79
JDBC for Reading pattern, cons 79
JDBC for Reading pattern, coupling business and persistence logic 79
JDBC for Reading pattern, data selection precision 79
JDBC for Reading pattern, definition 69
JDBC for Reading pattern, join operations 77—78
JDBC for Reading pattern, maintainability 79
JDBC for Reading pattern, N+1 calls problem 77
JDBC for Reading pattern, pros 78—79
JDBC for Reading pattern, read-only data 76
JDBC for Reading pattern, relational database access 76—80
JDBC for Reading pattern, remote call overhead 77
JDBC for Reading pattern, tables, populating 76—80
JDBC for Reading pattern, transactional overhead 78
JDOs (Java Data Objects), alternative to entity beans 184
JDOs (Java Data Objects), BMT 192—193
JDOs (Java Data Objects), build process 187—188
JDOs (Java Data Objects), caching 193—194
JDOs (Java Data Objects), class requirements and dependencies 185—186
JDOs (Java Data Objects), client APIs 188
JDOs (Java Data Objects), CMT 191—192
JDOs (Java Data Objects), deployment 187—188
JDOs (Java Data Objects), dynamic vs. static discovery 189
JDOs (Java Data Objects), EJB environment, preparing 189—190
JDOs (Java Data Objects), finding by identity 194—195
JDOs (Java Data Objects), finding by query 195—196
JDOs (Java Data Objects), guide to using 189—197
JDOs (Java Data Objects), inheritance 188
JDOs (Java Data Objects), inter-tier data transfer 196—197
JDOs (Java Data Objects), lazy loading 193—194
JDOs (Java Data Objects), overview 185—189
JDOs (Java Data Objects), PM 188
JDOs (Java Data Objects), reference navigation 193—194
JDOs (Java Data Objects), session beans, configuring 190
JDOs (Java Data Objects), use cases, executing 191
JNDI (Java Naming and Directory Interface) 38
JUnit 168—169
Keys, 36-digit key strings 116
Keys, auto-generated see also "Stored Procedures for Autogenerated Keys pattern"
Keys, auto-generated, stored procedures, code listing 239
Keys, duplicate 115
Keys, entity beans, attribute access 36 38
Keys, losing 111
keys, primary see "Sequence Blocks pattern" "Stored "UUID
Layer boundaries, unit testing 170
|
|
|
Ðåêëàìà |
|
|
|