原文:http://docs.oracle.com/javaee/7/tutorial/doc/overview009.htm
翻譯:石卓林 shizhuolin@hotmail.com
GlassFish Server is a compliant implementation of the Java EE 7 platform. In addition to supporting all the APIs described in the previous sections, GlassFish Server includes a number of Java EE tools that are not part of the Java EE 7 platform but are provided as a convenience to the developer.
This section briefly summarizes the tools that make up GlassFish Server. Instructions for starting and stopping GlassFish Server, starting the Administration Console, and starting and stopping the Java DB server are in Chapter 2, "Using the Tutorial Examples".
GlassFish Server contains the tools listed in Table 1⑴. Basic usage information for many of the tools appears throughout the tutorial. For detailed information, see the online help in the GUI tools.
Tool | Description |
---|---|
Administration Console | A web-based GUI GlassFish Server administration utility. Used to stop GlassFish Server and to manage users, resources, and applications. |
asadmin | A command-line GlassFish Server administration utility. Used to start and stop GlassFish Server and to manage users, resources, and applications. |
appclient | A command-line tool that launches the application client container and invokes the client application packaged in the application client JAR file. |
capture-schema | A command-line tool to extract schema information from a database, producing a schema file that GlassFish Server can use for container-managed persistence. |
package-appclient | A command-line tool to package the application client container libraries and JAR files. |
Java DB database | A copy of the Java DB server. |
xjc | A command-line tool to transform, or bind, a source XML schema to a set of JAXB content classes in the Java programming language. |
schemagen | A command-line tool to create a schema file for each namespace referenced in your Java classes. |
wsimport | A command-line tool to generate JAX-WS portable artifacts for a given WSDL file. After generation, these artifacts can be packaged in a WAR file with the WSDL and schema documents, along with the endpoint implementation, and then deployed. |
wsgen | A command-line tool to read a web service endpoint class and generate all the required JAX-WS portable artifacts for web service deployment and invocation. |
GlassFish服務器是Java EE 7平臺的1種兼容實現. 除支持前面章節介紹的所有API, 為了方便開發者,GlassFish服務器還包括不屬于Java EE平臺的1部份的Java EE工具.
此章節簡單敘述了整理自GlassFish服務器的工具.在第2章, "使用教學示例"中介紹了如何啟動和停止GlassFish服務器, 啟動管理控制臺,啟動和停止Java DB服務器 .
表 1⑴中羅列了GlassFish服務器包括的工具.出現在本教程中的工具的基本信息. 欲了解詳細信息,請查看GUI工具在線幫助.
工具 | 說明 |
---|---|
管理控制臺 | 1個基于WEB的GUI多功能實用管理工具.用于停止GlassFish服務器和管理用戶,資源,利用. |
asadmin | 1個命令行的多功能實用管理工具. 用于啟動和停止GlassFish服務器和管理用戶,資源,利用. |
appclient | 1個命令行工具,用于啟動利用客戶端容器并調用封裝在利用客戶端JAR文件中的客戶端利用. |
capture-schema | 1個用于從數據庫中提取架構信息的命令行工具, 產生GlassFish服務器可用的容器管理持久化架構文件. |
package-appclient | 1個用于打包利用客戶端容器庫和JAR文件的命令行工具. |
Java DB數據庫 | 1份Java DB服務器拷貝. |
xjc | 1個用于轉換,綁定XML架構源到Java程序語言JAXB內容類的命令行工具 |
schemagen | 1個命令行工具,用于為你的Java類中每一個命名空間援用創建架構文件 |
wsimport | 1個命令行工具,用于為特定WSDL文件生成JAX-WS可移植工件. 生成后這些工件后, 這些工件可以和WSDL,架構文檔1起打包到WAR文件中, 然后聯同終端實現1起部署. |
wsgen | 1個命令行工具,用于讀取WEB服務終端類并為web服務部署和調用生成所有必須的JAX-WS可移植工件. |