667481 members! Sign up to stay informed.

Sponsored Links


Resources

Enterprise Java
Research Library

Get Java white papers, product information, case studies and webcasts

Blogs Blogs Blogs Messages: 5 Messages: 5 Messages: 5 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

Programming Without a Call Stack

Posted by: Kirk Pepperdine on June 09, 2006 DIGG
In his blog, Bruce Snyder reviews Programming Without a Call Stack – Event-driven Architectures by Gregor Hohpe. Gregor is a co-author of Enterprise Integration Patterns which is support by a website to which the document was linked. What Bruce likes about the article is that it really explains the differences between the two models.

One of my favorite discussions in the paper concerns the tracking and analysis of complex events

In that discussion, Gregor makes the observation that events are easily exposed which makes them much easier to track then the traditional mechanisms. The review then segues into a discussion of FUSE, a framework that provides a JBI (JSR-208) container that can manage routing of messages.

A very compelling idea that has come about is that of building more sophisticated business applications on top of FUSE that can analyze business events and act upon them according to a set of rules

Now all Bruce is looking for is his first success story so that will validate his assertion that being able to analyze and act upon business events could be a very valuable addition to an application.

Threaded replies

·  Programming Without a Call Stack by Kirk Pepperdine on Fri Jun 09 06:51:57 EDT 2006
  ·  Re: Programming Without a Call Stack by Steven Shaw on Tue Jun 13 12:58:58 EDT 2006
  ·  Terminology? by Channing Benson on Tue Jun 13 13:30:33 EDT 2006
    ·  Delete! Delete! by Channing Benson on Wed Jun 14 16:09:00 EDT 2006
  ·  Commas, Man! by Dale Seng on Wed Jun 28 20:40:27 EDT 2006
  ·  nothing new in computing by Steve Heath on Tue Jul 11 17:50:01 EDT 2006
  Message #211248 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Programming Without a Call Stack

Posted by: Steven Shaw on June 13, 2006 in response to Message #211011
...his assertion that being able to analyze and act upon business events could be a very valuable addition to an application


Well, I never would have guessed ;)

  Message #211252 Post reply Post reply Post reply Go to top Go to top Go to top

Terminology?

Posted by: Channing Benson on June 13, 2006 in response to Message #211011
Sometimes you wonder....

Why is this "without a call stack" and not simply "event driven". Because god forbid if the initial function or method can't call another function or method.

The title led me to believe the topic was going to be some revolutionary new programming paradigm. Oh well.

  Message #211363 Post reply Post reply Post reply Go to top Go to top Go to top

Delete! Delete!

Posted by: Channing Benson on June 14, 2006 in response to Message #211252
Okay, so I should've read a little further. I retract my original message.

Still it's hard to believe that one would replace the call stack entirely. An interesting idea but a lot of the concepts discussed are not exactly new. Fork/exec for instance to implement the ability to invoke functionality and continue without waiting for a result.

Definitely worth a read.

  Message #212455 Post reply Post reply Post reply Go to top Go to top Go to top

Commas, Man!

Posted by: Dale Seng on June 28, 2006 in response to Message #211011
Commas are cheap Gregor! Otherwise, it was an interesting read.

--Dale--

  Message #213325 Post reply Post reply Post reply Go to top Go to top Go to top

nothing new in computing

Posted by: Steve Heath on July 11, 2006 in response to Message #211011
Aren't there a number of technologies that don't use call stacks?

CPS in Lambda calculus, for example?

Doesn't ObjectiveC use message passing as the function invocation technique?

Pi calculus (although relatively new) involves parallel threads communicating through message channels.

Interesting that things come around again and again. Largely a question of how you want to think and how this best suits the problem at hand.

Featured SectionFeatured SectionFeatured Section
Weekly Blogs UpdateWeekly Blogs UpdateWeekly Blogs Update
Stay current on the most informative blogs in the enterprise Java community. Join TheServerSide.com and sign up for the Blogs Update. Let TheServerSide.com do the work for you -- we scan thousands of blogs to find the ones most worthy of your attention.
Featured BlogsFeatured BlogsFeatured Blogs

Optimizing CMP Performance in Weblogic with Long-term Caching

Dmitri Maximovich has written a blog on optimizing CMP EJB performance in WebLogic, by addressing optimistic concurrency, along with some of the implications of doing so.

Using Lucene with OJB

Brian McCallister looks at the Lucene search engine and shows us how to index and retrieve objects from a sample Student application.

JDK 5 in Practice

Cedric Beust has been in a position to actually code with JDK 5 for over six months. He has written up his thoughts on the new features, and how he has found them to be in practice.

Dear Manager, They Need a Build Machine

Mike Clark has started a series of entries of letters that you wish you could write to your boss. It consists of concepts which seem so obvious to us, but which the bosses don't get.

Are we doing OR mapping wrong?

Brian McCallister has been playing with JDO 2 fetch groups, ZODB, thinking about TranQL, playing with Prevayler, and looking at TORPEDO.

Fear and Testing

Frank talks about fear and how it can derail efforts to find and solve scalability and performance problems. He has seen a lot of fear on his various engagements, and here he talks about why, and how.

Components, Design, and Functions

Brian McCallister has kindly rambled on about IoC, and design in web applications. He discusses what has worked well for him (and others) in the last year.

JDK 1.5 from Joshua and Neal

Matt Raible went to the Denver JUG meeting with Neal Gafter, and Joshua Bloch. They discussed the new features of Java 5, and Matt details the features, and when to use them.
Featured Blogs Archive

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
Java Solutions
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map