Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #25200

Re: J2EE

From Arved Sandstrom <asandstrom2@eastlink.ca>
Newsgroups comp.lang.java.programmer
Subject Re: J2EE
References (3 earlier) <kvp1hg$p0p$1@dont-email.me> <522159b8$0$291$14726298@news.sunsite.dk> <kvsi9d$p4b$1@dont-email.me> <52229aee$0$299$14726298@news.sunsite.dk> <kvvd2o$m2v$1@dont-email.me>
Message-ID <K9NUt.34521$Zd2.9242@fx02.iad> (permalink)
Organization Public Usenet Newsgroup Access
Date 2013-09-01 17:09 -0300

Show all headers | View raw


On 09/01/2013 09:48 AM, Martin Gregorie wrote:
> On Sat, 31 Aug 2013 21:39:57 -0400, Arne Vajhøj wrote:
>
>> On 8/31/2013 6:58 AM, Martin Gregorie wrote:
>>> On Fri, 30 Aug 2013 22:49:26 -0400, Arne Vajhøj wrote:
>>>
>>>> Most of JDBC has always been in SE.
>>>>
>>>> Things that in early days should have been in SE but ended up in EE:
>>>> * mail client * web service client * ORM
>>>>
>>>> Things that in later days has been properly put in SE:
>>>> * web service client * JMX
>>>>
>>> FWIW, I mainly use SE Java to write the sort of stuff I'd formerly do
>>> in C, i.e. to get more portability and to take advantage of the larger
>>> standard class library and Swing and friends. The only stuff I've
>>> needed that hasn't been in SE was javamail
>>
>> Web service client and database ORM seems natural in SE context to me.
>> You have not had the need for them, but I think many must have.
>>
> Fair comment.
>
> I haven't needed Web Service yet, though that doesn't mean that I won't
> need it, especially if it can be used to distribute Java applications
> rather than applets. I've nothing against the latter, or wouldn't if
> browser behaviour was a bit more consistent and reliable when running
> them.
>
> I've written a lot of SQL in the past and am happy to use it directly via
> JDBC, so encapsulating that in a class seems more natural to me than
> using the database ORM, but ymmv.
>
>
There's a grey area between using JDBC directly, or using JPA. Sometimes 
- legitimately - the data in your relational DB may just not map well to 
objects, ORM or no ORM. Maybe you just need three coums out of some 
godawful table that is seriously non-relational. JDBC is good for that.

OTOH, the JDBC API wastes my time. I don't mean that it's bad, I mean 
that it's relatively low level. Compared to JPA I just have to spend 
more of my time getting and modifying data than I do with JPA. This is 
the whole point of an ORM solution.

AHS

-- 
When a true genius appears, you can know him by this sign:
that all the dunces are in a confederacy against him.
-- Jonathan Swift

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

J2EE bob smith <bob@coolfone.comze.com> - 2013-08-20 15:47 -0700
  Re: J2EE Lew <lewbloch@gmail.com> - 2013-08-20 16:25 -0700
    Re: J2EE Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2013-08-21 08:40 +0300
      Re: J2EE Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-08-29 08:18 -0300
        Re: J2EE Arne Vajhøj <arne@vajhoej.dk> - 2013-08-29 17:47 -0400
  Re: J2EE Arne Vajhøj <arne@vajhoej.dk> - 2013-08-20 19:26 -0400
  Re: J2EE markspace <markspace@nospam.nospam> - 2013-08-20 17:20 -0700
    Re: J2EE Arne Vajhøj <arne@vajhoej.dk> - 2013-08-20 21:19 -0400
  Re: J2EE lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-08-21 12:08 +0100
  Re: J2EE Gordon Levi <gordon@address.invalid> - 2013-08-22 16:20 +1000
  Re: J2EE Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-08-29 13:26 -0300
    Re: J2EE Arne Vajhøj <arne@vajhoej.dk> - 2013-08-29 17:52 -0400
      Re: J2EE eric@invalid.com (EricF) - 2013-08-30 02:54 +0000
        Re: J2EE Arne Vajhøj <arne@vajhoej.dk> - 2013-08-30 22:49 -0400
          Re: J2EE Martin Gregorie <martin@address-in-sig.invalid> - 2013-08-31 10:58 +0000
            Re: J2EE Arne Vajhøj <arne@vajhoej.dk> - 2013-08-31 21:39 -0400
              Re: J2EE Martin Gregorie <martin@address-in-sig.invalid> - 2013-09-01 12:48 +0000
                Re: J2EE Arne Vajhøj <arne@vajhoej.dk> - 2013-09-01 09:14 -0400
                Re: J2EE Martin Gregorie <martin@address-in-sig.invalid> - 2013-09-01 18:35 +0000
                Re: J2EE Arne Vajhøj <arne@vajhoej.dk> - 2013-09-01 16:45 -0400
                Re: J2EE Martin Gregorie <martin@address-in-sig.invalid> - 2013-09-02 00:10 +0000
                Re: J2EE Arne Vajhøj <arne@vajhoej.dk> - 2013-09-01 20:12 -0400
                Re: J2EE Martin Gregorie <martin@address-in-sig.invalid> - 2013-09-02 19:47 +0000
                Re: J2EE Arne Vajhøj <arne@vajhoej.dk> - 2013-09-02 16:11 -0400
                Java version check and auro-jre download (was Re: J2EE) Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2013-09-03 06:58 +0800
                Re: Java version check and auro-jre download (was Re: J2EE) Arne Vajhøj <arne@vajhoej.dk> - 2013-09-02 19:37 -0400
                Re: Java version check and auro-jre download (was Re: J2EE) markspace <markspace@nospam.nospam> - 2013-09-02 20:00 -0700
                Re: Java version check and auro-jre download (was Re: J2EE) Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2013-09-03 21:00 +0800
                Re: Java version check and auro-jre download (was Re: J2EE) markspace <markspace@nospam.nospam> - 2013-09-03 13:35 -0700
                Re: Java version check and auro-jre download (was Re: J2EE) Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2013-09-04 05:14 +0800
                Re: Java version check and auro-jre download (was Re: J2EE) markspace <markspace@nospam.nospam> - 2013-09-03 18:34 -0700
                Re: Java version check and auro-jre download (was Re: J2EE) Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2013-09-08 19:46 +0800
                Re: Java version check and auro-jre download (was Re: J2EE) Arne Vajhøj <arne@vajhoej.dk> - 2013-09-08 20:28 -0400
                Re: Java version check and auro-jre download (was Re: J2EE) Arne Vajhøj <arne@vajhoej.dk> - 2013-09-08 20:21 -0400
                Re: Java version check and auro-jre download (was Re: J2EE) "John B. Matthews" <nospam@nospam.invalid> - 2013-09-09 01:25 -0400
                Re: Java version check and auro-jre download (was Re: J2EE) Martin Gregorie <martin@address-in-sig.invalid> - 2013-09-09 20:19 +0000
                Re: Java version check and auro-jre download (was Re: J2EE) Arved Sandstrom <asandstrom2@eastlink.ca> - 2014-01-30 12:43 -0400
                Re: Java version check and auro-jre download (was Re: J2EE) Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2013-09-17 19:04 +0800
                Re: J2EE Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-09-01 17:09 -0300
        Re: J2EE eric@invalid.com (EricF) - 2013-08-31 03:13 +0000
        Re: J2EE Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-08-31 22:46 -0300
  Re: J2EE Wendy Devolder <wendy.devolder@skillsmatter.com> - 2013-09-01 07:44 -0700

csiph-web