Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #2541
| Date | 2011-03-29 17:05 +0200 |
|---|---|
| From | Silvio <silvio@moc.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: ORM or JDBC? |
| References | (9 earlier) <impupe$ae5$1@news.onet.pl> <imq0pa$7b2$1@news.albasani.net> <imq7cm$b2r$1@news.onet.pl> <4d9186df$0$41114$e4fe514c@news.xs4all.nl> <8189bddb-1e17-428a-96ca-4c0ae5dabacc@d19g2000yql.googlegroups.com> |
| Message-ID | <4d91f52b$0$81482$e4fe514c@news.xs4all.nl> (permalink) |
On 03/29/2011 12:06 PM, Alessio Stalla wrote: [snip] > If you skip the domain model part, and pretend the GUI is the model of > your application, then you're simply not doing Object-Oriented > Programming. That is not a crime, mind you, but then I don't > understand why you're using Java in the first place. > > Alessio I could not disagree more. There is no "one ultimate OO way" of doing things. Nor is it clear cut whether any program fragment is "OO" or not. Neither does OO mean you have to have an object model that is separate from the UI (or any other part of the system). Why would coupling an object model to the UI be any worse than coupling it to the database? In most cases I would strive to decouple it from both. OO is a programming methodology, just like functional programming and even procedural programming. Neither methodology prescribes a single solution for any problem. And I am not using Java (which I consider only a weakly Object Oriented language). I program in Scala but I am using the JVM and my share of Java libraries.
Back to comp.lang.java.programmer | Previous | Next | Find similar
Re: ORM or JDBC? Silvio <silvio@moc.com> - 2011-03-29 17:05 +0200
csiph-web