Cover image for WebLogic : the definitive guide
WebLogic : the definitive guide
Mountjoy, Jon.
Personal Author:
First edition.
Publication Information:
Sebastopol, CA : O'Reilly, [2004]

Physical Description:
xvii, 828 pages : illustrations ; 24 cm
General Note:
"Covers versions 7 & 8.1"--Cover.

"Development, deployment & maintenance"--Cover.

Includes index.
Title Subject:
Added Author:
Format :


Call Number
Material Type
Home Location
Item Holds
TK5105.8885.B4 M68 2004 Adult Non-Fiction Central Closed Stacks

On Order



BEA's WebLogic Server implements the full range of J2EE technologies, and includes many additional features such as advanced management, clustering, and web services. Widely adopted, it forms the core of the WebLogic platform, providing a stable framework for building scalable, highly available, and secure applications. In fact, in the long list of WebLogic's strengths and features, only one shortcoming stands out: the documentation that comes with the WebLogic server often leaves users clamoring for more information.

WebLogic: The Definitive Guide presents a 360-degree view of the world of WebLogic. Providing in-depth coverage of the WebLogic server, the book takes the concept of "definitive" to a whole new level. Exhaustive treatment of the WebLogic server and management console answers any question that developers or administrators might think to ask. Developers will find a useful guide through the world of WebLogic to help them apply their J2EE expertise to build and manage applications. Administrators will discover all they need to manage a WebLogic-based setup. And system architects will appreciate the detailed analysis of the different system architectures supported by WebLogic, the overall organization of a WebLogic domain and supporting network infrastructure, and more.

WebLogic: The Definitive Guide is divided into three sections that explore WebLogic and J2EE, Managing the WebLogic Environment, and WebLogic Enterprise APIs. Some of the topics covered in this comprehensive volume include:

Building web applications on the WebLogic Server Building and optimizing RMI applications Using EJBs with WebLogic, including CMP entity beans Packaging and deploying applications Understanding WebLogic's support for clustering Performance tuning and related configuration settings Configuring WebLogic's SSL support Maximizing WebLogic's security features Building web services with XML Using WebLogic's JMX services and MBeans Anyone who has struggled with mastering the WebLogic server will appreciate the thorough, clearly written explanations and examples in this book. WebLogic: The Definitive Guide is the definitive documentation for this popular J2EE application server.

Author Notes

Jon Mountjoy has worked with J2EE technologies since their inception, and with WebLogic in particular. He currently works as a Product Development Manager at a firm specializing in risk management, and has held posts training and consulting in J2EE technologies. Jon has a post-graduate degree in computer science.

Avinash Chugh presently works as Senior Development Manager for a firm that produces software for the regulated industries (finance, energy, pharmaceutics). He has over three years experience with J2EE technologies, primarily on the WebLogic Server. Avinash holds a post-graduate degree in computer applications from Delhi University. He likes to spend his free time on vegetarian cooking, racquet sports, and ambient/experimental music.

Table of Contents

