Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: Tomcat Embedded - Solution Viable

Bill Barker

2003-10-17

Replies:


"Nikolaos Giannopoulos" <nikolaos@(protected)
news:NCBBKEJJIKONMIGINIEAMELMOCAA.nikolaos@(protected)...
> Hi,
>
> We have a web app consisting of servlets that talk to a standalone server
> app over RMI. Currently our customers need to download and install (1)
JDK,
> (2) a web server with a servlet engine and (3) our application.
>
> Our customers are telling us that they don't mind installing the JDK but
to
> have to install a web server and servlet engine (even if it is just
> integrated - Tomcat) and then install our app that it is too cumbersome.
>
> + Can Tomcat Embedded be bundled with proprietary software (from a
licensing
> perspective)?
>

Provided that you comply with the ASF license, yes. It isn't much different
from redistributing Tomcat standalone.

> + What gets deployed when Embedded Tomcat is used (Is it the LE or regular
> version or do I need to use the source)?
>

It depends on the version you are bundling, whether you set
'java.endorsed.dirs', etc.

> + Anyone know of a tutorial on transitioning from Tomcat standalone to
> Tomcat embedded?
>
> + Any other info or gotcha's would be great
>
> Ideally we would like to not tightly couple our product to Tomcat Embedded
> and thus maybe still offer a version of our software without the embedded
> Tomcat. How doable is this?
>

Pretty doable. Just define an interface (e.g. something like
commons-daemon's Daemon), and a Factory to choose the implementation, and I
see no reason why you can't support Jetty, WebSphere, WebLogic, JRun or
anyone else that I've missed :).

> Any and all information is appreciated.
>
> --Nikolaos




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.