Skip to content

kienkhuynh/kh_designer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample App

This project contains a simple servlet application. Use at your own risk.

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 install package
  2. Run resources/create_db.sql and resources/insert_db.sql on PostgreSQL

  3. Update jvm.options.templates template with proper database credentials and other properties

  4. Create server

     $ mvn liberty:create-server
  5. Rename jvm.options.templates to jvm.options and copy it to target/liberty/usr/servers/defaultServer

  6. Start the server

    $ mvn liberty:install-feature
    $ mvn liberty:start-server

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

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors