Practices

Image

Learn how to apply robust application design to your J2EE projects
There are a number of best practices you need to consider to build highly effective J2EE components and integrate them into applications. These practices include evaluating and selecting the right set of software components and services to handle the job.
In this book, Darren Broemmer supplies you with a set of best practices for J2EE development and then teaches you how to use them to construct an application architecture referred to as the reference architecture. The design and implementation of the reference architecture is based on a set of guiding principles that are used to optimize and automate J2EE development.
In addition to the author's thorough discussions of the latest technologies for J2EE implementation-including EJB 2, Jakarta Struts, Servlets, Java Server Pages, UML, design patterns, Common Business Logic Foundation components, and XML-Broemmer addresses such topics as:
* Understanding J2EE application architecture
* Building business applications with J2EE, a business object architecture, and extensible components created with design patterns
* Designing and implementing a sample banking Web application
* Integrating proven performance-engineering and optimization practices in the development process
* Using metadata-driven, configurable foundation components to automate much of the development and processing of Web-based business applications
The companion Web site contains the source code for a Common Business Logic Foundation and sample applications from the book, including a Jakarta Struts project and a banking application. Links to the Jakarta Struts frameworks and J2EE application servers such as BEA WebLogic and IBM WebSphere are also provided.

Image

Learn how to apply robust application design to your J2EE projects
There are a number of best practices you need to consider to build highly effective J2EE components and integrate them into applications. These practices include evaluating and selecting the right set of software components and services to handle the job.
In this book, Darren Broemmer supplies you with a set of best practices for J2EE development and then teaches you how to use them to construct an application architecture referred to as the reference architecture. The design and implementation of the reference architecture is based on a set of guiding principles that are used to optimize and automate J2EE development.
In addition to the author's thorough discussions of the latest technologies for J2EE implementation-including EJB 2, Jakarta Struts, Servlets, Java Server Pages, UML, design patterns, Common Business Logic Foundation components, and XML-Broemmer addresses such topics as:
* Understanding J2EE application architecture
* Building business applications with J2EE, a business object architecture, and extensible components created with design patterns
* Designing and implementing a sample banking Web application
* Integrating proven performance-engineering and optimization practices in the development process
* Using metadata-driven, configurable foundation components to automate much of the development and processing of Web-based business applications
The companion Web site contains the source code for a Common Business Logic Foundation and sample applications from the book, including a Jakarta Struts project and a banking application. Links to the Jakarta Struts frameworks and J2EE application servers such as BEA WebLogic and IBM WebSphere are also provided.

Image

Learn how to apply robust application design to your J2EE projects
There are a number of best practices you need to consider to build highly effective J2EE components and integrate them into applications. These practices include evaluating and selecting the right set of software components and services to handle the job.
In this book, Darren Broemmer supplies you with a set of best practices for J2EE development and then teaches you how to use them to construct an application architecture referred to as the reference architecture. The design and implementation of the reference architecture is based on a set of guiding principles that are used to optimize and automate J2EE development.
In addition to the author's thorough discussions of the latest technologies for J2EE implementation-including EJB 2, Jakarta Struts, Servlets, Java Server Pages, UML, design patterns, Common Business Logic Foundation components, and XML-Broemmer addresses such topics as:
* Understanding J2EE application architecture
* Building business applications with J2EE, a business object architecture, and extensible components created with design patterns
* Designing and implementing a sample banking Web application
* Integrating proven performance-engineering and optimization practices in the development process
* Using metadata-driven, configurable foundation components to automate much of the development and processing of Web-based business applications
The companion Web site contains the source code for a Common Business Logic Foundation and sample applications from the book, including a Jakarta Struts project and a banking application. Links to the Jakarta Struts frameworks and J2EE application servers such as BEA WebLogic and IBM WebSphere are also provided.

Image

Struts is the most popular MVC framework used for J2EE web application development. This book covers the Struts architecture and basics such as data validation, tags and I18N.

In addition, it covers a lot of tips, strategies and best practices for Struts based application design and development, many of them not found elsewhere. It tells you how to fill the gaps in Struts and what features are important in J2EE projects.

The book provides a robust exception handling strategy that is production-ready. You will learn how to edit List based forms in Struts. You will also see how to use Paging framework with Struts and neat tricks. You will see when does customizing Struts really make sense in real projects.

