You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tommy Pham <to...@gmail.com> on 2014/02/10 18:20:14 UTC

Tomcat embedded deprecated

Hi folks,

I'm seeing:

@Deprecated <http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true>
public class Embedded

at doc site [1] which I presume that the embedded is removed in 8.x?  Could
someone please explain why it's deprecated or point me in the right
direction of why it's deprecated?


Thanks,
Tommy


[1]
http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/startup/Embedded.html

Re: Tomcat embedded deprecated

Posted by Tommy Pham <to...@gmail.com>.
Thanks Gary and Violeta for the responses.  Mark's presentation was what
I'm looking for.

Kind regards,
Tommy


On Mon, Feb 10, 2014 at 9:40 AM, Violeta Georgieva <mi...@gmail.com>wrote:

> Hi,
>
>
> 2014-02-10 Tommy Pham <to...@gmail.com>:
> >
> > Hi folks,
> >
> > I'm seeing:
> >
> > @Deprecated <
>
> http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true
> >
> > public class Embedded
> >
> > at doc site [1] which I presume that the embedded is removed in 8.x?
>  Could
> > someone please explain why it's deprecated or point me in the right
> > direction of why it's deprecated?
>
> It is there:
>
> "Deprecated.
> Use Tomcat instead."
> [1]
>
> Checke this presentation [2]. It's a good starting point.
>
>
> Regards
> Violeta
>
> [1]
>
> http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/startup/Tomcat.html
> [2]
>
> http://people.apache.org/~markt/presentations/2010-11-04-Embedding-Tomcat.pdf
>

Re: Tomcat embedded deprecated

Posted by Violeta Georgieva <mi...@gmail.com>.
Hi,


2014-02-10 Tommy Pham <to...@gmail.com>:
>
> Hi folks,
>
> I'm seeing:
>
> @Deprecated <
http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true
>
> public class Embedded
>
> at doc site [1] which I presume that the embedded is removed in 8.x?
 Could
> someone please explain why it's deprecated or point me in the right
> direction of why it's deprecated?

It is there:

"Deprecated.
Use Tomcat instead."
[1]

Checke this presentation [2]. It's a good starting point.


Regards
Violeta

[1]
http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/startup/Tomcat.html
[2]
http://people.apache.org/~markt/presentations/2010-11-04-Embedding-Tomcat.pdf

Re: Tomcat embedded deprecated

Posted by Gary Briggs <ch...@icculus.org>.
On Mon, Feb 10, 2014 at 09:20:14AM -0800, Tommy Pham wrote:
> Hi folks,
> 
> I'm seeing:
> 
> @Deprecated <http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true>
> public class Embedded
> 
> at doc site [1] which I presume that the embedded is removed in 8.x?  Could
> someone please explain why it's deprecated or point me in the right
> direction of why it's deprecated?

Underneath the "Deprecated" tag, it notes to use Tomcat instead:
http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/startup/Tomcat.html

I'm currently using that class with great success.

Gary

> Thanks,
> Tommy
> 
> 
> [1]
> http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/startup/Embedded.html

-- 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org