GlassFish

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第30行: 第30行:
 
==GlassFish V2==
 
==GlassFish V2==
 
Admin GUI now uses JSF, Update Center functionality has been added, JSR-196 Public Draft implementation, WSIT integration has been completed, In-memory replication is partially implemented, and JBI has been fully integrated.
 
Admin GUI now uses JSF, Update Center functionality has been added, JSR-196 Public Draft implementation, WSIT integration has been completed, In-memory replication is partially implemented, and JBI has been fully integrated.
 +
 +
* First Java EE platform 5 compliant Application  Server
 +
* Ease of development with use of annotations  and POJO-based programming
 +
* Web Services management
 +
* Self Management and Self Healing
 +
* Single instance offering
  
 
==GlassFish V2 Architecture==
 
==GlassFish V2 Architecture==
第47行: 第53行:
  
 
更多细节:http://www.glassfishwiki.org/gfwiki/Wiki.jsp?page=GlassFishV2Architecture  
 
更多细节:http://www.glassfishwiki.org/gfwiki/Wiki.jsp?page=GlassFishV2Architecture  
 +
==Clustering==
 +
[[Image:glassfish-v2-clustering.png|thumb|right|Clustering in GlassFish v2]]
 +
 +
Memory Replication
 +
 +
Needed: an open-source, lighter-weightalternative to HADB
 +
* HADB provides high availability for:
 +
-- Http session state
 +
 +
-- Stateful Enterprise JavaBeans™ (EJB™) technology
 +
session state
 +
 +
-- Single sign-on state
 +
* HADB: still available; still right solution for
 +
some problems
 +
-- Enables proven “5–nines” availability
 +
 +
-- More complex to administer
 +
 +
-- Not (currently) open source
  
 
==Virtual Hosting==
 
==Virtual Hosting==

2007年5月26日 (六) 15:57的版本

Glassfish.gif

Glassfish最新版: GlassFish V2 M3. DukeForGlassFishV2-115 90px.png

下载最新版: http://download.huihoo.com/middleware/glassfish/v2/

目录

GlassFish简介

Glassfish logo.gif

GlassFish是SUN组织开放源代码 J2EE 应用服务器项目,

GlassFish与SUN SDK,SUN Application Server的关系:

GlassFish Distributions ,也就是基于GlassFish开发的版本有:

  • Sun's Java System Application Server PE 9.0 Beta
  • NetBeans 5.5 Enterprise Pack preview
  • Java EE 5 SDK preview

GlassFish V3

GlassFish v3 will supports four types of container :

  • Standard Web Applications
  • Ruby on Rails using JRuby 0.9.8
  • Phobos
  • PHP using the Quercus engine.

http://wiki.glassfish.java.net/gfwiki/Wiki.jsp?page=GlassFishV3

HK2 for Hundred Kilobytes Kernel is a module subsystem coupled with a simple yet powerful component model to build software.It is the foundation for the GlassFish V3 application server and consist of two technologies :

  • Modules subsystem
  • Component Model

GlassFish V2

Admin GUI now uses JSF, Update Center functionality has been added, JSR-196 Public Draft implementation, WSIT integration has been completed, In-memory replication is partially implemented, and JBI has been fully integrated.

  • First Java EE platform 5 compliant Application Server
  • Ease of development with use of annotations and POJO-based programming
  • Web Services management
  • Self Management and Self Healing
  • Single instance offering

GlassFish V2 Architecture

Cluster Support in GlassFish V2
  • Domain Administration Server (DAS)
  • Administrative Client Applications (CLI, JSR 77, AMX)
  • Browser Based Administrative GUI
  • Web Client Applications (web clients, web services clients)
  • Rich client (RMI/IIOP) applications
  • Load Balancers (LB)
  • Node Agent (NA)
  • Server Instance (SI)
  • Administration API
  • Central Repository
  • Local Repository Cache
  • JMX Runtime

更多细节:http://www.glassfishwiki.org/gfwiki/Wiki.jsp?page=GlassFishV2Architecture

Clustering

Clustering in GlassFish v2

Memory Replication

Needed: an open-source, lighter-weightalternative to HADB

  • HADB provides high availability for:

-- Http session state

-- Stateful Enterprise JavaBeans™ (EJB™) technology session state

-- Single sign-on state

  • HADB: still available; still right solution for

some problems -- Enables proven “5–nines” availability

-- More complex to administer

-- Not (currently) open source

Virtual Hosting

virtual hosting features available in GlassFish v2. Virtual hosting enables ISP/ASP business models.

Persistence

GlassFish Java Persistence API implementation is based on code from TopLink contributed by Oracle.

https://glassfish.dev.java.net/javaee5/persistence/

安装指南

1. Download one of the bundles
2. Run: java -Xmx256m -jar filename.jar
3. cd glassfish
4. Run: ant -f setup.xml

For GlassFish V2 with Clustering supported installation, just change step 4 from the above installation

* ant -f setup-cluster.xml

快速指南

./asadmin help
./asadmin start-domain domain1
http://localhost:8080/
https://localhost:8181/
http://localhost:4848/ admin/adminadmin 
./asadmin stop-domain domain1

应用部署

获得 hello.war http://docs.huihoo.com/java/ee/glassfish/hello.war
cp hello.war domains/domain1/autodeploy/ 
或 asadmin deploy hello.war
http://localhost:8080/hello
asadmin undeploy hello 

Huihoo GlassFish Applications

相关链接

GlassFish Modules

Powered by GlassFish

Related GlassFish Technologies

Core

Webtier

WS/XML

Other

成功应用

更多应用: http://blogs.sun.com/stories/

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