What's inside
Struts basics - architecture, validation, tags, I18N
Best Practices for designing Action classes
Action chaining
Robust exception handling with Struts
Using Image buttons in Forms
List Forms
Paging libraries for Struts
Handling Duplicate Form submission in generic way
Customizing Struts

Image

Java Database Best Practices rescues you from having to slog through books on each of the various APIs before figuring out which method to use! This guide introduces each of the dominant APIs, explores the methodology and design components that use those APIs, and then offers practices most appropriate for different types and makes of databases, and different types of applications. Java Database Practices also examines database design, from table and database architecture to normalization, and offers a number of best practices for handling these tasks as well. Learn how to move through the various forms of normalization, understand when to denormalize, and even get detailed instructions on optimizing your SQL queries to make the best use of your database structure. Through it all, this book focuses on practical application of these techniques, giving you information that can immediately be applied to your own enterprise projects.

Image

Completely updated and revised, this is the second edition of the best-seller Core J2EE Patterns. J2EE has become the platform of choice for Web-centric distributed enterprise application development. Expert consultants from the Sun Java Center have identified powerful J2EE design patterns that lead to applications with superior performance, scalability, and robustness. This book brings those design patterns together, sharing Sun's best practices for development with Java Server Pages (JSP), Servlets, EJB, and other J2EE technologies. It presents a complete catalog of J2EE patterns encapsulating proven and recommended designs for common J2EE-related problems, organized into presentation tier, business tier and integration tier solutions. This second edition introduces new patterns, new refactorings, new patterns for using XML as well as new patterns for J2EE Web services. The authors also identify bad practices to be avoided. Finally, it presents an end-to-end multi-tier case study covering every stage of enterprise development.

Image

Praise for Core Security Patterns

"Java provides the application developer with essential security mechanisms and support in avoiding critical security bugs common in other languages. A language, however, can only go so far. The developer must understand the security requirements of the application and how to use the features Java provides in order to meet those requirements. Core Security Patterns addresses both aspects of security and will be a guide to developers everywhere in creating more secure applications."

--Whitfield Diffie, inventor of Public-Key Cryptography

"A comprehensive book on Security Patterns, which are critical for secure programming."

--Li Gong, former Chief Java Security Architect, Sun Microsystems, and coauthor of Inside Java 2 Platform Security

"As developers of existing applications, or future innovators that will drive the next generation of highly distributed applications, the patterns and best practices outlined in this book will be an important asset to your development efforts."

--Joe Uniejewski, Chief Technology Officer and Senior Vice President, RSA Security, Inc.

"This book makes an important case for taking a proactive approach to security rather than relying on the reactive security approach common in the software industry."

--Judy Lin, Executive Vice President, VeriSign, Inc.

"Core Security Patterns provides a comprehensive patterns-driven approach and methodology for effectively incorporating security into your applications. I recommend that every application developer keep a copy of this indispensable security reference by their side."

--Bill Hamilton, author of ADO.NET Cookbook, ADO.NET in a Nutshell, and NUnit Pocket Reference

"As a trusted advisor, this book will serve as a Java developer™s security handbook, providing applied patterns and design strategies for securing Java applications."

--Shaheen Nasirudheen, CISSP,Senior Technology Officer, JPMorgan Chase

"Like Core J2EE Patterns, this book delivers a proactive and patterns-driven approach for designing end-to-end security in your applications. Leveraging the authors™ strong security experience, they created a must-have book for any designer/developer looking to create secure applications."

--John Crupi, Distinguished Engineer, Sun Microsystems, coauthor of Core J2EE Patterns

Core Security Patterns is the hands-on practitioner™s guide to building robust end-to-end security into J2EE™ enterprise applications, Web services, identity management, service provisioning, and personal identification solutions. Written by three leading Java security architects, the patterns-driven approach fully reflects today™s best practices for security in large-scale, industrial-strength applications.

The authors explain the fundamentals of Java application security from the ground up, then introduce a powerful, structured security methodology; a vendor-independent security framework; a detailed assessment checklist; and twenty-three proven security architectural patterns. They walk through several realistic scenarios, covering architecture and implementation and presenting detailed sample code. They demonstrate how to apply cryptographic techniques; obfuscate code; establish secure communication; secure J2ME™ applications; authenticate and authorize users; and fortify Web services, enabling single sign-on, effective identity management, and personal identification using Smart Cards and Biometrics.

