close

JBoss 是一套應用程式伺服器,屬於開源的企業級Java中介軟體軟體,用於實作基於SOA架構的web應用和服務。目前有分:付費有支援的版本JBoss EAP(Enterprise Application Platform) 及 Red Hat 支援社群的 Community edition 免費版本JBoss AS;與一般社群的 WildFly 版本,軟體下載位置 http://wildfly.org/downloads/

JBoss EAP (Enterprise Application Platform) 是一個支持 Java EE 6 的應用服務器,目前 EAP6 實現了兩個 Java EE 6 的配置文件:Full Profile & Web Profile。在實務作業中有 Standalone & Domain Mode 兩種模式,如下圖:

JBoss_Standalone_Domain.png  

 

環境配置的文件分別是:

Standalone Mode:standalone.xml

Domain Mode:domain.xml & host.xml

Standalone Mode 的執行是最簡單的,下載 EAP 6.2.0 GA 壓縮檔並解壓於D:\AppServ\jboss-eap-6.2,編輯 D:\AppServ\jboss-eap-6.2\bin\standalone.bat ,加上JAVA_HOME的設定,即可執行。

@echo off
rem -------------------------------------------------------------------------
rem JBoss Bootstrap Script for Windows
rem -------------------------------------------------------------------------

rem Use --debug to activate debug mode with an optional argument to specify the port
rem Usage : standalone.bat --debug
rem         standalone.bat --debug 9797


set "JAVA_HOME=D:\Progs\jdk1.7.0_45_x64"

 

啟動Jboss:

Windows: standalone.bat
Linux: ./standalone.sh

本機預設的 JBoss 網址:http://localhost:8080
本機預設的 JBoss 管理網址:http://localhost:9990

 

arrow
arrow

    MIS 發表在 痞客邦 留言(0) 人氣()