java - how to embed spring mvc application with jetty -


i have working spring mvc application(doing wanted when deployed jboss) , i'm looking way how start application jar. i've though of when starting jar, first kind of web server should started in order able run application.

and i've tried tons of combinations jetty(lost 2 days already), , failed every 1 of them, suggestions https://stackoverflow.com/tags/embedded-jetty/hot

my main weakness don't have thorough understanding of servlets, contexts , on. terms see on regular basis while browsing google search, maybe found solution didn't understand it.

has done similar? , yes i've asked similar question tomcat :

maven tomcat plugin

yes, i've done sort of several times, , it's straight forward if know how bits work.

since you've explained don't know how bits work, that's going bit harder :)
they're not hard learn, , easiest way learn doing - you're heading down right path.

the accepted answer here: executable war file starts jetty without maven of best advice you're going on topic.

i suggest:

  1. create war start (which have jboss deployment)
  2. get war running under standard jetty (fairly straight forward, lots of tutorials around)
  3. then follow advice linked to, turn embedded jetty war file.

if run issues, ask specific questions specific examples of went wrong, , we'll try , out.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -