java.net: Wiki

The Source for Java Technology Collaboration


 <<O>>  Difference Topic CajoServlet (5 - 04 Aug 2007 - Main.JohnCatherino)
Line: 1 to 1
 
META TOPICPARENT name="ThecajoProject"
-- Main.mpzarde - 18 Oct 2005
Changed:
<
<
In some cases in may be necessary incorporate the rel="nofollow" cajo project into an existing
J2EE
project so that one can re-use existing objects and classes.
>
>
In some cases in may be necessary incorporate the cajo project into an existing
J2EE
project so that one can re-use existing objects and classes.
 In such a scenario it would be nice to have a servlet load and configure the cajo
ItemServer
at the same time the
J2EE
application loads.

 <<O>>  Difference Topic CajoServlet (4 - 18 Nov 2005 - Main.ivelin)
Line: 1 to 1
 
META TOPICPARENT name="ThecajoProject"
-- Main.mpzarde - 18 Oct 2005
Line: 28 to 28
 
  • Other cool or useful stuff that comes along
  • Added:
    >
    >

     <<O>>  Difference Topic CajoServlet (3 - 20 Oct 2005 - Main.cajo)
    Line: 1 to 1
     
    META TOPICPARENT name="ThecajoProject"
    -- Main.mpzarde - 18 Oct 2005
    Changed:
    <
    <
    In some cases in may be necessary incorporate cajo into an existing
    J2EE
    project so that one can re-use existing objects and classes.
    >
    >
    In some cases in may be necessary incorporate the rel="nofollow" cajo project into an existing
    J2EE
    project so that one can re-use existing objects and classes.
     In such a scenario it would be nice to have a servlet load and configure the cajo
    ItemServer
    at the same time the
    J2EE
    application loads.

     <<O>>  Difference Topic CajoServlet (2 - 18 Oct 2005 - Main.mpzarde)
    Line: 1 to 1
     
    META TOPICPARENT name="ThecajoProject"
    -- Main.mpzarde - 18 Oct 2005
    Changed:
    <
    <
    In some cases in may be necessary incorporate cajo into an existing j2ee project so that one can re-use existing objects and classes.
    >
    >
    In some cases in may be necessary incorporate cajo into an existing
    J2EE
    project so that one can re-use existing objects and classes.
     
    Changed:
    <
    <
    In such a scenario it would be nice to have a servlet load and configure the cajo
    ItemServer
    as when the application loads.
    >
    >
    In such a scenario it would be nice to have a servlet load and configure the cajo
    ItemServer
    at the same time the
    J2EE
    application loads.
     This is accomplished by using the
    CajoServlet
    wrapper which loads a cajo configuration from xml and bind as set of items to the
    ItemServer
    .
    Added:
    >
    >
    Installation

    These steps assume that you have a

    J2EE
    server available along with appropriate jars to build a
    J2EE
    project. Specifically you will require a
    HTTPServlet
    implementation and a
    DomParser
    implementation. The current code was tested against
    OC4J
    and
    Xerces
    .

    • Download the CajoServlet Archive
    • Unzip the archive into your source tree
    • Compile, making sure that your classes end up in the WEB-INF/classes folder
    • Create a cajo servlet config file (see cajo.xml in archive) and deploy into your runtime environment in WEB-INF/classes
    • Modify your web.xml (see sample in archive) to load the cajo servlet
    • Restart your server and the
      CajoServlet
      should automatically configure and start the cajo
      ItemServer

    Roadmap

    • Add support to start a codebase server from config file
    • Add support for three parm binding i.e.
      ItemServer
      .bind(item, name, proxy)
    • Other cool or useful stuff that comes along

     <<O>>  Difference Topic CajoServlet (1 - 18 Oct 2005 - Main.mpzarde)
    Line: 1 to 1
    Added:
    >
    >
    META TOPICPARENT name="ThecajoProject"
    -- Main.mpzarde - 18 Oct 2005

    In some cases in may be necessary incorporate cajo into an existing j2ee project so that one can re-use existing objects and classes.

    In such a scenario it would be nice to have a servlet load and configure the cajo

    ItemServer
    as when the application loads.

    This is accomplished by using the

    CajoServlet
    wrapper which loads a cajo configuration from xml and bind as set of items to the
    ItemServer
    .

    Topic CajoServlet . { View | Diffs r5 < r4 < r3 < r2 | More }
     XML java.net RSS