Prefacep. ix
1. Introductionp. 1
Overview of WebLogic Serverp. 1
Software and Versionsp. 14
Getting Started with WebLogic Serverp. 15
2. Web Applicationsp. 19
Packaging and Deploymentp. 20
Configuring Web Applicationsp. 26
Servlets and JSPsp. 32
JSP Tag Librariesp. 37
Session Trackingp. 46
Session Persistencep. 49
Clusters and Replicated Persistencep. 54
Configuring a Simple Web Clusterp. 56
Security Configurationp. 60
Monitoring Web Applicationsp. 66
3. Managing the Web Serverp. 67
Configuring WebLogic's HTTP Serverp. 68
Virtual Hostingp. 70
HTTP Access Logsp. 72
Understanding Proxiesp. 75
Web Server Plug-insp. 76
4. Using JNDI and RMIp. 84
Using WebLogic's JNDIp. 85
Using JNDI in a Clustered Environmentp. 90
Using WebLogic's RMIp. 96
Using WebLogic's RMI over IIOPp. 107
5. JDBCp. 114
Overview of JDBC Resourcesp. 115
Configuring JDBC Connectivityp. 119
WebLogic's Wrapper Driversp. 138
Rowsetsp. 142
Clustering and JDBC Connectionsp. 153
6. Transactionsp. 155
Overviewp. 155
EJB Transactionsp. 158
The Transaction Servicep. 163
Managing WebLogic JTAp. 168
7. JZEE Connectorsp. 176
Assembling and Deploying Resource Adaptersp. 177
Configuring Resource Adaptersp. 182
WebLogic-Specific Configuration Optionsp. 185
Using the Resource Adapterp. 192
Monitoring Connectionsp. 194
8. JMSp. 195
Configuring JMS Resourcesp. 197
Optimizing JMS Performancep. 208
Controlling Message Deliveryp. 223
JMS Programming Issuesp. 235
Clustered JMSp. 252
WebLogic's Messaging Bridgep. 267
Monitoring JMSp. 273
9. JavaMailp. 275
Configuring a Mail Sessionp. 275
Using JavaMailp. 276
Using Other JavaMail Providersp. 278
10. Using EJBsp. 279
Getting Startedp. 280
Development Guidelinesp. 295
Managing WebLogic's EJB Containerp. 303
Configuring Entity Beansp. 305
EJBs and Transactionsp. 316
EJBs and Clusteringp. 319
11. Using CMP and EJB QLp. 326
Building CMP Entity Beansp. 327
Features of WebLogic's CMPp. 331
Container-Managed Relationshipsp. 341
EJB QLp. 355
12. Packaging and Deploymentp. 362
Packagingp. 363
Deployment Toolsp. 370
Application Deploymentp. 374
WebLogic's Classloading Frameworkp. 381
Deployment Considerationsp. 388
Split Directory Developmentp. 399
13. Managing Domainsp. 405
Structure of a Domainp. 405
Designing a Domainp. 407
Creating Domainsp. 409
Domain Backupsp. 414
Handling System Failurep. 417
Domain Network Configurationp. 419
Node Managerp. 432
The Server Life Cyclep. 442
Monitoring a WebLogic Domainp. 449
14. Clusteringp. 450
An Overview of Clusteringp. 451
A Closer Look at the Frontend Tierp. 456
Load-Balancing Schemesp. 465
Using J2EE Services on the Object Tierp. 470
Combined-Tier Architecturep. 479
Securing a Clustered Solutionp. 480
Machines, Replication Groups, and Failoverp. 484
Network Configurationp. 486
Monitoring Clustersp. 490
15. Performance, Monitoring, and Tuningp. 491
Tuning WebLogic Applicationsp. 491
Tuning the Application Serverp. 503
Tuning the JVMp. 513
16. SSLp. 519
An Overview of SSLp. 520
Configuring WebLogic's SSLp. 526
Programmatic SSLp. 543
Mapping Certificates to WebLogic Usersp. 551
17. Securityp. 557
The Java Security Managerp. 559
Connection Filteringp. 561
The Security Provider Architecturep. 564
The Providersp. 581
Configuring Trust Between Two Domainsp. 596
JAAS Authentication in a Clientp. 596
Creating a Custom Authentication Providerp. 603
Creating an Identity Assertion Providerp. 610
18. XMLp. 615
JAXPp. 616
Built-in Processorsp. 621
The XML Registryp. 623
XML Application Scopingp. 628
WebLogic's Streaming APIp. 631
WebLogic's XPath APIp. 641
Miscellaneous Extensionsp. 644
19. Web Servicesp. 650
Using the Web Services Frameworkp. 651
Web Service Design Considerationsp. 668
Implementing the Backend Componentsp. 674
Datatypesp. 684
Implementing Clientsp. 703
Reliable SOAP Messagingp. 716
SOAP Message Handlersp. 720
Securityp. 726
UDDIp. 740
Internationalization and Character Setsp. 745
20. JMXp. 747
The MBean Architecturep. 749
Accessing MBean Serversp. 753
Accessing MBeansp. 755
Examplesp. 763
MBean Notificationsp. 766
Monitor MBeansp. 768
Timer MBeansp. 771
21. Logging and Internationalizationp. 773
The Logging Architecturep. 774
Listening for Log Messagesp. 779
Generating Log Messagesp. 783
22. SNMPp. 789
WebLogic's SNMP Infrastructurep. 789
Using the SNMP Agentp. 790
Trapsp. 793
SNMP Proxiesp. 797
Indexp. 799