Link Details

Link 983985 thumbnail
User 163060 avatar

By fernandorubbo
Published: Jun 17 2013 / 14:16

Recently I had the necessity to write an embedded war. At a first glance, I thought: “It is a pretty simple task, I've done it many times using Jetty”. Just some minutes later I remembered: “Wait a minute... I've used embedded Jetty servers into jar files, but how can I do the same using war files?”. The answer of this question is a bit “tricky”. Actually, you have to create a war file which will have to play two different roles. The first one is responsible to start the embedded Jetty server and the second one is the web app itself. This post will shows you how to create an embedded war file using Jetty web server and Gradle.
  • 11
  • 0
  • 2432
  • 1349

Add your comment


Spring Integration
Written by: Soby Chacko
Featured Refcardz: Top Refcardz:
  1. Search Patterns
  2. Python
  3. C++
  4. Design Patterns
  5. OO JS
  1. PhoneGap
  2. Spring Integration
  3. Regex
  4. Git
  5. Java