tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Ng" <woonb...@yahoo.com>
Subject RE: J2EE and Tomcat
Date Sun, 17 Feb 2002 20:18:29 GMT
Nice to see u reply again...

I have made a WAR file and tried to create a new Web Componet by adding a
new WAR file, unfortunately tat doesnt work very well... well anwyay i have
given up all hope of using the J2EE RI. I will just stick to TOMCAT and just
wondering, is JavaMail separately available from sun..? Its a very important
feature in J2EE i need to use and now i have given up usage of J2EE RI, i
guess i will have to download it separately..

-----Original Message-----
From: Craig R. McClanahan [mailto:craigmcc@apache.org]
Sent: Sunday, February 17, 2002 12:55 AM
To: Keith Ng
Cc: Tomcat Users List
Subject: RE: J2EE and Tomcat




On Sat, 16 Feb 2002, Keith Ng wrote:

> Date: Sat, 16 Feb 2002 14:08:50 +0800
> From: Keith Ng <woonbock@yahoo.com>
> To: Craig R. McClanahan <craigmcc@apache.org>,
>      Tomcat Users List <tomcat-user@jakarta.apache.org>
> Subject: RE: J2EE and Tomcat
>
> Hi Craig
>
> I saw yr very reasonable explaination and have understood a lot more den i
> used to. Thanks... =)
>
> However, I have tried to deploy my Tomcat application using J2EE server
like
> the one provided by SUN. I tried two methods. One by moving the entire
> folder to public_html and also by trying to deploy. Both methods doesnt
> works when it comes to locating certain javabean classes i placed under
> web-inf-->classes-->FOLDER.(not EJB) ... wat seems to work just fine
doesnt
> seem to work at all in J2EE. I do not think therefore I can develop using
> tomcat and deploy using a J2EE server.
>

When you use Tomcat, you have to deploy applications the way that Tomcat
tells you to.  When you use any other server, you have to deploy
applications the way that *that* documentation tells you to.  You cannot
make any assumptions about "just because Tomcat does it that way" on these
kinds of mechanics.

The only thing that is guaranteed to be portable is a WAR file (not a
directory), in the correct internal format, that contains *all* of the
classes you need in WEB-INF/classes or WEB-INF/lib.  What you are
describing for directory structure isn't valid Java, so it's not going to
work on any container.

Craig

> -----Original Message-----
> From: Craig R. McClanahan [mailto:craigmcc@apache.org]
> Sent: Friday, February 15, 2002 1:03 AM
> To: Tomcat Users List; woonbock@yahoo.com
> Subject: Re: J2EE and Tomcat
>
>
>
>
> On Thu, 14 Feb 2002, Keith Ng wrote:
>
> > Date: Thu, 14 Feb 2002 20:38:18 +0800
> > From: Keith Ng <woonbock@yahoo.com>
> > Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>,
> >      woonbock@yahoo.com
> > To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> > Subject: J2EE and Tomcat
> >
> > Hi Guys
> >
> > I just joined in, Happy Chinese New Year, esp to the all the Chinese
here.
> >
> > I have the following query, its not exactly a TOMCAT question but I
> figured
> > people here can help. I have installed J2EE and have previously used
> TOMCAT.
> > Therefore I have the following queries....
> >
> > 1)There are many versions of TOMCAT, but Im only using a pretty old
> version,
> > like 3.2.2. I want to try run my web application on a J2EE server. Are
> both
> > J2EE and TOMCAT using the same specifications for JSP and SERVLETS?
> > Currently using J2EE 1.3 ...
> >
>
> Tomcat 3.2 (and 3.3) are based on the Sevlet 2.2 and JSP 1.1
> specifications (these match up with J2EE 1.2).
>
> Tomcat 4.0 is based on the Servlet 2.3 and JSP 1.2 specifications, which
> are the versions included in J2EE 1.3.  In general these specs are
> backwards compatible so that your older webapps will still run.
>
> > 2)Am I supposed to continue using TOMCAT to develop web applications for
> > deployment in J2EE? I certainly do not know how to do the same with J2EE
> > what I have learnt with TOMCAT
> >
>
> If your applications don't require EJBs, it is very reasonable to do your
> development under Tomcat and then deploy on a J2EE server.  Just be sure
> you don't rely on Tomcat-specific features in your applications.
>
> > Hope someone can enlighten me. Thanks ;)
> >
> >
>
> Craig
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message