Home > Store

Sams Teach Yourself J2EE in 21 Days, 2nd Edition

Register your product to gain access to bonus material or receive a coupon.

Sams Teach Yourself J2EE in 21 Days, 2nd Edition


  • Sorry, this book is no longer in print.
Not for Sale



Many common errors relate to improper configuration of the J2EE SDK. Please refer to chapter 2, particularly the section "Configuring Your J2EE 1.4 SDK Development Environment," beginning on page 52.

If after reviewing your J2EE SDK configuration, you continue to have difficulties, please contact us for additional assistance.


  • Organization reflects the key challenges of N-Tier development—Organized in three major sections: an introduction to J2EE and EJB; practical J2EE development techniques; and J2EE integration into diverse enterprise environments.
    • Prepares students for the realities of enterprise J2EE development and integration, while also making sure they understand the underlying concepts.

  • Hundreds of exercises and review questions—Includes exercises and review questions that can easily be tailored to the needs of specific courses and instructors.
    • Provides constant feedback and reinforcement to ensure that students understand the material they are learning.

  • Coverage of key J2EE technologies all Java developers need to know—Includes detailed coverage of EJB, JSP, servlets, Java Connectors, JMS, JavaMail, XML support, and more.
    • Helps students gain mastery over the core J2EE technologies they are most likely to encounter in real-world projects.

  • Coverage of todays fastest-growing areas of J2EE development—Includes detailed chapters on security, J2EE patterns, integration with external resources, and other timely topics.
    • Prepares students to handle the types of tasks and projects that enterprise IT shops will increasingly demand.

  • Detailed case study applications—Walks students through complete application and Web services case studies.
    • Helps students see how all elements of J2EE development come together to solve real-world business problems.


  • Copyright 2003
  • Dimensions: 7-3/8" x 9-1/8"
  • Pages: 1032
  • Edition: 2nd
  • Book
  • ISBN-10: 0-672-32558-6
  • ISBN-13: 978-0-672-32558-8

J2EE has become required knowledge for any serious Java developer, but learning this large and complex specification requires a substantial investment of time and energy. Sams Teach Yourself J2EE in 21 Days, 2/E presents the enterprise Java architecture in accessible, easy-to-comprehend lessons, describing how each J2EE tool solves the challenges of n-Tier development. Using the architecture as a roadmap, chapters describe Enterprise JavaBeans (EJB), JavaServer Pages (JSP), Java Servlets, and more, giving readers a full understanding of J2EE development.

Further chapters cover the role of XML, custom JSP tags, creating J2EE Web Services, and how Java Connectors allow J2EE applications to interact with legacy and non-Java systems. The book finishes with sample applications which put all the pieces together, including an example using J2EE to create Web Services. Along the way, every concept is illustrated with practical, real-world examples to ensure understanding by Java students as well as experts.



Case Studies 2 through 5 - 605 kb -- CaseStudy-2-5.zip

Case Study 6 - 536 kb -- CaseStudy-6.zip

Case Study 7 - 849 kb -- CaseStudy-7.zip

Case Study 8 - 717 kb -- CaseStudy-8.zip

Case Studies 9 and 10 - 978 kb -- CaseStudy-9-10.zip

Case Studies 11 and 12 - 890 kb -- CaseStudy-11-12.zip

Case Studies 13 through 15 - 1,122 kb -- CaseStudy-13-15.zip

Case Studies 16 through 19 - 714 kb -- CaseStudy-16-19.zip

Case Studies 20 and 21 - 1,090 kb -- CaseStudy-20-21.zip

Sample Content

Online Sample Chapters

J2EE Naming and Directory Services

Naming and Directory Services

Table of Contents



 1. The Challenge of N-Tier Development.
 2. The J2EE Platform and Roles.
 3. Naming and Directory Services.
 4. Introduction to Enterprise JavaBeans.
 5. Session EJBs.
 6. Entity EJBs.
 7. Container-Managed Persistence and EJB Query Language.


 8. Transactions and Persistence.
 9. Java Message Service.
10. Message Driven Beans.
11. JavaMail.
12. Servlets.
13. JavaServer Pages.
14. JSP Tag Libraries.


15. Security.
16. Integrating XML with J2EE.
17. Transforming XML Documents.
18. Patterns.
19. Integrating with External Resources.
20. Using RPC-Style Web Services with J2EE.
21. Message-Style Web Services and Web Service Registries.


Appendix A. An Overview of XML.
Appendix B. The Java Community Process.



Pages 266-67: Note that the file "targets.xml" is included with the Day06 code files (CaseStudy-6.zip) in the "common" directory.

Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership