`

WebSphere sMash Plug-in for Java and Groovy

    博客分类:
  • Java
 
阅读更多

Installation

Use the following update site to install the WebSphere sMash Java/Groovy plug-in.

http://www.projectzero.org/zero/indy.dev/latest/update/zero.eclipse
如果上述的网址不能在eclipse里直接更新的话,请在浏览器里打开上述网址,把features和plugins文件夹以及site.xml下载到本地,然后在本地进行安装,则就可以安装成功
注:附件就是所需要的jar包

If you need assistance with this step, open the Eclipse Help browser (Help > Help Contents ) and search for the term install .

Next, to obtain Groovy language IDE support, install the appropriate version of the GroovyEclipse plugin as described in Groovy - Eclipse Plugin

Configuration

The following instructions assume that you have never installed the WebSphere sMash Java/Groovy plug-in, and that you are using a new workspace.

  1. Download and install a CLI. Please visit the Command-line interface section for details.
  2. Open a command prompt at the <zerohome> directory.
  3. Type the following:
    zero version
    This command bootstraps the CLI and prevents unnecessary delays during the Eclipse configuration that follows.
  4. In Eclipse, click Window > Preferences > WebSphere sMash
  5. In the Zero home field, enter the path to your <zerohome> directory.
  6. The plug-in will take a few moments to search for the module groups from your CLI.
  7. After the Loading... message disappears from the Module group field, select the module group that you would like to use for application development. For more information about module groups, please search for the phrase "module group" in the Developer's Guide .
  8. Click OK to exit the Preferences dialog.

You are now ready to start developing WebSphere sMash application.

Creating and running an application

To create and then run a WebSphere sMash application, complete the following steps:

 

  1. Click File > New > Project ... .
  2. Expand WebSphere sMash category folder near the bottom and click the WebSphere sMash Application project type.
  3. Click Next > .
  4. Enter a name for your new application and click Finish to create it. Your new project is shown with a distinctive icon beside it.
  5. To run your new application, right-click the project and click Run As > WebSphere sMash Application . A message is displayed in the console indicating that the application was started on port 8080.

    Note: All applications use port 8080 by default. If you have another application started, it cannot use the same port. The port is configured in the application's config/zero.config file.
  6. Open a browser and enter http://localhost:8080/ to see the default page of your application. It should look something like this:

    Default application page
  7. Stop your application.

Congratulations! You have created and run your first WebSphere sMash application. Continue reading to find out how you can add additional dependencies to enhance your application. You can also look at the Employee Demo or Suggest Demo for coding examples.

分享到:
评论

相关推荐

    webSphere-jps-plugin.jar

    webSphere-jps-plugin.jar

    IBM Websphere application Server 最权威资料

    Chapter 24 - WebSphere-Specific Servlet Issues Chapter 25 - JSP Elements Chapter 26 - JSP Examples Chapter 27 - Custom Tag Libraries Chapter 28 - Debugging Servlets and JSPs Using VisualAge ...

    WebSphere MQ HP-UX 版

    WebSphere MQ HP-UX 版,版本 5 发行版 3 提供以下新增的和更改的功能: WebSphere MQ HP-UX 版现在支持使用工业标准安全套接字层(SSL)保护的 WebSphere MQ 通道。有关详细信息,请参阅 WebSphere MQ Security...

    websphere_plugin-cfg.xml文件内容解析.pdf

    websphere_plugin-cfg.xml 文件内容解析 概览 websphere_plugin-cfg.xml 文件是 IBM WebSphere 服务器插件配置文件,用于定义插件的配置信息。该文件包含多个元素和属性,用于控制插件的行为和性能。了解该文件的...

    Eclipse 4 Plug-in Development by Example: Beginner's Guide

    本书《Eclipse 4 Plug-in Development by Example: Beginner's Guide》是一本面向Java开发者的入门级指南,旨在教授如何利用Eclipse平台开发Eclipse插件,适合那些对Eclipse作为Java IDE有所了解但还未涉足插件开发...

    websphere7.0 windows-64版本

    websphere7.0 windows-64版本,文件过大,上传受限,下载内容为网盘地址,谢谢!

    java8看不到源码-websphere-liberty-s2i:websphere-liberty-s2i

    websphere-liberty-s2i 构建 Open Liberty S2I 镜像: 运行 Makefile 以生成所有图像,或通过运行生成单个图像: $ cd $IMAGE_DIR $ cekit build docker IMAGE_DIR 的示例值为images/java8/builder 、 images/java8

    学习使用WebSphere MQ for Java编程

    WebSphere MQ for Java 是 IBM 提供的一个用于 Java 开发者集成消息传递功能的库,它使得 Java 应用程序能够直接与 WebSphere MQ Server 交互,或者作为客户端连接到 WebSphere MQ 服务。这个框架提供了可靠的、跨...

    WebSphere MQ Primer- An Introduction to Messaging and WebSphere MQ.pdf

    ### WebSphere MQ Primer – 消息传递与WebSphere MQ简介 #### 一、消息传递的基本概念 消息传递是一种用于在应用程序之间发送数据的方法,它允许应用程序通过消息队列进行通信,而无需彼此直接连接。这种架构可以...

    IBM WEBSPHERE MQ 客户端--服务器端安装配置.doc

    IBM WebSphere MQ 是一个强大的中间件产品,用于在分布式系统之间可靠地传输数据。本文主要介绍如何安装配置WebSphere MQ的客户端和服务器端。 **一、安装配置** 1. 首先,使用虚拟光驱加载IBM WebSphere MQ的安装...

    WebSphere Message Broker -JavaCompute组件的使用

    WebSphere Message Broker(WMB),现已被更名为IBM Integration Bus(IIB),是IBM提供的一款强大的企业服务总线(ESB)产品,用于构建和管理应用程序之间的集成。在WMB/IIB中,JavaCompute节点是一种非常重要的...

    WebSphere在Myeclipse中的整合

    3. **Java环境**:系统中已安装符合WebSphere要求的Java Development Kit (JDK)。 #### 四、WebSphere在Myeclipse中的整合步骤 1. **启动Myeclipse**: - 打开Myeclipse,点击`Windows` -&gt; `Preferences`。 2. *...

    arcgis-for-java-developers.pdf

    ### ArcGIS for Java Developers #### 一、概览 《ArcGIS for Java Developers》是一份专为使用Java语言开发地理信息系统(GIS)应用程序和技术人员准备的技术文档。它提供了丰富的资源和指南,帮助开发者构建和...

    Beginning Java with WebSphere

    Beginning Java with WebSphere provides a step-by-step guide for creating and installing both client- and server-based Java applications using Rapid Application Development v8, WebSphere Application ...

    WebSphere Virtual Enterprise -- 实现应用基础架构层面的虚拟化

    ### WebSphere Virtual Enterprise -- 实现应用基础架构层面的虚拟化 #### WebSphere Virtual Enterprise 核心功能 **1. 完整的企业级应用虚拟运行环境** - **应用基础架构虚拟化**:通过将应用程序与运行环境...

    WebSphere系统安全加固规范 中文

    WebSphere系统作为一款企业级应用服务器,广泛应用于构建、部署和管理Java EE应用程序。其安全加固对于企业IT系统来说至关重要,以下是从给出的文件内容中提炼出的WebSphere系统安全加固规范的相关知识点。 ### ...

    WebSphere参数讲解-连接池方面

    ### WebSphere连接池参数详解 在企业级应用服务器领域中,IBM WebSphere Application Server(简称WebSphere或WAS)是一款非常流行的解决方案。其中,连接池技术是提高数据库访问效率的关键技术之一。本文将深入...

    WebSphere+MQ+Using+Java

    2. **WebSphere MQ API**:IBM提供了Java Message Service (JMS) API和MQ Classes for Java两种方式与WebSphere MQ进行交互。JMS是标准接口,适用于多种消息中间件,而MQ Classes for Java是IBM特有的,提供了更底层...

Global site tag (gtag.js) - Google Analytics