Week 2: Advanced Features of WebLogic

Day 8 continues the study of JDBC started in Day 7, covering the main areas of the JDBC API. You'll study the retrieval of data, including the new enhancements provided by the JDBC 2.0 API: scrollable and updateable resultsets and the batch update concept. Two new additions to the JDBC 2.0 API and the three types of RowSet objects are also discussed.

Day 9 lays the foundation for the next few chapters by explaining Java Naming and Directory Interface concepts. You'll study the important classes and interfaces in the JNDI API that are part of the javax.naming package and are used by client applications and server objects to interact with a naming service. Then you'll look at the classes and interfaces in the javax.naming.directory package. Finally, you'll write a sample JNDI application that demonstrates the use of naming and directory services.

You'll learn about stateful session beans on Day 10. The day begins with an introduction to EJBs concepts and WebLogic Server's support for the EJB 2.0 specification. Next the life cycle of a stateful session bean is covered. You'll look at differentiators in stateful session beans and stateless session beans and study the components that make up a stateful session EJB. An important topic covered is the different strategies that vendors apply to implement the EJBObject object. Finally, you'll build a restaurant application.

Day 11 covers stateless session beans. You'll look at how the life cycle of a stateless session bean differs from that of a stateful session bean. Then you'll learn how to access EJBs from CORBA and RMI clients. For this purpose, you'll study how to generate IDL files and client stubs. You'll implement stateless session beans in the restaurant sample application and build the business-logic part of the airline ticket booking system.

Day 12 covers the second type of EJBs, entity beans. The main focus is on container-managed persistence. You'll learn how one-to-one, one-to-many, and many-to-many relationships are handled in the new CMP model. Next you'll see a brief overview of the EJB Query Language and the extensions provided by WebLogic Server to the EJQB QL called WebLogic Query Language (WLQL). Finally, you'll write a hands-on sample application implementing entity beans using CMP.

On Day 13 you'll learn how entity beans persist data using bean-managed persistence. You'll examine the components that must be modified to implement BMP, and you'll implement Day 12's sample application using BMP. After this you'll look at a new persistence specification introduced by Sun: the Java Data Objects specification. You'll also study the newly introduced EJB-to-JSP integration tool provided by WebLogic Server. Finally, you'll build the last building block of the airline ticket booking system: the entity beans.

Day 14 explains transaction management. Concepts of transactions, such as ACID properties and the transaction life cycle, are discussed. You'll learn about the components of a transaction architecture and the important classes and interfaces that make up the Java Transaction API. Finally, you'll learn the steps for developing a bean-managed and container-managed transaction application, and implement them in a sample application.



Sams Teach Yourself BEA WebLogic Server 7. 0 in 21 Days
Sams Teach Yourself BEA WebLogic Server 7.0 in 21 Days
ISBN: 0672324334
EAN: 2147483647
Year: 2002
Pages: 339

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