every other month in this column we (deepak alur, john crupi, dan malks, and other architects from the sun java center (www.sun.com/service/sunps/jdc) will discuss various topics from our book, core j2ee patterns: best practices and strategies (alur, crupi, malks, prentice hall/sun press 2001). these topics include the 15 j2ee patterns in our catalog, design strategies, bad practices, refactorings, and pattern-driven design in j2ee technology.
patterns are expert solutions - recurring designs that have proven effective over time. this months article will provide you with a bit more detail on the subject.
when applying patterns to the presentation tier, we address the following: pre- and postprocessing of a request and/or response request handling, navigation, and dispatch view preparation and creation application partitioning in other words, how do we handle a web request, managing any necessary data access and generating presentation content for the user? how might we transform the incoming or outgoing stream? how do we determine what processing to perform to fulfill this request? what view should be used to service the request and how do we generate it? what are the logical abstractions and how do we design and decompose our software to take advantage of these abstractions?
six presentation tier patterns are documented in the core
j2ee patterns catalog. the patterns and their tier categorizations
are shown in table 1. because of the focus of this column, well
describe just one of the p... 下一页