Core Security Patterns covers all of the following, and more:

  • What works and what doesn™t: J2EE application-security best practices, and common pitfalls to avoid
  • Implementing key Java platform security features in real-world applications
  • Establishing Web Services security using XML Signature, XML Encryption, WS-Security, XKMS, and WS-I Basic security profile
  • Designing identity management and service provisioning systems using SAML, Liberty, XACML, and SPML
  • Designing secure personal identification solutions using Smart Cards and Biometrics
  • Security design methodology, patterns, best practices, reality checks, defensive strategies, and evaluation checklists
  • End-to-end security architecture case study: architecting, designing, and implementing an end-to-end security solution for large-scale applications



Image

Discover the fastest way to migrate to Windows Server 2003 and begin to profit from its enterprise-ready features. Learn how to use the parallel network - a migration approach that provides constant rollback and limited impact on your existing network. Build your new network from the ground up. Begin by designing your Enterprise Network Architecture and then move on to feature by feature implementations. Learn to make the most of Active Directory as an object management environment to remotely configure PCs, Servers, Users and Groups.

Image

This book spells out guidelines and strategies for successfully using ServiceOriented Architecture (SOA) in large-scale projects. SOA represents the latestparadigm in distributed computing and middleware development. However,SOA is not a revolution, but rather an evolution in software architecture. SOAis a collection of best practice software construction principles accompanied byproven methodologies in development and project management.This book is unique in that it offers a pragmatic approach to the topic. Theauthors borrow from their more than forty years of collective enterpriseexperience, and offer a frank discussion of the challenges associated withadopting SOA. They also help readers ensure that their organization does notbecome too closely tied to a specific technology. The result is a detailedintroduction to the topic and an architectural blueprint for implementing SOA.

Image

Ten practical real-world case studies combining business process management and web services orchestration

  • Real-world BPEL recipes for SOA integration and Composite Application development
  • Combining business process management and web services orchestration
  • Techniques and best practices with downloadable code samples from ten real-world case studies

In Detail
Service Oriented Architecture is generating a buzz across the whole IT industry. Propelled by standards-based technologies like XML, Web Services, and SOAP, SOA is quickly moving from pilot projects to mainstream applications critical to business operations. One of the key standards accelerating the adoption of SOA is Business Process Execution Language for Web Services (BPEL).

BPEL was created to enable effective composition of web services in a service-oriented environment. In the past two years, BPEL has become the most significant standard to elevate the visibility of SOA from IT to business level. BPEL is not only commoditizing the integration market, but it is also offering organizations a whole new level of agility - ability to rapidly change applications in response to the changing business landscape. BPEL enables organizations to automate their business processes by orchestrating services within and across the firewall. It forces organizations to think in terms of services. Existing functionality is exposed as services. New applications are composed using services. Communication with external vendors and partners is through services. Services are reused across different applications. Services are, or should be, everywhere!

What you will learn from this book?

In the Packt book Business Process Execution Language for Web Services by Matjaz Juric, we learnt about the building blocks and how these technologies could be used to build a simple SOA solution. As organizations increase their SOA footprint, IT Managers, Architects, and developers are starting to realize that the impact of SOA on IT and business operations can be immense. After having gained confidence with web services, they want to take it to the next level. However, adopters are challenged with some basic questions - How do I SOA-enable my existing integration investment? Can I build flexible and agile business processes? How can I administer my SOA environment without spending a fortune? There have been various best practices defined around SOA, but to date these have been somewhat abstract and lacking a real-world basis. The IT community is looking for real-world examples; examples of how other companies are embarking on an SOA initiative and how to apply that industry learning to their own projects.

What makes this a Cookbook? After you have been exposed to the different ingredients (BPEL, WSDL, and web services), this book takes the adventure to the next level by helping you cook new recipes (SOA applications) using efficient kitchen techniques (best practices). 10 SOA practitioners have gotten together to share their SOA best practices and provide practical viewpoints to tackle many of the common problems SOA promises to solve. Their recommendations are based on projects in production; their existing projects could be your next ones. Through this process you'll learn the techniques and gain the confidence to create and deliver the recipe that's right for your particular situation.

Who this book is written for?

This book is aimed at architects and developers building applications in Service Oriented Architecture. The book presumes knowledge of BPEL, SOA, XML, web services, and multi-tier architectures.

Pages

Subscribe to RSS - Practices