The Artima Developer Community
Sponsored Link

Agile Buzz Forum
This explains a lot

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
This explains a lot Posted: Dec 24, 2003 8:55 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: This explains a lot
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement
Ted Neward points out some of the reasons why there are performance issues with many EJB applications - it has to do with developers following the rules laid out in the spec in all cases. Ted states that you hav eto know when to vary from the rules, and has this to say on the subject:

To truly criticize the EJB Specification without understanding why they made up those crazy, arcane rules is where the real crime comes in. The architect in Bob's story is committing an evil sin, to be sure, but so are you if you just take away the idea that you never want to use EJB. EJB solves one problem very very well--that of handling distributed transactional processing--in a fashion that's intended to be a very scalable model IF you play by their rules. And let's look at what those rules ultimately leave you with: a collection of objects that don't look like objects at all, but instead look more like a bunch of procedures collected together into lexical scopes (in the case of stateless session beans) or loosely-related objects (in the case of stateful session beans). MDBs fall into the lexical scope scenario, and entities were just a bad idea to begin with, so I'm not even going to consider them. (They should have been something hidden away within the implementation of the session or message bean, rather than something that could be seen outside of the container itself. Much like JDO accessed through a Connector, in fact.)

Basically, the problem comes in when you try to use EJB as distributed object technology. Funny that you might try that with an allegedly OO language :) This ties in with the comments by Anders Hejlsberg I stumbled across the other day - the ones where he states that OO and distribution are at odds with each other. Having looked at the way we do Opentalk in VisualWorks, I don't think that's true. What might well be the case is that OO and static languages attempting to do distributed objects are at odds with each other...

Read: This explains a lot

Topic: Some painful truths about web apps Previous Topic   Next Topic Topic: More on J2EE

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use