Doug Turner wrote:
>
> We develop on one machine, and run our apps on another, production machine;
> we have developer versions of the production software on our development
> machines for testing.  In this kind environment,  I don't see any problem.
>

 Sure. It sounds like you're aware of the potential
problems, and know enough to work around any issues.

 But many people on the list _aren't_ aware of the
problems, and naively deploy servlet.jar into the
standard extensions directory. Then they have all
sorts of problems when they go to run their servlet
container.

 I'm probably being over-cautious, but after having
worked through classpath problems with people, I've
tried to entirely avoid any advice that depends on
them being clueful :-)


> Well, I did say YMMV...8-)  My advice is based on our successful
> development practice, and our interpretation of the Sun recommendations
> for using the extensions facility.
>

 Currently, the Tomcat developers recommend removing
j2ee.jar and servlet.jar from the extensions
directory, as it can interfere with running Tomcat.

 As you mention, you avoid the issue by being careful
about your development and deployment environments,
but then again you probably count as clueful...


> Also, the compiler is using the .jar file to resolve references to the API
> classes; if you deploy your application on a server that is using another
> vendors product, as long as you don't commit the sin of using any
> vendor-specific extensions, you should not have a problem (I've done this
> inadvertantly, with no problem).
>

 Agreed, the interfaces are standard, so it shouldn't
matter which vendor's servlet.jar you use to compile
your webapps, they should deploy just fine to any
other vendor's container.


--
Christopher St. John [EMAIL PROTECTED]
DistribuTopia http://www.distributopia.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to