-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 7/15/10 11:15 , Moandji Ezana wrote: > On Wed, Jul 14, 2010 at 3:52 PM, twitter.com/nfma > <http://twitter.com/nfma> <[email protected] > <mailto:[email protected]>> wrote: > > A year ago I built an app without hibernate, just straight jdbc. > Didn't have to know about hibernate interceptors and transformers > and what not... the code was much easier to follow... I could > cherry pick a lot better where, how and with what to cache and > which strategies to use on locking... I used mostly immutable > objects which also helped a lot on the rest of the code... > > > Did you find that you wrote a simpler object model? On Android, > for example, you have to write SQL, but you wouldn't want a really > complex model or schema on a phone, anyway (IMO). It depends. If complexity means poor performance, I agree. Otherwise, I'd like to have good abstractions (if they work) on a phone as well as every other place. For instance, I'm working hard to have RDF triples in my app, since it's my favourite abstraction now. Since this is a bit of leading edge on Android, I'm going through baby steps and at the moment I''ve got RDF triples read from simple N3 files, while I'll study how to have SQLite as a backing store in August. I'd really like to have a reflection based RDF-OO mapper, as some products that work in JSE, but I fear this could kill the performance, so I have written some ad-hoc marshallers that don't use reflection.
But if somebody showed me a full RDF triple store with all the abstractions perfectly working on SQLite, I wouldn't think twice before using it. - -- Fabrizio Giudici - Java Architect, Project Manager Tidalwave s.a.s. - "We make Java work. Everywhere." java.net/blog/fabriziogiudici - www.tidalwave.it/people [email protected] -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkw+1LAACgkQeDweFqgUGxfhBQCggwplIIuzSYJlLIkn0lhhtxJe ZKEAoIrRULD0GTF0VIVVN/HiRf4avGXv =Puv3 -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
