tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Behrang Saeedzadeh <behran...@gmail.com>
Subject Re: Official documentation for running an embedded Tomcat server
Date Mon, 25 Nov 2019 20:56:24 GMT
For an example use case, see Spring Boot. It can use an embedded Tomcat and
build an executable Uber Jar. Then you can start your Web app by running
java -jar app.jar.

On Tue, 26 Nov. 2019, 2:29 am Mladen Adamović, <mladen.adamovic@gmail.com>
wrote:

> I wonder why somebody would want to run "embedded Tomcat" and what it
> actually means?
> I'm working professionally in software engineering since 2003 and I'm
> puzzled.
>
> From looking into that article, it seems that Java app starts Tomcat, why
> somebody would want that?
>
>
> On Sun, Nov 24, 2019 at 12:27 AM Behrang Saeedzadeh <behrangsa@gmail.com>
> wrote:
>
> > I will create a PR if I find the time to write one.
> >
> > On Sat, Nov 23, 2019 at 9:40 PM Mark Thomas <markt@apache.org> wrote:
> >
> > > On 23/11/2019 08:17, Behrang Saeedzadeh wrote:
> > > > Hi all,
> > > >
> > > > Are there any official docs for how to run Tomcat as an embedded
> > server?
> > > > Searching returns some results such as
> > > >
> > >
> >
> https://devcenter.heroku.com/articles/create-a-java-web-application-using-embedded-tomcat
> > > > but I haven't seen any official docs.
> > > >
> > > > Are there any?
> > >
> > >
> >
> http://tomcat.apache.org/tomcat-9.0-doc/api/org/apache/catalina/startup/Tomcat.html
> > >
> > > is the closest thing we have but I suspect parts of it are out of date.
> > > The unit tests are a good source of samples of how to use it.
> > >
> > > Care to contribute a how-to page for the docs?
> > >
> > > Mark
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > > For additional commands, e-mail: users-help@tomcat.apache.org
> > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message