in reply to Programming framework theory

Storing objects from different sources/languages in the same database is easy: the hard part is getting them back out again using the other language. The easiest way to store an object is to serialise it - giving the other language next to no chance of understanding it. The hard way is to break the object's data down into it's basic constituents and store the data into lots of related tables. It does mean a lot of work on the store/retrieve methods, and they'd have to be implemented twice (once for each language). I've done similar things in languages other than Perl and Java (Gupta SQLWindows and COBOL to be precise). The latest versions of Oracle can store XML natively, which may help.

rdfield

Replies are listed 'Best First'.
Re: Re: Programming framework theory
by tachyon (Chancellor) on Feb 10, 2003 at 18:25 UTC
Re: Re: Programming framework theory
by matth (Monk) on Feb 10, 2003 at 17:11 UTC
    The Java and Perl objects don't need to interact with each other. They only need to extract info from the same XML source and then produce common XML objects. The XML objects can then be used for whatever purpose.