#3 J2ee connector support

closed
None
5
2003-06-13
2002-11-12
No

This patch implements the j2ee connector 1.0 interfaces
necessary to deploy tjdo in an app server. It includes
my previous firebird support files in the file.tar.bz2
file. I've also included a diff of the main classes
and test classes.

The testsuite can be run to test either the standalone
interfaces or the connector interfaces: see the
tjdo.test.style property near the start of build.xml.

Other changes:

metadata can now be in larger files, similar to what
the reference enhancer accepts: for a class a.b.c.D,
/a.jdo, /a/b.jdo, /a/b/c.jdo and /a/b/c/D.jdo will all
be found. metadata caching is also much improved,
eliminating duplicate parsing. However, the source url
for metadata is gone: this was used only in error
messages, and I don't think it is worth keeping.

I've also implemented an mbean to deploy classes, since
autocreate is not particularly appropriate in an app
server.

Discussion

  • David Jencks

    David Jencks - 2002-11-12

    files for j2ee connector support

     
  • David Jencks

    David Jencks - 2002-11-12

    diffs of jdo files

     
  • David Jencks

    David Jencks - 2002-11-12

    diffs of testsuite files

     
  • David Jencks

    David Jencks - 2002-11-12

    Logged In: YES
    user_id=60525

    I also reorganized the build structure so all build products
    go in an "output" directory, so clean can just delete that
    dir. This fixes several build problems.

     
  • David Jencks

    David Jencks - 2002-11-14

    Logged In: YES
    user_id=60525

    The original patch passes most of the tests, but doesn't
    actually work in an app server. I hope to have an updated
    version that does both shortly.

     
  • David Jencks

    David Jencks - 2002-11-21

    Logged In: YES
    user_id=60525

    This is a new version that passes most of the tests and
    works with a fair size application in jboss. It inculdes
    the firebird support and sql-92 patch. For use with
    firebird, it requires today (11-20-2002) or later version of
    the firebird driver.

    I've included another test (OneToOne) that seems to indicate
    that one to one bidirectional relationships cannot be made
    persistent all at once unless the db supports deferred fk
    constraints.

     
  • David Jencks

    David Jencks - 2002-11-21

    Newer jca support patch (2nd generation)

     
  • David Jencks

    David Jencks - 2002-11-21

    Logged In: YES
    user_id=60525

    This is a new version that passes most of the tests and
    works with a fair size application in jboss. It inculdes
    the firebird support and sql-92 patch. For use with
    firebird, it requires today (11-20-2002) or later version of
    the firebird driver.

    I've included another test (OneToOne) that seems to indicate
    that one to one bidirectional relationships cannot be made
    persistent all at once unless the db supports deferred fk
    constraints.

     
  • David Jencks

    David Jencks - 2002-11-21

    Logged In: YES
    user_id=60525

    To compile with this patch you also need jaas.jar and
    something with the jca interfaces such as jboss-j2ee.jar.

     
  • Christopher Walk

    • assigned_to: nobody --> jackknifebarber
    • status: open --> closed
     
  • David Jencks

    David Jencks - 2002-12-26

    Logged In: YES
    user_id=60525

    Why is this closed? The original patch was not applied.

    I'm posting an updated patch that is against current
    (12-25-2002) cvs and does not include the changes for
    firebird that were in the original patch.

    You still need jaas.jar and something like jboss-j2ee jar
    with the connector classes.

     
  • David Jencks

    David Jencks - 2002-12-26

    Logged In: YES
    user_id=60525

    Why is this closed? The original patch was not applied.

    I'm posting an updated patch that is against current
    (12-25-2002) cvs and does not include the changes for
    firebird that were in the original patch.

    You still need jaas.jar and something like jboss-j2ee jar
    with the connector classes.

     
  • David Jencks

    David Jencks - 2002-12-26

    updated patch without firebird changes

     
  • Mike Martin

    Mike Martin - 2003-01-11
    • status: closed --> open
     
  • David Jencks

    David Jencks - 2003-01-30

    Logged In: YES
    user_id=60525

    I'm adding an updated copy of the DefineClasses mbean I wrote that has a more sophisticated (and actually working) way to make JDOHelper get the class metadata.

     
  • David Jencks

    David Jencks - 2003-01-30

    updated DefineClasses.java file

     
  • Kelly Grizzle

    Kelly Grizzle - 2003-02-14

    Logged In: YES
    user_id=524390

    Mike has asked me to review this patch for him.

    --Kelly

     
  • Kelly Grizzle

    Kelly Grizzle - 2003-02-14
    • assigned_to: jackknifebarber --> pierreg0
    • status: open --> closed
     
  • Kelly Grizzle

    Kelly Grizzle - 2003-03-03
    • status: closed --> closed
     
  • David Jencks

    David Jencks - 2003-04-21

    New and changed files, 3rd edition

     
  • David Jencks

    David Jencks - 2003-04-21

    Logged In: YES
    user_id=60525

    Here is an updated patch against current cvs. How should I interpret the bugtracker entry for this patch being closed for the second time?

     
  • Kelly Grizzle

    Kelly Grizzle - 2003-04-21
    • status: closed --> closed
     
  • Kelly Grizzle

    Kelly Grizzle - 2003-04-21

    Logged In: YES
    user_id=524390

    Thanks for the updated patch. Sorry about it getting closed
    again - it was not intentional.

     
  • Kelly Grizzle

    Kelly Grizzle - 2003-06-13
    • status: closed --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks