Article:
  Database Connection Pooling with Tomcat
Subject:   deploying context files in Tomcat
Date:   2006-05-09 12:32:05
From:   dljava
Although I agree with the other posts re: Hibernate, EJB containers, etc. the article is specifically titled "...with Tomcat".


But that being said, you neglected to point out an important feature in Tomcat, the ability for deployable war files to defne their contexts using the META-INF/context.xml file.


Not only is it not desireable to edit server.xml (which requires a restart), in some situations it may not be possible (e.g. in some hosted environments).


-Dario Laverde

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Connection pooling
    2006-09-02 07:07:45  amitjain [View]

    Connection pooling is a new concept for me. I would like to know how it used. How server.xml is configured and how DataSource object is used in our coding. Plz. send me reply with coding support.
  • META-INF is no longer required in Java EE 5
    2006-05-31 03:36:51  James_Cooper [View]

    The META-INF is no longer required in Java EE 5. The following contents are from a presentation at JavaOne 2006.

    Web Application Packaging Example
    app.war
    index.jsp
    images/logo.gif
    WEB-INF/classes/MyWebService.class
    ● That's it!
    ● No META-INF/web.xml
    ● No META-INF/webservices.xml
    ● No JAX-RPC mapping file

    Also,
    Enterprise Application Packaging
    Example
    app.ear
    lib/shared.jar
    ui/web.war
    ui/client.jar
    biz/ejb.jar
    ● That's it!
    ● No META-INF/application.xml