DescriptionWhat is this book about?
The results of using J2EE in practice are often disappointing: applications are often slow, unduly complex, and take too long to develop. Rod Johnson believes that the problem lies not in J2EE itself, but in that it is often used badly. Many J2EE publications advocate approaches that, while fine in theory, often fail in reality, or deliver no real business value.
Expert One-on-One: J2EE Design and Development aims to demystify J2EE development. Using a practical focus, it shows how to use J2EE technologies to reduce, rather than increase, complexity. Rod draws on his experience of designing successful high-volume J2EE applications and salvaging failing projects, as well as intimate knowledge of the J2EE specifications, to offer a real-world, how-to guide on how you too can make J2EE work in practice.
It will help you to solve common problems with J2EE and avoid the expensive mistakes often made in J2EE projects. It will guide you through the complexity of the J2EE services and APIs to enable you to build the simplest possible solution, on time and on budget. Rod takes a practical, pragmatic approach, questioning J2EE orthodoxy where it has failed to deliver results in practice and instead suggesting effective, proven approaches.
What does this book cover?
In this book, you will learn
- When to use a distributed architecture
- When and how to use EJB
- How to develop an efficient data access strategy
- How to design a clean and maintainable web interface
- How to design J2EE applications for performance
Who is this book for?
This book would be of value to most enterprise developers. Although some of the discussion (for example, on performance and scalability) would be most relevant to architects and lead developers, the practical focus would make it useful to anyone with some familiarity with J2EE. Because of the complete design-deployment coverage, a less advanced developer could work through the book along with a more introductory text, and successfully build and understand the sample application. This comprehensive coverage would also be useful to developers in smaller organisations, who might be called upon to fill several normally distinct roles.
What is special about this book?
Wondering what differentiates this book from others like it in the market? Take a look:
- It does not just discuss technology, but stress its practical application. The book is driven from the need to solve common tasks, rather than by the elements of J2EE.
- It discuss risks in J2EE development
- It takes the reader through the entire design, development and build process of a non-trivial application. This wouldn't be compressed into one or two chapters, like the Java Pet Store, but would be a realistic example comparable to the complexity of applications readers would need to build.
- At each point in the design, alternative choices would be discussed. This would be important both where there's a real problem with the obvious alternative, and where the obvious alternatives are perhaps equally valid.
- It emphasizes the use of OO design and design patterns in J2EE, without becoming a theoretical book
Chapter 1: J2EE Architectures.
Chapter 2 J2EE Projects: Choices and Risks.
Chapter 3: Testing J2EE Applications.
Chapter 4: Design Techniques and Coding Standards for J2EE Projects.
Chapter 5: Requirements for the Sample Application.
Chapter 6: Applying J2EE Technologies.
Chapter 7: Data Access in J2EE Applications.
Chapter 8: Data Access Using Entity Beans.
Chapter 9: Practical Data Access.
Chapter 10: Session Beans.
Chapter 11: Infrastructure and Application Implementation.
Chapter 12: Web-Tier MVC Design.
Chapter 12: Views in the Web Tier.
Chapter 14: Packaging and Application Deployment.
Chapter 15: Performance Testing and Tuning an Application.
Chapter 16: Conclusion: Making J2EE Work for You.
Appendix A: Implementing View Technologies.
|Download source code for the book (no binaries for some of supporting libraries such as XMLC).|
This zip contains all the source code for the book - does not contain binaries for some of the supporting libraries such as XMLC etc. See readme for details.
|Rename this zip file to ear to get compiled version of sample application and associated frameworks.||Download|
|This zip contains the third-party libraries mentioned in Appendix A. |
The directories under "lib" in this zip file should be copied to the "lib" folder for the application.
|This zip file contains the "i21-web-demo" (examples from application discussed in Chapter 14).|
This download can also be used as a skeleton for web applications using the framework.
|Missing source code|
The following source code is missing from the source files classcom.interface21.beans.factory.support.BeanFactoryBootstrap.java Navigate to the following URL http://sourceforge.net/project/showfiles.php?group_id=73357 On this page click on the link spring-framework-0.9.zip and download this zip file. Extract: classcom.interface21.bean.factory.support.BeanFactoryBootstrap.java from this zip file.