- Release Date: 01 February, 2004
- Used Price: $32.00
- Availability: Usually ships within 24 hours
- Third Party Used Price: $31.47
Authors: Jon Mountjoy, Avinash Chugh
Customer Rating: 5 of 5 (2 total reviews)
- The BEST WebLogic book in the market
WebLogic: The Definitive Guide published by O'Reilly has to be the best WebLogic book in the market today.
The book starts off with a nice introduction to Web application in the context of WebLogic including discussion of WebLogic specific descriptors. Everything you need to create production-ready application including HTTP Session replication, clustering HTTP sessions using in-memory replication, HttpClusterServlet and SSL is discussed in here in a very clear and concise manner. There is also a section that describes how to setup an Apache webserver to front a cluster of WebLogic servers. This section also includes a great section on security and using security in your application.
The next chapter in the book discusses JNDI in great detail. I re-read this chapter several times and just love the treatment this topic was given. There were things in there that I have learned over the last 5 years of using WebLogic, which made me wish I had this book in 1999. There is clear and in-depth explanation of JDNI, binding object to JNDI, RMI, and RMI over IIOP, and many other JNDI best practices.
After JNDI, the book moves on to JDBC and this chapter provides a very comprehensive tutorial on how to use JDBC and database in the context of WebLogic. The discussion includes connection pools, multipools, and Data Sources. My favorite part of this chapter was the detailed section on all of the connection pool configuration parameters. WebLogic's JDBC sub-system is incredibly powerful but the WebLogic console or help doesn't do a good job of explaining all of the features and settings and it's nice to have a complete guide to all of the configuration parameters. The chapter also includes discussion on using Java Data Sources in context of a transaction and javax.transaction.UserTransaction.
The JDBC chapter also includes a section on Rowsets. Rowsets were introduced in JDBC 2.0 and the Rowset interface extends the java.sql.ResultSet interface. There is Java code on how to use Rowsets including creating, populating, and manipulating Rowsets along with transactions and disconnected Rowsets. There is also discussion on the different optimistic concurrency schemes.
After JDBC, the book moves onto transactions and the Java Transaction API (JTA) and how to use them in context of JDBC transactions (XA and non-XA), distributed transactions, and EJB transactions. Very nicely written chapter and anyone needing to understand how to build and deploy applications that use JTA will find everything they need here. The next chapter deals with Java Connector Architecture (JCA) and I basically skimmed this chapter. I don't have a lot of experience with JCA but this chapter looks good.
The next chapter deals with the topic of the Java Messaging Service or JMS. This is also one of those chapters that I re-read several times and I love the way it is written. This is very comprehensive chapter and I won't list out all the contents but I have to highlight the section on clustered JMS. There is a brief mention of Message-driven Beans (MDBs) in this section but detailed treatment is in the EJB section.
The next section of the book deals with Enterprise Java Beans or EJBs. The chapter starts off with a quick tutorial of Cedric's EJBGen. From EJBGen, you move into discussion of the now deprecated ejbc (WebLogic EJB compiler) and the newer appc class for compiling EJBs. After a brief discussion of transactions, we move into configuration aspects including pooling of stateless and stateful EJBs. The issue of concurrency with entity beans is also discussed here along with some good concurrency strategy. The issue of clustering and failover of stateful and stateless EJBs is also discussed here. The EJB section continues and includes topics like CMP 2.0 and EJB QL. If you are new to CMP or Entity Beans, you will really benefit from this chapter as it includes an in-depth look and all of the issues involved in CMP including Container-Managed relationships, cascading deletes, caching, EJB QL and WebLogic specific extensions to EJB QL.
The next chapter deals with packaging and deployment of applications to the WebLogic server. After a quick decision of the deployer tool, the section describes all the features available for application deployment including the idea of staging applications and auto deployment. I really like the section that describes WebLogic's custom classloaders and how class loading works in EAR files. This is usually a very confusing topic and people new to J2EE or EAR files will spend a lot of time trying to figure out classpath issues.
After deployment, the book moves on to install and creation of WebLogic domains. This section is useful for the developer, but really necessary for the WebLogic admin that is going to manage the production environments. WebLogic is the best application server out there and with all the features comes complexity. There are a lot of options in setting up managed, admin servers, node manager and this chapter does a great job of articulating all of the options and highlighting some of the best-practices in WebLogic software install.
The next section deals with clustering, load balancing and failover and how to achieve high-availability for your application. There is great discussion on how to setup a cluster with multiple configurations including splitting web and object tier across clusters and co-locating web/object tier (my preferred option) in the same cluster.
Note - I had to trim this review to comply with Amazon's requirements. See my blog for the complete review.
In closing, this is a great book for developers, architects and system or network administrators that work with WebLogic. I think this is a must-own book and fills in all of the gaps that are left with WebLogic's online documentation. I would highly recommend this book to anyone working with WebLogic in any capacity. You are guaranteed to learn something new every time you crack open this book. Run, don't walk and buy this book.
- Fantastic resource for J2EE developers
This is a must-have book for J2EE engineers. Chapter five, on JDBC, is thorough and excellent. The JMS chapter, number eight, is very in-depth and worth the price of admission. Chapter twelve, on deployment, has fine coverage of both the theory and the execution of web application deployment. Chapters thirteen and fourteen on domain management and cluster are fantastic. Chapter seventeen on security is also great.
That's the good news. The book isn't perfect. Some chapters are way too brief. For example the chapter on transactions is just an overview. And the chapter on XML is completely superfluous.
Negatives aside, this is a great book. The chapters on JDBC, EJB, Deployment, and Clustering are worth the price alone.