java.lang.Object
org.apache.juneau.examples.rest.jetty.App

public class App extends Object
An example of an extended REST microservice.

Subclasses can extend from JettyMicroservice to implement their own custom behavior. However, this is optional and the JettyMicroservice class can be invoked directly.

The JettyMicroservice class will locate the examples.cfg file in the home directory and initialize the resources and commands defined in that file.

See Also:
  • Constructor Details

    • App

      public App()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Entry point method.
      Parameters:
      args - Command line arguments.
      Throws:
      Exception - General exception occurred.