欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
JBoss Application Server
来自开放百科 - 灰狐
(版本间的差异)
小 (→Cluster,HA) |
|||
(未显示1个用户的14个中间版本) | |||
第6行: | 第6行: | ||
<rss>http://planet.jboss.org/xml/mywiki?type=atom|short|date|max=10</rss> | <rss>http://planet.jboss.org/xml/mywiki?type=atom|short|date|max=10</rss> | ||
− | == | + | ==7== |
+ | [[文件:jboss-as-7.png|right|thumb|JBoss AS 7]] | ||
+ | 核心功能: | ||
+ | * Java EE 6 | ||
+ | * Fast Startup | ||
+ | * Small Footprint | ||
+ | * Modular Design | ||
+ | * Unified Configuration and Management | ||
+ | * Distributed Domain Management | ||
+ | * OSGi | ||
+ | JBoss AS 7 有两种模式的操作:Standalone (单实例) 和 Domain (多实例)。 | ||
+ | <JBOSS_HOME>/bin/standalone.sh (Unix / Linux) | ||
+ | <JBOSS_HOME>\bin\standalone.bat (Windows) | ||
+ | <JBOSS_HOME>/bin/domain.sh (Unix / Linux) | ||
+ | <JBOSS_HOME>\bin\domain.bat (Windows) | ||
+ | <JBOSS_HOME>/bin/jboss-cli.sh --connect --command=:shutdown | ||
+ | http://localhost:9990/ | ||
+ | ===Module=== | ||
+ | 添加module,如添加PostgreSQL Driver | ||
+ | 创建 <JBoss7>/modules/org/postgresql/main/module.xml | ||
+ | <?xml version="1.0" encoding="UTF-8"?> | ||
+ | <module xmlns="urn:jboss:module:1.0" name="org.postgresql"> | ||
+ | <resources> | ||
+ | <resource-root path="postgresql-9.1-901.jdbc4.jar"/> | ||
+ | </resources> | ||
+ | <dependencies><module name="javax.api"/></dependencies> | ||
+ | </module> | ||
+ | vim <JBoss7>/standalone/configuration/standalone.xml | ||
+ | <datasource jndi-name="java:jboss/datasources/PostgresDS" pool-name="PostgresDS"> | ||
+ | <connection-url>jdbc:postgresql://localhost:5432/jboss</connection-url> | ||
+ | <driver-class>org.postgresql.Driver</driver-class> | ||
+ | <driver>postgresql-jdbc4</driver> | ||
+ | <security> | ||
+ | <user-name>sa</user-name> | ||
+ | <password>sa</password> | ||
+ | </security> | ||
+ | </datasource> | ||
+ | <drivers> | ||
+ | <driver name="postgresql-jdbc4" module="org.postgresql"/> | ||
+ | </drivers> | ||
+ | |||
+ | ==6== | ||
+ | |||
+ | ==5.1== | ||
Administration Console | Administration Console | ||
http://localhost:8080/admin-console/ admin/admin // 登录非常慢 ? | http://localhost:8080/admin-console/ admin/admin // 登录非常慢 ? | ||
第17行: | 第60行: | ||
http://localhost:8080/status?full=true | http://localhost:8080/status?full=true | ||
− | == | + | ==Cluster,HA== |
+ | svn co http://anonsvn.jboss.org/repos/mod_cluster/trunk/ mod_cluster | ||
+ | *[http://docs.jboss.org/mod_cluster/1.2.0/html/ mod_cluster Documentation] | ||
+ | |||
+ | ==链接== | ||
*http://jboss.org/jbossas | *http://jboss.org/jbossas | ||
*http://docs.huihoo.com/jboss/ | *http://docs.huihoo.com/jboss/ |
2012年3月29日 (四) 06:01的最后版本
您可以在Wikipedia上了解到此条目的英文信息 JBoss Application Server Thanks, Wikipedia. |
JBoss Application Server is the #1 most widely used Java application server on the market.
目录 |
[编辑] 新闻
自http://planet.jboss.org/xml/mywiki?type=atom加载RSS失败或RSS源被墙
[编辑] 7
核心功能:
- Java EE 6
- Fast Startup
- Small Footprint
- Modular Design
- Unified Configuration and Management
- Distributed Domain Management
- OSGi
JBoss AS 7 有两种模式的操作:Standalone (单实例) 和 Domain (多实例)。
<JBOSS_HOME>/bin/standalone.sh (Unix / Linux) <JBOSS_HOME>\bin\standalone.bat (Windows) <JBOSS_HOME>/bin/domain.sh (Unix / Linux) <JBOSS_HOME>\bin\domain.bat (Windows) <JBOSS_HOME>/bin/jboss-cli.sh --connect --command=:shutdown http://localhost:9990/
[编辑] Module
添加module,如添加PostgreSQL Driver 创建 <JBoss7>/modules/org/postgresql/main/module.xml
<?xml version="1.0" encoding="UTF-8"?> <module xmlns="urn:jboss:module:1.0" name="org.postgresql"> <resources> <resource-root path="postgresql-9.1-901.jdbc4.jar"/> </resources> <dependencies><module name="javax.api"/></dependencies> </module>
vim <JBoss7>/standalone/configuration/standalone.xml
<datasource jndi-name="java:jboss/datasources/PostgresDS" pool-name="PostgresDS"> <connection-url>jdbc:postgresql://localhost:5432/jboss</connection-url> <driver-class>org.postgresql.Driver</driver-class> <driver>postgresql-jdbc4</driver> <security> <user-name>sa</user-name> <password>sa</password> </security> </datasource> <drivers> <driver name="postgresql-jdbc4" module="org.postgresql"/> </drivers>
[编辑] 6
[编辑] 5.1
Administration Console
http://localhost:8080/admin-console/ admin/admin // 登录非常慢 ?
JMX Console
http://localhost:8080/jmx-console/
JBoss Web Console
http://localhost:8080/web-console/
Tomcat status
http://localhost:8080/status?full=true
[编辑] Cluster,HA
svn co http://anonsvn.jboss.org/repos/mod_cluster/trunk/ mod_cluster
[编辑] 链接
分享您的观点