Learning Jakarta Struts 1.2: a concise and practical tutorial (Paperback)
暫譯: 學習 Jakarta Struts 1.2:簡明實用的教程 (平裝本)

Stephan Wiesner

  • 出版商: Packt Publishing
  • 出版日期: 2005-08-05
  • 售價: $1,530
  • 貴賓價: 9.5$1,454
  • 語言: 英文
  • 頁數: 220
  • 裝訂: Paperback
  • ISBN: 190481154X
  • ISBN-13: 9781904811541
  • 已過版

買這商品的人也買了...

相關主題

商品描述

A step-by-step introduction to building Struts web applications for Java developers

  • Learn to build Struts applications right away
  • Build an ecommerce store step-by-step using Struts
  • Well-structured and logical progression through the essentials

In Detail

Jakarta Struts is an Open Source Java framework for developing web applications. By cleanly separating logic and presentation, Struts makes applications more manageable and maintainable.
Since its donation to the Apache Foundation in 2001, Struts has been rapidly accepted as the leading Java web application framework, and community support and development is well established.

Struts-based web sites are built from the ground up to be easily modifiable and maintainable, and internationalization and flexibility of design are deeply rooted. Struts uses the Model-View-Controller design pattern to enforce a strict separation between processing logic and presentation logic, and enables efficient object re-use.

The book is written as a structured tutorial, with each chapter building on the last. The book begins by introducing the architecture of a Struts application in terms of the Model-View-Controller pattern. Having explained how to install Jakarta and Struts, the book then goes straight into an initial implementation of the book store. The well structured code of the book store application is explained and related simply to the architectural issues.

Custom Actions, internationalization and the possibilities offered by Taglibs are covered early to illustrate the power and flexibility inherent in the framework. The bookstore application is then enhanced in functionality and quality through the addition of logging and configuration data, and well-crafted forms. At each stage of enhancement, the design issues are laid out succinctly, then the practical implementation explained clearly. This combination of theory and practical example lays a solid understanding of both the principles and the practice of building Struts applications.

What you will learn from this book?

  • Understand the Model-View-Controller architecture and how it is implemented in Struts
  • How to start building an application with Struts
  • How to produce well-crafted and robust applications using sound software engineering practices
  • How to build a complete application, in this case a web bookstore

Approach

The book sets out to get Java developers up to speed and confident with Struts as quickly as possible. It does not explain every feature in Struts, but takes a logical path through the essential information, with the emphasis on practical applications.

Who this book is written for?

This book is written for Java developers planning to develop web applications, who are new to Struts. It expects familiarity with Java, JSP and Servlets to a degree, although more obscure elements are explained. It covers Struts 1.2.

商品描述(中文翻譯)

為 Java 開發者提供逐步建立 Struts 網頁應用程式的介紹



  • 立即學習如何建立 Struts 應用程式

  • 逐步使用 Struts 建立電子商務商店

  • 結構良好且邏輯清晰的基本概念進展


詳細內容


Jakarta Struts 是一個開源的 Java 框架,用於開發網頁應用程式。透過清晰地分離邏輯和呈現,Struts 使應用程式更易於管理和維護。
自 2001 年捐贈給 Apache 基金會以來,Struts 已迅速被接受為領先的 Java 網頁應用程式框架,並且社群支持和開發已經相當成熟。


基於 Struts 的網站從基礎開始構建,以便於修改和維護,並且國際化和設計的靈活性根深蒂固。Struts 使用模型-視圖-控制器(Model-View-Controller)設計模式,強制執行處理邏輯和呈現邏輯之間的嚴格分離,並實現高效的物件重用。


本書以結構化的教程形式撰寫,每一章都在前一章的基礎上進行擴展。本書首先介紹 Struts 應用程式的架構,並以模型-視圖-控制器模式為基礎。解釋了如何安裝 Jakarta 和 Struts 後,本書隨即進入書店的初步實作。書店應用程式的結構良好的程式碼被解釋並簡單地與架構問題相關聯。


自定義動作、國際化以及 Taglibs 所提供的可能性在早期就被涵蓋,以說明框架中固有的力量和靈活性。然後,通過添加日誌和配置數據以及精心設計的表單,進一步增強書店應用程式的功能和質量。在每個增強階段,設計問題都被簡潔地列出,然後清楚地解釋實際實作。這種理論與實際範例的結合,為建立 Struts 應用程式的原則和實踐奠定了堅實的理解。


您將從本書中學到什麼?



  • 理解模型-視圖-控制器架構及其在 Struts 中的實現

  • 如何開始使用 Struts 建立應用程式

  • 如何使用健全的軟體工程實踐來產生精心設計且穩健的應用程式

  • 如何建立一個完整的應用程式,在這個案例中是網頁書店



方法


本書旨在讓 Java 開發者快速掌握 Struts 並建立信心。它不會解釋 Struts 中的每一個功能,而是通過邏輯路徑介紹基本資訊,重點放在實際應用上。


本書的讀者對象是誰?


本書是為計劃開發網頁應用程式的 Java 開發者撰寫的,特別是對 Struts 新手。它預期讀者對 Java、JSP 和 Servlets 有一定的熟悉度,雖然會解釋一些較不常見的元素。它涵蓋 Struts 1.2。