# 使用 Homebrew 安装 glassfish

查看 glassfish 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:glassfish
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install glassfish
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:glassfish
- **软件包管理器:** Homebrew
- **版本:** 8.0.3
- **来源摘要:** Java EE application server
- **主页:** <https://glassfish.org/>
- **最后更新:** 2026-06-11T20:39:28-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- asadmin (别名)
- asadmin.java (别名)
- debug-asadmin (别名)
- startserv (别名)
- stopserv (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 8.0.3
## 项目历史与用法

Eclipse GlassFish is the community application server that implements Jakarta EE and carries the GlassFish lineage from the Java EE reference implementation into the Eclipse EE4J era. It is a full server distribution, an embedded runtime, a compatibility target, and a development environment for enterprise Java applications.

### 项目历史

GlassFish originated in the Sun and Oracle Java EE ecosystem as the open-source application server associated with the platform reference implementation. The Eclipse proposal for GlassFish records the 2018 transition of Oracle Java EE 8 and GlassFish technologies into the Eclipse Foundation under EE4J.

Under Eclipse, the project became Eclipse GlassFish, a Jakarta EE-compatible implementation owned by the Eclipse Foundation and maintained by the community. The repository keeps the server, web profile, embedded distributions, tests, build profiles, documentation, and release notes together around the Jakarta EE compatibility matrix.

### 采用历史

GlassFish has significance beyond a normal application server because it served as the proving ground for Java EE and then Jakarta EE compatibility. Application developers, framework authors, and specification implementers use it as an open implementation to test APIs, deploy sample applications, and inspect server behavior against the platform TCKs.

### 使用方式

Practitioners install the distribution, start a domain with asadmin, deploy WAR or EAR applications, use the administration console, run clustered or embedded deployments, and build from source when they need to test server changes. The Homebrew formula exposes the traditional command-line surface, including asadmin, startserv, and stopserv.

### 为什么软件包爱好者会关心

For package maintainers, GlassFish is a large Java distribution with server profiles, Maven artifacts, Docker images, embedded jars, generated documentation, and compatibility-sensitive release lines. It also bridges old Java EE naming and Jakarta EE naming, which matters when packaging libraries and examples that target a specific platform generation.

### 时间线

- 2018: Eclipse GlassFish proposal is published as part of the transition of Oracle Java EE 8 and GlassFish technologies to Eclipse.
- 2020: GlassFish 6.0.0 is released from the Eclipse repository generation.
- 2021: GlassFish 6.1 and 6.2 track Jakarta EE 9.1 compatibility.
- 2020s: The README maps GlassFish 5.1 through 8.0 to Java EE and Jakarta EE platform generations.

### Related projects

- Jakarta EE, Eclipse EE4J, Java EE, Open MQ, HK2, Maven Central, TCKs.

### 来源

- <https://api.github.com/repos/eclipse-ee4j/glassfish/releases?per_page=100>
- <https://glassfish.org/documentation>
- <https://projects.eclipse.org/proposals/eclipse-glassfish>
- <https://raw.githubusercontent.com/eclipse-ee4j/glassfish/master/README.md>


## 安全说明

没有找到 glassfish 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: domain-dir/config/domain.xml, as-install/lib/templates/domain.xml, asenv.conf

## Combined YAML source

View the package source record on GitHub. [combined/glassfish.yml](https://github.com/mxcl/pkgdb/blob/main/combined/glassfish.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
