Migrate WebApp (Spring and Camel) from Tomcat 7 to Jetty

My webapp is currently deployed as a war against Tomcat7. I want to migrate this webapp to Jetty. I explored Jetty, but it seems that there are too many options. The webapp uses Spring MVC And Camel. I am using Maven for building, testing and deployment.

I am looking for a good option to quickly migrate this application to Jetty.

Edit: My The main interest is embedded Jetty. I assume that embedded Jetty should be able to use Spring normally.

Thank you.

< div class="answer"> This is what I did this job.

>I added the following plugins in pom.xml



org.mortbay.jetty
jetty-maven-plugin
7.5.4.v20111024



10< /scanIntervalSeconds>

/mycontextpath


${basedir}/ target/{mywarname}.war



8080
60000



>Execute maven cleanup and installation

$mvn clean install -DskipTests
>Run war file with Jetty plugin

$mvn Dock: War
>Run tests in a separate window

$mvn test

My webapp is currently deployed as a war against Tomcat7. I want to migrate this webapp to Jetty. I explored Jetty, but it looks like there are too many options. The webapp uses Spring MVC and Camel. I am using Maven for building, testing and deployment.

I am looking for a good option to quickly migrate this application to Jetty.

Edit: My main interest is embedded Jetty. I assume that embedded Jetty should be able to use Spring normally.

Thank you.

This I did this work.

>I added the following plugins in pom.xml



org.mortbay.jetty
jetty-maven-plugin
7.5.4.v20111024



10

/mycontextpath
< br />
${basedir}/target/{mywarname}.war



8080
60000



>Execute maven clean and install

$mvn clean install -DskipTests
>Use Jetty plug-in to run war file

$mvn dock: war
>Run the test in a separate window

$mvn test

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 4222 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.