I'm using Tomcat as my production server and I would like to use one of maven plugins in order to run the server from within the IDE. I saw that there are 2 plugins: Tomcat maven plugin and Jetty maven plugin. What are the differences between the two? What are the prons and cons for each?
Jetty VS Tomcat Maven Plugin - which one should I use?
1.4k Views Asked by user1116377 At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in MAVEN
- Auto reload with play2
- maven pom.xml dependencies order vs classpath/build path order
- How to ignore or fix the duplicate classes warning?
- Scala Eclipse IDE compiler giving errors until "clean" is run
- How to run multiple "mvn test"-commands from batch file?
- Not able to send email in java using SMTP,its blocked by firewall in my office.Is there any other method by which we can send mail?
- javaCV Maven project
- Logging error when executing Maven SonarQube plugin
- Gradle: Override transitive dependency by version classifier
- Why we need maven if there's javac that compiles the code?
- jar file input == null while java app is working
- JPA and web app
- Test Selector Plugin Jenkins returns No tests were executed
- Eclipse OSGI unsatisfied constraint
- GlassFish 4.0 CDI deployment failure + Apache Spark
Related Questions in WEBSERVER
- How to prevent timeout when running a time consuming PHP
- How to get response from server every second in JSON?
- Apache Server (xampp) doesn't run on Windows 10 (Port 80)
- Upgrade SonarQube issues
- How to test java server without deployment?
- Deploy Jekyll project without a webserver
- TCP Window Update Scenarios
- Cors doesnt solve cross origin requests
- How do I configure my Android emulator to access my localhost?
- Do i need to install some packages to run javascript on debian
- Best practice for docker webserver, muliple layers or single layer?
- What is meant by the term "web root"?
- Connect IOT module to the internet server
- Raspberry pi Webserver handling Get Requests
- why db execution doesn't stops even if I stops the web browser?
Related Questions in MAVEN-JETTY-PLUGIN
- Jrebel - ERROR org.zeroturnaround.bundled.javassist.CannotCompileException: [source error] no such class: classCache
- Unable to install new relic on Ubuntu with Jetty server
- spring-boot:RSA premaster secret error: SunTls12RsaPremasterSecret KeyGenerator not available
- java.lang.ClassCastException: org.eclipse.jetty.webapp.WebAppContext cannot be cast to org.eclipse.jetty.maven.plugin.JettyWebAppContext
- The absolute uri: http://www.opensymphony.com/sitemesh/decorator cannot be resolved in either web.xml or the jar files deployed with this application
- Jetty: NoClassDefFoundError
- Jetty startup delay due to scanning
- HTTP ERROR: 503 Reason: Service Unavailable powered by jetty
- org.codehaus.jackson.map.JsonMappingException: Direct self-reference leading to cycle
- No suitable default RequestUpgradeStrategy found
- Maven Jetty plugin stopPort and stopKey missing or invalid
- Integration test with embedded jetty not working
- Jetty Maven Plugin is ignoring custom webdefault.xml
- How to: Run maven integration tests against a test environment (database)
- Static content with Maven Jetty Plugin
Related Questions in MAVEN-TOMCAT-PLUGIN
- Spring MVC with maven tomcat plugin
- Restarting embedded tomcat
- Tomcat 8 Maven Plugin for Java 8
- Maven tomcat-plugin cannot find custom realm
- mvn tomcat7:run - How to add properties
- pass my javaagent to tomcat-maven-plugin NOT Tomcat Server
- org.codehaus.classworlds.NoSuchRealmException: plexus.core
- Maven cannot find tomcat7 goal while using tomcat7-maven-plugin
- tomcat 7 embedded doesn't shutdown correctly ClassNotFoundException ContainerBase$StopChild
- Jetty VS Tomcat Maven Plugin - which one should I use?
- Where should i get context.xml for tomcat7-maven-plugin
- Hot deploy war maven project in embedded tomcat
- How to run Tomcat 7 using Maven 2 Tomcat plugin?
- mvn tomcat7:run - How does it work?
- java.lang.NoSuchMethodError: javax.el.ELResolver.invoke(Ljavax/el/ELContext;Ljava/lang/Object;Ljava/lang/Object; when using maven tomcat plugin
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You should always strive to make your development environment as close to production as possible. Jetty and Tomcat are both similarly easy to use with Maven, so if your production server is Tomcat I'd stick with Tomcat Maven Plugin.