ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | enhydra List | November 2005 Index

<--  Date Index  --> <--  Thread Index    

RE: [enhydra] code from enhydra 3.0


Francis,

I had a lot of code written in enhydra3.1 which I had to port to enhydra
5.1. The original code was generated using Jbuilder XMLC plugins and a
stand-along DODS application. I then moved everything under eclipse and
used ant builds to generate and compile the sources. It's not really
hard to do this, you just need to refactor your code and make it compile
against the new enhydra/xmlc/dods jars. The biggest problem I faced was
getting the new dods to work on the old database. The old dods that
worked with enhydra3.1 was able to deal with duplicate objectids in
different tables just fine. The new dods (5.1) was trying to load rows
from the wrong tables (since they had the same objectids as the ones I
wanted to load) and I was getting a lot of ClassCastExceptions. So, I
ended up regenerating ids on all the tables in the database to get it to
work with the new dods. Other than that I didn't have any major
problems.
This may be different with enhydra 6.0, but I thought I'd share my
expreience.
Regards.

Oleg

-----Original Message-----
From: Francis Spor [mailto:FSpor@xxxxxxxxxxxxxxx] 
Sent: Friday, November 18, 2005 11:05 AM
To: enhydra@xxxxxxxxxxxxx
Subject: RE: [enhydra] code from enhydra 3.0

 
I'm going to repost this, just to see if anyone has thought of any good
way to do this.  I also have a large code base, in my case in Enhydra
3.1, that I'd like to port with as little rewrite as possible to 6.x.
Any ideas on how best to proceed or a general idea of what I should at
least look out for may help both myself, and anyone with nasty legacy
code still hanging out there.

Thanks in advance,
Francis


-----Original Message-----
From: Eman Ghobrial [mailto:eghobrial@xxxxxxxx]
Sent: Tuesday, October 25, 2005 2:30 PM
To: enhydra@xxxxxxxxxxxxx
Subject: [enhydra] code from enhydra 3.0

Hello all,

I have some code that I developed 5 years ago using enhydra 3.0, there
are some functionally in the newer versions that I want to take
advantage of,

Is there sort of a cookbook some where for how to convert your legacy
3.0 application to the new enhydra 6.x

Thank you for your help in advance.

--
Eman 





--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.
If you have questions about this email, please contact the IT Help Desk.

Mail




<--  Date Index  --> <--  Thread Index    

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.