Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here's what it looks like to start up a Spring app with Juneau REST resources:

Another option to register a Juneau REST resource is to simply return that resource as a Spring bean like so:

Image Added

The JuneauContextInitializer will process the @JuneauIntegration annotation, construct and register the root servlet, and associate a SpringRestResourceResolver with the servlet so that child resources can be defined as injectable Spring beans.

...