引自:
http://www.3doing.net/forums/dispbbs.asp?boardID=57&ID=232&page=2于 Java 開發(fā)的論壇,最有名的當(dāng)屬 Jive ,國(guó)產(chǎn)的 Jute 也很不錯(cuò)。好是好,但需要花費(fèi)銀子才能用。對(duì)于企業(yè),應(yīng)該考慮使用Jute,因?yàn)槠涮岣吡己玫募夹g(shù)支持。對(duì)于個(gè)人,或許就不值得了。這里推薦開源項(xiàng)目 mvnForum, 基于 J2EE technology (Jsp/Servlet).
mvnFourm is free, opensource and released under the terms of the GNU General Public License. It means that you could use it free of charge to build your own discussion communities.
一、簡(jiǎn)介
mvnForum 基于Jsp/Servlet開發(fā),支持Jsp 1.2 和 Servlet 2.3,安裝和使用都非常簡(jiǎn)單。 |
主要特征:
- 基于 MVC 架構(gòu)
- 內(nèi)建數(shù)據(jù)庫(kù)連接池
- 多種數(shù)據(jù)庫(kù) (DB2, MySQL, Oracle 8i/9i, Sql Server, postgreSQL, hsqldb, Interbase/Firebird, SAPDB)
- 國(guó)際化 (支持14種語(yǔ)言: English, 簡(jiǎn)體, 繁體等等)
- Jakarta Common Logging
這里可以查看論壇功能和全部特征。 |
二、安裝環(huán)境
| 參考 |
服務(wù)器:tomcat 4.1.27 | http://jakarta.apache.org/tomcat/index.html |
數(shù)據(jù)庫(kù):PostgreSQL 7.3.3 | http://www.postgresql.org |
三、安裝
1、下載mvnForum 1.0.0 RC 1,如果需要源碼,可以下載mvnForum 1.0.0 RC 1 Source |
2、將mvnforum-1.0.0-rc1.zip截壓縮到mvnforum-1.0.0-rc1目錄。把mvnforum-1.0.0-rc1/webapp目錄復(fù)制到tomcat/webapps/目錄下,然后將webapp改名為mvnforum(可根據(jù)需要改成任意的名稱)。接著把mvnforum-1.0.0-rc1/driver/postgresql.jar復(fù)制到tomcat/webapps/mvnforum/WEB-INF/lib/目錄下。 |
3、建立論壇數(shù)據(jù)庫(kù)表。首先在PostgreSQL創(chuàng)建一數(shù)據(jù)庫(kù)mvnForum,執(zhí)行命令如下: CREATEDB -E unicode mvnForum 接著執(zhí)行mvnforum-1.0.0-rc1/sql/mvnForum_postgresql.sql文件,創(chuàng)建表,執(zhí)行命令如下: #psql mvnForum mvnForum=#\i mvnForum_postgresql.sql |
4、修改tomcat/webapps/mvnforum/WEB-INF/class/mvncore_db_DBOptions.properties文件,這個(gè)文件配置與數(shù)據(jù)庫(kù)相關(guān)的資料。設(shè)置內(nèi)容如下: DRIVER_CLASS_NAME = org.postgresql.Driver DATABASE_URL = jdbc:postgresql://192.168.0.10:5432/mvnForum DATABASE_USER = postgres DATABASE_PASSWORD =
|
5、基本安裝完成,啟動(dòng)Tomcat,通過http://localhost:8080/mvnforum/index.jsp就可以訪問論壇了。 |
6、管理員管理,http://localhost:8080/mvnforum/mvnforumadmin/index。用戶名和密碼都是admin,管理員登陸后可以增加版面和管理用戶了。 |
http://www.mvnforum.com/mvnforumweb/index.jsp