A bit more of OT inline:
=;o)
> -----Original Message-----
> From: Andrus Adamchik [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 31, 2002 10:50 PM
> To: Jakarta General List
> Subject: RE: J2EE considered harmful
>
>
> At 09:11 PM 1/31/2002 +0100, Paulo Gaspar wrote:
> > (1) Not using that kind of layer does NOT mean that you have to
> > concatenate Strings;
>
> Yes, am pretty sure there are ways to make life easier with SQL,
> sorry for bad comparison.
No reason to be sorry. The traditional approach you pointed is a PITA.
I am just mentioning alternatives.
> See, despite all of the skepticism about O/R mechanisms, I
> believe in this
> approach for one reason - I used a good O/R tool for major
> development for
> about 4 years now. I am talking about WebObjects. I believe this was the
> first application server out there (I think before even the term was
> coined). Now it lives in a relative obscurity since NeXT (the inventor of
> it) was bought by Apple, and Apple has no reputation for "enterprise"
> solutions.
I always read good thinking about WebObjects. I am really getting
curious about it.
> The bottom line here is that developer productivity goes up
> significantly.
> Code produced is incomparably easier to understand and maintain. And
> performance price is not that big (definitely not comparable to
> the impact EJB would make).
UAU! Good performance too?
I did read a lot about its productivity but nothing about
performance.
> > (2) The use of Javabeans is abused.
>
> Totally agree. Still does not make this pattern bad. One use is a
> transport
> mechanism for data between the application parts. Clean and easy
> to understand.
Yes, but I think javabeans should be reserved for complex business
logic where it shines on the clean & easy aspects.
For data transport a lot can be automated in Java using approaches
like the Dynabeans. I mean, code like this:
bean1.field1 = someOtherSource.getObject("field1");
bean1.field2 = someOtherSource.getObject("field2");
...
bean1.field47 = someOtherSource.getObject("field47");
is really dumb and painful.
> **** Sorry for an OT post, this J2EE licensing discussion got a
> bit off hand.
A lot of interesting discussions go on OT all the time.
=;o)
> ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
> - Andrei (a.k.a. Andrus) Adamchik
> http://objectstyle.org
> list email: andrus-jk at objectstyle dot org
> personal email: andrus at objectstyle dot org
Have fun,
Paulo Gaspar
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>