構建項目AppFuse+QuickStart

來源:互聯網
上載者:User

標籤:

   AppFuse是一個完整的架構來構建web應用程式。它最初是為了構建新的web應用程式少走彎路。多年來,它已成為一個非常成熟的可測試和建立基於java的web應用安全系統。在其核心,AppFuse是項目架構,類似於由IDE的一個當你點擊一個嚮導來建立一個新的web項目。

  今天嘗試了一下感覺很牛,分享下,上邊的介紹是AppFuse官網內容。 本人覺得構建新的web項目簡單很多。

   需要基本的支援:

    1.Jdk1.7+ 以上的版本

    2. MySQL5.5 +

    3.Maven 3.1.0 +

網址:http://www.appfuse.org/display/APF/AppFuse+QuickStart

 

配置:

GroupId: (?)
ArtifactId: (?)
Version:             3.5.1-SNAPSHOT             3.5.0             3.0.0             2.2.1          (?)
Web Framework:             -- None --             GWT             JSF             Spring MVC             Struts 2             Tapestry 5             Wicket             Web Services Only          (?)

Command Line :這產生了一段maven命令。

 緊接著 執行這段命令就可以 產生你需要的項目。將項目匯入到eclipse中,在pom.xml中配置

 

 

<properties>
<amp.genericCore>true</amp.genericCore>
<amp.fullSource>false</amp.fullSource>
<dao.framework>hibernate</dao.framework>
<db.name>appfuse</db.name>
<web.framework>spring</web.framework>
<jdbc.password>123456</jdbc.password>
<jdbc.username>root</jdbc.username>
<!-- Framework/Plugin versions -->
<appfuse.version>3.5.0</appfuse.version>
<java.version>1.7</java.version>
</properties>

啟動。。。 

就這麼簡單,但是他依賴的只要的jar包

<parent>
<groupId>org.appfuse</groupId>
<artifactId>appfuse-web</artifactId>
<version>3.5.0</version>
</parent>

構建項目AppFuse+QuickStart

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.