2008年11月26日 星期三

Method Engineering

方法工程(Method Engineering),用於資訊軟體專案的開發流程設計…

定義:
A discipline of design, constructing and adopting methods and tools for information systems development. (Kumar and Welke,1992; Brinkkemper, 1995)

The notion of Situational Method Engineering (SME) was first proposed by Kumar and Welke in 1992 as a new method engineering discipline the aim of which is to construct new methods and the associated tools or to adapt existing ones to every Information System Development (ISD) project.

Objective of ME:
1. The production of contingency methods, that is, situation-specific methods for certain types of bounded organizational settings. This objective represents method engineering as the creation of a multiple choice setting.
2. One in which method engineering is used to produce methods "on-the-fly". A mechanism for coping with the uniqueness of each development setting.

references:
Method Engineering,
Sjaak Brinkkemper, Kalle Lyytinen, Richard J. Welke, International Federation for Information Processing

Contingency factor research

權變因素法(Contingency factor research),最早由IBM的Davis(1982)提出應用於資訊系統的需求誘導策略選擇中…

Davis將需求誘導的方法分為四種,分別為:
(1) asking,
(2) deriving from an existing information system,
(3) synthesis from characteristics of the utilizing system,
(4) discovering from experimentation with an evolving information system.
在他的paper中,將資訊需求分為兩個層次,一個是Information System Level,另一個則是Application Level(即為subsystem)。
其主張在不同的情境下,developer應視情境的不同,選擇不同的需求誘導方法。

在1985年,由Burns與Dennis提出一套二維的權變架構,用來決定軟體專案發展方法的採用。而Fitzgerald et al. (2003) 指出權變因素法即視專案的情境需求,從眾多的方法組合(Portfolio of methods)中挑選出一個最合適的;但沒有一套方法能夠涵蓋所有的專案情境(Avison et al., 1991)。

2008年11月12日 星期三

Apache HTTP Server 與 Tomcat 整合 (方法二)

其實tomcat 5.x版及apache2.x版之後,都已經內建connector了
根據文件的說法,是ready to use的.....


步驟如下:
1.安裝tomcat及apache
2.打開{apache安裝目錄}\conf\httpd.conf,依底下兩個步驟做設定。完成後,重新啟動apache,使設定生效。
1)在設定載入模組的地方:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so

2)在設定模組的地方加入
< IfModule mod_proxy.c >
    ProxyRequests On
    ProxyVia On
    < Proxy /* > ←指所有的網址都適用
      Order deny,allow
      Deny from all
      Allow from localhost
    < /Proxy >
    ProxyPass /img ! ←這表示/img目錄的連結不重導
    ProxyPass /first http://localhost:8080/another ←/first開頭的連結對應到小貓咪的/another這個context
    ProxyPassReverse / http://localhost:8080/
< /IfModule >

3.基本上,這樣已經完成了。

2008年11月11日 星期二

Apache HTTP Server 與 Tomcat 整合 (方法一)

Tomcat 6.0.x 與Apache 2.2.x 整合的步驟...

(假設apache 的port是80, tomcat的port是8080)
1. 下載 mod_jk-1.2.27-httpd-2.2.10.so (此版是給apache 2.2.x版用的)

2. 將mod_jk-1.2.27-httpd-2.2.10.so改名為 mod_jk.so

3. 將mod_jk.so複製到< apache root >\Apache2.2\modules

4. Apache中的httpd.conf加入:
在 # Dynamic Shared Object (DSO) Support這個區塊下加入
LoadModule jk_module modules/mod_jk.so

在 # Virtual hosts這個區塊下加入
< Virtualhost *:80 >
JkMount /*/*.jsp ajp13
JkMount /servlet/* ajp13
< /Virtualhost >

5. 在Tomcat的webapps下的目錄,
建立一個jsp的目錄,
在這個目錄裡面的所有*.jsp
都會被掛到apache下
例如:建立一個hello.jsp做測試

6. 先執行Apache server, 再執行Tomcat server

7. 在IE執行http://localhost/jsp/hello.jsp
看是否成功!