正在加载图片...
CONTENTS PART 4 PUTTING EJB 3 INTO ACTION..............................385 11 Packaging EJB3 applications 387 11.1 Packaging your applications 389 Dissecting the EAR file 391.Loading the EAR module 392 11.2 Exploring class loading 394 Class-loading basics 394 Exposing the classic parent delegation model 396"Class loading in Java EE applications 398.Dependencies between Java EE modules 398 11.3 Packaging session and message-driven beans 400 Packaging E[B-JAR 400.Deployment descriptors vs.annotations 402.Overriding annotations with deployment descriptors 406.Specifying default inter vendor-specific 11.4 Packaging entities 410 Exbosing the bersistence module 410 Describing the bersistence module with b rsistence.xml 411.Performing O/R mapping with orm.xml 418 11.5 Best practices and common deployment issues 422 m2 oting common deployment problems 423 11.6 Summary 424 12 Effectively integrating EB 3 across your application tiers 425 12.1 Design patterns and web technologies 426 Presentation tier 427.Using the Entity Access Object pattern 429.Visiting the Session Facade pattern 434 12.2 Accessing session beans from the web tier 439 Accessing session beans using dependency injection 441 Referen ng session beans from helper classes 442.Dealing with transactions 445 Working with stateful session beans 446CONTENTS xv PART 4 PUTTING EJB 3 INTO ACTION ............................. 385 11 Packaging EJB 3 applications 387 11.1 Packaging your applications 389 Dissecting the EAR file 391 ■ Loading the EAR module 392 11.2 Exploring class loading 394 Class-loading basics 394 ■ Exposing the classic parent delegation model 396 ■ Class loading in Java EE applications 398 ■ Dependencies between Java EE modules 398 11.3 Packaging session and message-driven beans 400 Packaging EJB-JAR 400 ■ Deployment descriptors vs. annotations 402 ■ Overriding annotations with deployment descriptors 406 ■ Specifying default interceptor settings 407 ■ Using vendor-specific annotations and descriptors 408 11.4 Packaging entities 410 Exposing the persistence module 410 ■ Describing the persistence module with persistence.xml 411 ■ Performing O/R mapping with orm.xml 418 11.5 Best practices and common deployment issues 422 Packaging and deployment best practices 422 Troubleshooting common deployment problems 423 11.6 Summary 424 12 Effectively integrating EJB 3 across your application tiers 425 12.1 Design patterns and web technologies 426 Presentation tier 427 ■ Using the Entity Access Object pattern 429 ■ Visiting the Session Façade pattern 434 12.2 Accessing session beans from the web tier 439 Accessing session beans using dependency injection 441 Referencing session beans from helper classes 442 ■ Dealing with transactions 445 ■ Working with stateful session beans 446
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有