I am doing the UrlyBird project, the server give each client a new Data instance, so should the Data implements Serializable?( it already implements DBMain, is it allow to implement more than one DBMain interface?) And, inside the Data class, there's a RandomAccessFile object, it doesn't implement Seriliazable, so what should I do? Thanks.
I think I should rewrite my question again (forgive my English): Each client has an own RAF object to access remote database, many people use factory pattern, the server register only one factory, and each client get a database connection using the factory referrence, what's that connection? Is it a new Data object or a wrapped class? I am confused?