IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Agree on most points....
>>I'm forming more and more concrete opinions on this recently as I've begun >>working on a system in exchange for equity in a local startup. We acquired >>the system for pennies from another company that folded. It started out on >>WebLogic, but as they got into it they first pitched WL's jdbc connection >>pooling and wrote their own because of an inability to cache prepared sql >>statements.

When we switched to prepared SQL statements on DB2, our performance TRIPLED. So, I think this is HUGE. Prepared SQL statements are exactly how DB2 and Oracle win a lot of performance bakeoffs. The cached statements avoid the statement parser and optimizer, and that makes all the difference in world.

>>They also pitched JSP as being too simplistic and wrote their own html >>template processor. The object to database mapping was written by hand (ie - >>class methods provide meta info to their custom mapping code). Bottom line >>is that WL has been reduced to running servlets. Since we're a startup with >>no funding (everybody has a second job except me), I'm probably going to end >>up moving the thing to Tomcat or Jetty or something free like that.

Here's another thing I agree on. We used servlets first, then JSP, when the CEO didn't like the "look and feel" of the servlet code, and he wanted the creative arts department involved. But, it is clumsy to embed the Java into the HTML, especially when you want "really dynamic" OO pages. I'm really surprised that someone hasn't built a Smalltalk-like OO web tool that would build "dynamic web pages", using objects to assemble the screen dynamically with each request.

I also agree that the highest performance is to keep as much as possible on a single machine, mainly because a in-system call overhead is usually about less than 1 millisecond on newer systems, and between-system overhead is at least 10-15 milliseconds, even on fast networks, similar machnes, with no marshalling. For each method call, it's at least a factor of 10 slower, and probably explains Maggie's 8 second transations on an EJB system.

Glen Austin

New RE: OO Web Tool
I'm really surprised that someone hasn't built a Smalltalk-like OO web tool that would build "dynamic web pages", using objects to assemble the screen dynamically with each request.


They have. Its called WebObjects. Use it once and most of the rest of the web app tool builders look like pikers. You can now use WO as part of your J2EE stack and deploy into existing app servers. So you can just use the presentation layer, or the OO/RDBMS mapping (which does in fact precalculate and prepare most statements it uses). Its only $700 but the tools only run (well) on Macs.

Or you can switch to Smalltalk or Ruby and use Seaside which associates single argument blocks with form elements to let you store the results coming in anyway you like. Both of these make the conventional templating systems look like freshman level projects.



"I believe that many of the systems we build today in Java would be better built in Smalltalk and Gemstone."

     -- Martin Fowler, JAOO 2003
Expand Edited by tuberculosis Aug. 21, 2007, 06:19:40 AM EDT
     Are specialized application servers a good idea? - (ben_tilly) - (18)
         Only comment would be on a comment - (FuManChu) - (1)
             Down that path lies madness - (ben_tilly)
         Re: Are specialized application servers a good idea? - (dshellman) - (1)
             It wasn't meant to be insightful - (ben_tilly)
         I think they are used incorrectly - (tuberculosis) - (2)
             Agree on most points.... - (gdaustin) - (1)
                 RE: OO Web Tool - (tuberculosis)
         Re: Are specialized application servers a good idea? - (slugbug) - (9)
             Speaking of EJBs... (new thread) - (admin)
             That makes sense - (ben_tilly) - (7)
                 Database was... - (kmself) - (6)
                     Um, you have his name way wrong - (ben_tilly) - (5)
                         Wups, fixed. DB... - (kmself)
                         i.e, Jordan, not Tolkien. But, hey, it's easy... - (CRConrad) - (3)
                             True, but Perrin is his real name -NT - (ben_tilly) - (2)
                                 Really? Kewl! First or last? - (CRConrad) - (1)
                                     First -NT - (ben_tilly)
         from a support point of view - (boxley)

Nine for Mortal Chellovecks doomed to snuff it.
127 ms