<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Catalina on Micha Kops&#39; Tech Notes</title>
    <link>https://www.hascode.com/tags/catalina/</link>
    <description>Recent content in Catalina on Micha Kops&#39; Tech Notes</description>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>Copyright © 2010 - 2025 Micha Kops. #e9d956c0c0154a221ad83c925346a8fa0e72f866</copyright>
    <lastBuildDate>Tue, 09 Jul 2013 00:00:00 +0200</lastBuildDate>
    <atom:link href="https://www.hascode.com/tags/catalina/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Embedding Jetty or Tomcat in your Java Application</title>
      <link>https://www.hascode.com/embedding-jetty-or-tomcat-in-your-java-application/</link>
      <pubDate>Tue, 09 Jul 2013 00:00:00 +0200</pubDate>
      <guid>https://www.hascode.com/embedding-jetty-or-tomcat-in-your-java-application/</guid>
      <description>&lt;div id=&#34;preamble&#34;&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Recently I needed to control an embedded web container from a Java application and I wanted to see how this could be achieved using an embedded instance of either Tomcat or Jetty here.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;In the following short examples I would like to show how to embed both servers in an application in no time using Gradle or Maven as build tool.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_dependencies&#34;&gt;Dependencies&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;We just need to add the web container libraries to our project here .. I’ve added the build config for Gradle and Maven here…&lt;/p&gt;
&lt;/div&gt;</description>
    </item>
  </channel>
</rss>
