- STAFF PICKS
- GIFTS + GIFT CARDS
- SELL BOOKS
- FIND A STORE
New Trade Paper
Currently out of stock.
available for shipping or prepaid pickup only
Other titles in the Sams Teach Yourself...in 21 Days series:
Sams Teach Yourself Ejb in 21 Days (Sams Teach Yourself ... in 21 Days)by Ragae Ghaly
Synopses & Reviews
Sams Teach Yourself EJB in 21 Days introduces the development and deployment aspects of EJB, the fastest growing standards in developing Java applications in and enterprise environment. EJBs are, functionally, distributed network aware components for developing secure, scalable, transactional, and multi-user components in a J2EE environment. Sams Teach Yourself EJB in 21 Days covers the new features of EJB 2.0, such as local interface, CMP, and CMR. It provides hands-on examples based on practical solutions found in the industry. Tips and best practices give beginners an edge to avoid repeated mistakes. The review questions provide the reader with a study guide. Source code for a complete credit approval process in a transactional e-Commerce environment is provided.
An in-depth introduction to Enterprise JavaBeans, a core component of the Java 2 Enterprise platform.
About the Author
Ragae Ghaly has more than 25 years of experience in both academic research and industrial fields. He is an independent consultant, and he has worked in different capacities for large enterprises such as SHL Systemhouse, General Motors, Proxicom, and WellPoint Health Network. He has been working with Java and J2EE since their inception. His areas of interest include distributed systems, object-oriented modeling, middleware, design patterns, enterprise architecture, and EAI. He gained a masters degree in computer science from Florida International University. He has published a handful of papers about real-time object-oriented databases and J2EE application servers. Ragae lives in California, and in his free time he likes to study human languages. He also likes to travel and spend precious time with his family.
Krishna Kothapalli has 10 years of experience in the software industry in different roles as a developer, consultant, and architect. He has worked in small, medium, and large companies such as SHL Systemhouse, Sapient Corporation, Xerox Corporation, General Motors, and CacheEdge. His areas of interest include distributed object-oriented systems, Internet systems, and biotechnology. He gained a masters degree in computer science from the Indian Institute of Technology, Madras. He has published articles in the areas of distributed algorithms and Enterprise JavaBeans. In his free time, he plays with his children, helps organize research for autoimmune diseases, and develops Web sites for non-profit organizations. He believes that anything under the sun can be mastered in 21 days, with the exception of the GNU Emacs editor with its unlimited capabilities. Ever since he dreamed of retiring rich at the age of 30, he has started to feel younger with every passing year.
Table of Contents
(NOTE: Each chapter concludes with Best Practices, Summary, Q&A, Quiz, and Exercises.)
How This Book Is Organized. About This Book. Who Should Read This Book.
WEEK 1. ENTERPRISE JAVA ARCHITECTURE.
Day 1. Understanding EJB Architecture.
The Challenges of Developing Enterprise Applications. What's an EJB? EJB Architecture Overview. Why EJB? Looking Inside an EJB. Essential EJB Container Services. Understanding EJB Roles. The University Registration System.
Day 2. Understanding EJB Types and Interfaces.
Enterprise JavaBean Types. Enterprise JavaBean Under the Hood. EJB Interfaces. Java Remote Method Invocation over Internet Inter-ORB Protocol Technology. Remote and Local Interfaces. Deployment Descriptors. Packaging and Deploying Enterprise JavaBeans. Enterprise JavaBean Restrictions.
Day 3. Understanding Session Beans.
What Is Conversational State? What Are Session Beans? Session Bean Files. Characteristics of Session Beans. Types of Session Beans. Session Bean Methods. Life Cycle of Session Beans. Comparing Stateless and Stateful Session Beans. Best Practices.
Day 4. Using JNDI for Naming Services and Components.
Naming Services. Directory Services. What Is JNDI? JNDI API. Context Operations. Using JNDI in J2EE Applications.
Day 5. Developing Stateless Session Beans.
Looking Under the Hood of a Stateless Session Bean. Designing the Stateless Session Bean. Implementing the Stateless Session Bean. Packaging the Enterprise Bean. Writing a Client. Running the Example.
Day 6. Developing Stateful Session Beans.
Looking Under the Hood of the Stateful Session Bean. Designing the Stateful Session Bean. Implementing the Stateful Session Bean. Writing the Client. Packaging and Deploying the Enterprise Bean. Running the Example.
Day 7. Designing Web Applications.
Understanding Web Applications. Working with Servlets. Tracking User Session by Servlets. Learning JavaServer Pages. Using a JSP Tag Library. Understanding the JavaBeans Java Class. Using MVC in Designing Web Applications. Packaging Web Applications.
WEEK 2. ENTITY BEANS AND MESSAGE-DRIVEN BEANS.
Day 8. Understanding Entity Beans.
What Are Entity Beans? Characteristics of Entity Beans. Comparing Entity Beans and Session Beans. Types of Entity Persistence. Entity Bean Files. Entity Bean Methods. Life Cycle of an Entity Bean.
Day 9. Using JDBC to Connect to a Database.
Why JDBC? JDBC Architecture. Introducing the JDBC API. Connecting to a Data Source. Data Manipulation. Optimized Queries to the Database. Using Local Transactions. Using Batch Updates. Working with Metadata. Working with JDBC Through a Full Example.
Day 10. Developing Bean-Managed Persistence Entity Beans.
Looking Under the Hood of a BMP Entity Bean. Designing the BMP Entity Bean. Implementing the BMP Entity Bean. Writing a Client. Packaging and Deploying the Enterprise Bean. Running the Example.
Day 11. Developing Container-Managed Persistence Entity Beans.
Looking Under the Hood of a CMP Entity Bean. Designing a CMP Entity Bean. Implementing the CMP Entity Bean. Writing a Client. Packaging and Deploying the Enterprise Bean. Running the Example.
Day 12. Developing Container-Managed Relationships.
Examining Container-Managed Relationships. Implementing Container-Manager Relationships. Designing Container-Managed Relationships. Defining the Home Interfaces. Defining the Remote Interfaces. Implementing the Enterprise Bean Classes. Declaring the Deployment Descriptors. Writing a Client. Packaging and Deploying the Enterprise Beans. Running the Example.
Day 13. Understanding JMS and Message-Driven Beans.
Learning the JMS Fundamentals. Understanding JMS Architecture. Exploring Messaging Models. Understanding JMS Interfaces and Classes. Designing Reliable Messaging Clients. Anatomy of JMS Messages. Message-Driven Beans.
Day 14. Developing Message-Driven Beans.
Looking Under the Hood of an MDB. Designing the Message-Driven Bean. Implementing the Enterprise Bean Class. Declaring the Deployment Descriptor. Writing a Client. Packaging and Deploying the Enterprise Bean. Running the Example. Examining the Life Cycle of a Message-Driven Bean.
WEEK 3. ADVANCED EJB APPLICATIONS.
Day 15. Understanding J2EE Architecture.
J2EE Overview. The Evolution of J2EE Architecture. Understanding the J2EE Container Model. Exploring J2EE Protocols. Understanding the J2EE Common Services APIs. Exploring the J2EE Data Formats. Packaging J2EE Applications. Designing J2EE Applications.
Day 16. Understanding J2EE Transactions.
Understanding Transaction Fundamentals. Types of Transactions. Java Transaction API. Exploring Transactions Across the J2EE Tiers. Example of Distributed Transactions.
Day 17. Building Container-Managed Transaction Beans.
Understanding Container-Managed Transactions. Reviewing Transaction Attributes with CMT. Transaction Semantics for CMT. Example for Developing EJB with CMT.
Day 18. Building Bean-Managed Transaction Beans.
Why Bean-Managed Transactions? Using Local or Global Transactions in BMT. Which Types of EJBs Can Use BMT? Developing an EJB with BMT.
Day 19. Understanding Security.
Reviewing Security Fundamentals. Exploring J2EE Security Across All Tiers. JAAS Security. Security Responsibilities.
Day 20. Implementing JavaMail in EJB Applications.
Understanding JavaMail. Learning the JavaMail API. Using the JavaMail API. Developing JavaMail Applications. Implementing the Client. Running the JavaMail Application.
Day 21. Developing a Complete Enterprise Application.
Understanding the Application. Analyzing the Application. Architecting the System. Designing the Application. Packaging and Deploying the Application. Running the Sample Application.
Appendix A. WebLogic Application Server 7.0.
Downloading and Installing WebLogic 7.0. Configuring WebLogic 7.0.
Appendix B. JBoss Application Server 3.0.
Downloading and Installing JBoss 3.0. Configuring JBoss 3.0. Running and Testing JBoss 3.0.
Appendix C. Understanding XML.
Exploring an XML Document. Summary of XML Document Markups. Characteristics of XML Documents.
Appendix D. Introduction to UML Notation.
Class Diagrams. State Diagrams. Sequence Diagrams.
Appendix E. Glossary of Terms.
What Our Readers Are Saying