Index_E


E

EJB BMTs. See BMTs

EJB CMTs. See CMTs

EJB components, exception-handling and, 255

EJB container

clustered, 216

JBoss, 360

EJB entity context callback methods, 214

EJB finder methods, 218–219

EJB types in quote server, 360

ejbActivate callback method, 207, 218, 223–224

EJBContext object, setRollbackOnly method, 122, 239

ejbCreate method, 218

EJBException, 219

ejbFindByPrimaryKey method, 218–219

EJBHelper class, 208–209, 219

EJBHelper class respond method, 209, 219

ejbLoad callback method, 217

ejbPassivate callback method, 207, 217–218, 223–224

ejbRemove method, 218, 223

EJBs (Enterprise JavaBeans)

closing the persistence manager in, 216

and JDO overlap in services, 359

setup and cleanup methods, 214–215

types of, 359

using JDO in, 77, 359–376

ejbStore callback method, 215–218

Embedded objects

chaining, 12

replacement and sharing of, 12–13

SCO and, 10–15

shared, 12–13

transactional state of, 18

unshared, 13

endsWith query method, 54

Enhanced classes

explained, 148

and managed fields, 143–183

Enhancement, 2, 23, 148–165

and cloning, 158–160

and constructors, 150–152

and debugging, 165

and deployment on remote clients, 157–158

desired effects of, 149–150

and fear of code mangling, 165

and friendly classes, 160–161

and inheritance, 161–163

and inner classes, 163

and introspection, 157

and performance, 164

and reflection, 156–157

and serialization, 153–156

side effects and limitations of, 150–165

unmanaged objects and, 16

Enhancement-added code, viewing in debugger, 165

Enhancer, 2–3, 148

Enterprise app. See Rental enterprise app

Enterprise version of JDO implementation, 200

Entity beans, 200, 360, 373

business methods, 216–217

setEntityContext method, 214

unsetEntityContext method, 214

using connection factory, 219

using JDO in, 209–219

using persistence manager factory, 219

EntityContext object, getPrimaryKey method, 218

Equality (==) operator, 12, 21, 32–33, 50–51, 53, 371

equals method, 12, 21, 28, 32

overriding, 352–354

Rental object, 352–353

String class, 25

Error exception, 253

Escaped quotation marks, 50–51

Event notification chains, 248

evict all command, 297

evict methods, 90, 92–94, 118, 237

evictAll method, 93, 237

Eviction, 118, 237

Exception class, 250

Exception-handling

and app architectures, 254–255

code examples, 262–266

in explicit use of JDO, 264–265

in implicit use of JDO, 265–266

strategies for, 252–255

Exceptions (JDO), 249–266

JDOCanRetryException, 256–257

JDODataStoreException, 257

JDOException, 255–257

JDOFatalDataStoreException, 260

JDOFatalException, 256, 260

JDOFatalInternalException, 261

JDOFatalUserException, 261

JDOObjectNotFoundException, 257

JDOOptimisticVerificationException, 260–261

JDOUnsupportedOptionException, 259–260

JDOUserException, 258–259

unmanaged objects and, 253

execute methods (Query interface), 45–46

executeWithArray method (Query interface), 46

executeWithMap method (Query interface), 46

ExtendedOptimisticException, 349

extension tag (JDO metadata), 180–181

extension tag attributes, 181

Extent interface, 10, 37–40

class diagram of, 39, 388

getCandidateClass method, 39

getPersistenceManager method, 39

hasSubclasses method, 40

iterator method, 40

Extent iterators

closing, 40

obtaining, 40

Extents (extent objects), 37–38

and committed transactions, 38

and current uncommitted transactions, 38

first class object, 10

and persistence manager's IgnoreCache property, 38

queries against, 138

subclasses of, 40




Using and Understanding Java Data Objects
Using and Understanding Java Data Objects
ISBN: 1590590430
EAN: 2147483647
Year: 2005
Pages: 156
Authors: David Ezzio

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net