GlassFish

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第16行: 第16行:
 
* NetBeans 5.5 Enterprise Pack preview
 
* NetBeans 5.5 Enterprise Pack preview
 
* Java EE 5 SDK preview  
 
* Java EE 5 SDK preview  
 +
 +
==Why use GlassFish==
 +
* GlassFish is an [http://blogs.sun.com/roller/page/theaquarium?entry=glassfish_distribution_license Open Source], [http://blogs.sun.com/roller/page/theaquarium?entry=glassfish_community_awards Community Based] implementation of [http://java.sun.com/javaee Java EE 5].
 +
* Java EE 5 is a huge improvement over earlier J2EE versions ([http://blogs.sun.com/roller/page/theaquarium?entry=javaone_2006_technical_keynotes J1 Keynotes]).
 +
* GlassFish is [http://blogs.sun.com/roller/page/theaquarium?entry=glassfish_quality_portal Production Quality], has very [http://blogs.sun.com/roller/page/theaquarium?entry=glassfish_specjappserver2004_results_posted Good Performance] and is [http://weblogs.java.net/blog/jfarcand/archive/2006/03/can_a_grizzly_r.html scalable]
 +
* GlassFish is delivered in [http://www.sun.com/software/products/appsrvr_pe/index.xml SJS AS 9.0], [http://java.sun.com/javaee/downloads/index.jsp Java EE 5 SDK], and [http://www.netbeans.info/downloads/download.php?type=5.5b NetBeans 5.5].
 +
* GlassFish has already affected [http://blogs.sun.com/roller/page/theaquarium?entry=glassfish_marketshare adoption] and is getting analyst attention [[http://blogs.sun.com/roller/page/theaquarium?entry=second_report_on_glassfish_by 1]], [[http://blogs.sun.com/roller/page/theaquarium?entry=rich_current_analysis_on_java 2]].
 +
* GlassFish is used by other groups like in [http://www.tmaxsoft.com/tmax/menu/contentView.do?menuCode=PDJUOL&menuCode=PDJU JEUS 6 Preview from TMaxSoft].
 +
* GlassFish has many goodies, including [http://developers.sun.com/prodtech/javadb/ Java DB],  [http://java.sun.com/reference/blueprints/ Java Blueprints and AJAX examples] and [http://java.sun.com/javaee/reference/code/ samples]
 +
* GlassFish is committed to your [http://blogs.sun.com/roller/page/theaquarium?entry=list_of_applications_and_frameworks favorite framework and application].
 +
* GlassFish has extensive [https://glassfish.dev.java.net/javaee5/docs/DocsIndex.html documentation].
 +
* GlassFish has [http://blogs.sun.com/roller/page/theaquarium?entry=migration_tool_for_project_glassfish migration tool support]
 +
* GlassFish has a  production quality [http://download.java.net/javaee5/screencasts/admin-console/ administration console] and [http://blogs.sun.com/roller/page/theaquarium?entry=glassfish_with_ecc_eliptic_curve security] support
 +
* GlassFish is at the forefront of [http://blogs.sun.com/roller/page/theaquarium?entry=jpa_delivers_portability_kodo_weblogic JPA adoption].
 +
* GlassFish Web Services stack is very good and it is getting [http://blogs.sun.com/roller/page/theaquarium?entry=more_on_the_improved_jax better] and [http://blogs.sun.com/roller/page/theaquarium?entry=project_tango_is_live better].
 +
* GlassFish's [http://onesearch.sun.com/search/blog/index.jsp?qt=grizzly&weblog=theaquarium&enableWeblog=true&cs=false&rt=true&rf=1 Grizzly] delivers top Web Tier performance and flexibility.
 +
* GlassFish has [http://blogs.sun.com/roller/page/theaquarium?entry=promotion_on_developer_support_for Developer Support], [http://developers.sun.com/services/ Software Services], [http://blogs.sun.com/roller/page/theaquarium?entry=free_web_class_on_sjs Training], [http://www.javapassion.com/ classes], [http://forums.java.net/jive/forum.jspa?forumID=56 forums], [http://blogs.sun.com/roller/page/theaquarium blogs] and more.
 +
* GlassFish supports [http://onesearch.sun.com/search/blog/index.jsp?charset=utf-8&col=blog&qt=AJAX&weblog=theaquarium&cs=false&rt=true&rf=1 AJAX] and [http://onesearch.sun.com/search/blog/index.jsp?qt=Scripting&weblog=theaquarium&enableWeblog=true&cs=false&rt=true&rf=1 Scripting].
 +
* GlassFish has platform and tool [http://java.sun.com/developer/technicalArticles/WebServices/soa3/ SOA support], including JBI and BPEL.
 +
* GlassFish is used directly for the [http://www.jcp.org/en/jsr/detail?id=244 official] Reference Implementation of Java EE 5.
 +
* GlassFish is the code base for the Sun Java System Application Server.
 +
* GlassFish will incorporate the enterprise features available today in [http://blogs.sun.com/roller/page/theaquarium?entry=glassfish_s_elder_sun_java SJS AS 8.x].
 +
* Many components are in the [http://blogs.sun.com/roller/page/theaquarium?entry=more_maven_updates Maven Repository]; and more soon.
 +
* We are already working on the [http://blogs.sun.com/roller/page/theaquarium?entry=glassfish_v2_b04_available next releases] ([http://blogs.sun.com/roller/page/theaquarium?entry=more_productive_better_error_messages more]).
 +
* See some great [http://java.sun.com/javaee/overview/testimonials.jsp testimonials]
 +
 +
from https://glassfish.dev.java.net/public/faq/GF_FAQ_2.html
  
 
==GlassFish V3==
 
==GlassFish V3==

2007年6月29日 (五) 10:36的版本

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

Why use GlassFish

from https://glassfish.dev.java.net/public/faq/GF_FAQ_2.html

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 will support:

  • Developer profile
  • Cluster profile
  • Enterprise profile

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

Based on JXTA technology and Project Shoal/GMS

GMS (Group Management Service)

  • Provides dynamic membership information about a cluster and its member instances
  • Cluster shape change events—

-- Members joining

-- Members shutting down vs. failing

  • Memory Replication takes appropriate action in response to these events providing continuous and high availability

GMS itself is also based on JXTA technology

Based on Project Shoal— https://shoal.dev.java.net

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 
http://localhost:8080/amserver/ // Sun Java System Access Manager
amadmin/admin123 // SUNWappserver/domains/domain1/config/AMConfig.properties
./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/

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

变换
操作
导航
工具箱