developing interesting and effective java web applications requires simple, robust, and manageable frameworks and the tools that complement them. if you design and develop java applications for a living, it could be quite a challenge to stay abreast of all the software developments and frameworks both from commercial software vendors and the vast open source community. in this article, we will survey the various java web development frameworks that are popular today and then take an in-depth look into the javaserver faces (jsf) technology.
ever since the creation of servlets and jsps, web application architects and developers have contemplated on how to standardize the application development process, particularly for large enterprise projects. they often include questions such as which frameworks and design patterns to use; how to perform data validation; and how to handle exceptions, errors, and logging.
as architects, weve pursued these challenges and from time to time have adopted and used the frameworks that were in vogue and extracted their best practices. from among these many frameworks, we would predict the emergence of what could potentially become a standard for web development only to see it slip away because it lacked some features, or it was too proprietary, and so on.
we revisited these questions recently in an enterprise portal project. it started out as a debate on what would be the critical size of a web application to warrant using a robust framework. once we crossed that point, the next challenge we faced was whether to advocate one from a plethora of open source frameworks or recommend our own internally developed framework. as much as java and open source have in common, this question is an interesting one in view of enterprises that are concerned about support for the tools and frameworks used in their applications.
once a framework is chosen, you have to justify the overheads such as the ramp-up cost and the learning curve against its return on ease-of-use, maintainability, and standardization of the developmental process. the last but not the least of those challenges is about successfully executing the projects requirements.
all of this in todays ever-challenging web application development projects with their dynamic requirements and deadlines. wouldnt it be desirable to have a standard-based solution that extracts the best ideas from the innumerous proprietary frameworks and frameworks from the open source communities? could javaserver faces be such a standard? in this article we survey the landscape of web development frameworks and then look under the hood of jsf and see what it has to offer.
for an enterprise web development framework to be successful and popular, it has to cater to two types of audiences. one type is those who are attached to the tools and ides whose selection may have long been made. these developers derive high productivity gains from these tools, much of which may come from familiarity and ease of development with their existing applications.
the second type is those who are not particularly locked into any tools or ides. these developers cr... 下一页