Re: java api vs jdbc
Posted in 1998
Bill Ennis wrote: > > Hi, > > The API provided by Informix will tie you in to an Informix server, while > JDBC will allow you to more easily move to another database if you > need to at some later time. While I haven't used either of these yet > I would guess the Informix API might perform a bit better. > > Bill > > Kevin Mallon wrote: > > > I want to develop a 'persistence bean' to store java objects for > > informix US. I am wondering whether anybody 'listening' has done this. > > In particular can someone advise the pros and cons of using Informix's > > JDBC driver versus the Java API supplied with US from an implementation > > perspective. N.B. I am looking for a generic persistence strategy and do > > not want to develop datablades for my object classes. > > > > Thanks in advance > > Kevin Uhmm a generic persistance strategy like creating an instance of an object and pass it a reference to the object you want to store? Do-able in Objective-C but not that easy. Java? Could be possible. The problem is that you need to be able to get a description of the object. And of course you would want to store its byte code too right? Or just the datasegment? -Mikey -- #include <std_disclaimer.h> /* Mike Segel (MS385) */ #include <No_Spam.h> #ifdef OFFENDED_BY_CONTENT The author takes no responsibility for this post. Any resembalence to a coherent rational thought is purely coincidence. -The Management. #endif ***************************** * Attention * -*- Due to AGIS's Refusal to Act Responsibly -*- Due to ACSI's Refusal to Act Responsibly We are blocking all of their domains at the packet level. This block will exist until they modify their policies to conform to existing RFCs and net community standards. We encourage all ISPs and domain holders to do the same. *****************************