GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - amy-hjn/amytest

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
.settings
.settings
 
 
src/main
src/main
 
 
target
target
 
 
.classpath
.classpath
 
 
.project
.project
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
manifest.yml
manifest.yml
 
 
pom.xml
pom.xml
 
 

Repository files navigation

Java Hello World Sample

This project contains a simple servlet application.

Deploy to Bluemix

Running the application using the command-line

This project can be built with Apache Maven. The project uses Liberty Maven Plug-in to automatically download and install Liberty from the Liberty repository. Liberty Maven Plug-in is also used to create, configure, and run the application on the Liberty server.

Use the following steps to run the application locally:

  1. Execute full Maven build to create the target/JavaHelloWorldApp.war file:

    $ mvn clean install
  2. Download and install Liberty, then use it to run the built application from step 1:

    $ mvn liberty:run-server

    Once the server is running, the application will be available under http://localhost:9080/JavaHelloWorldApp.

Use the following command to run the built application in Bluemix: bash $ cf push <appname> -p target/JavaHelloWorldApp.war

Developing and Deploying using Eclipse

IBM® Eclipse Tools for Bluemix® provides plug-ins that can be installed into an existing Eclipse environment to assist in integrating the developer's integrated development environment (IDE) with Bluemix.

  1. Download and install IBM Eclipse Tools for Bluemix.

  2. Import this sample into Eclipse using File -> Import -> Maven -> Existing Maven Projects option.

  3. Create a Liberty server definition:

  • In the Servers view right-click -> New -> Server
  • Select IBM -> WebSphere Application Server Liberty
  • Choose Install from an archive or a repository
  • Enter a destination path (/Users/username/liberty)
  • Choose WAS Liberty with Java EE 7 Web Profile
  • Continue the wizard with default options to Finish
  1. Run your application locally on Liberty:
  • Right click on the JavaHelloWorldApp sample and select Run As -> Run on Server option
  • Find and select the localhost Liberty server and press Finish
  • In a few seconds, your application should be running at http://localhost:9080/JavaHelloWorldApp/
  1. Create a Bluemix server definition:
  • In the Servers view, right-click -> New -> Server
  • Select IBM -> IBM Bluemix and follow the steps in the wizard.\
  • Enter your credentials and click Next
  • Select your org and space and click Finish
  1. Run your application on Bluemix:
  • Right click on the JavaHelloWorldApp sample and select Run As -> Run on Server option
  • Find and select the IBM Bluemix and press Finish
  • A wizard will guide you with the deployment options. Be sure to choose a unique Name for your application
  • In a few minutes, your application should be running at the URL you chose.

Liberty App Accelerator

For help generating other Liberty samples checkout the Liberty App Accelerator at wasdev.net/accelerate

About

No description, website, or topics provided.

Resources

Readme
Apache-2.0 license

Contributing

Contributing
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.