The Artima Developer Community
Sponsored Link

Java Buzz Forum
Orchestration for Geeks

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
Brian McCallister

Posts: 1282
Nickname: frums
Registered: Sep, 2003

Brian McCallister is JustaProgrammer who thinks too much.
Orchestration for Geeks Posted: Jun 20, 2005 1:40 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Brian McCallister.
Original Post: Orchestration for Geeks
Feed Title: Waste of Time
Feed URL: http://kasparov.skife.org/blog/index.rss
Feed Description: A simple waste of time and weblog experiment
Latest Java Buzz Posts
Latest Java Buzz Posts by Brian McCallister
Latest Posts From Waste of Time

Advertisement

I have felt, for a long time, that the orchestration/BPEL/quasi-workflow space has been missing a big audience. Right now it is handled almost wholly by flowchart programming at one end, and bpel-in-emacs at the other end (which makes Jelly look nice). The flowchart programming model is painful for anyone that actually knows much programming, and scripting in XML is painful for anyone sane.

Now, the model for this orchestration component is that tech-savvy business analyst types, and non-programmer IT folks, can create reasonable orchestrations. This is fine and dandy. The fact is, however, that in a large number of cases it is actually being done by fairly sophisticated developers. I want to optimize that case. Imagine this:

import http://foo.org/employees.wsdl as employees
import http://foo.org/restaurants.wsdl as food

export start as http://foo.org/find_lunch-spot/

def start(employee_id)
  employee = search.find_employee employee_id
  if employee.xpath("/employee@title") == "Peon"
    return food.find_cheapest
  else
    return food.search_menus_for employee.xpath("/employee/favorites/food")
  end  
end

Which compiles down to BPEL =) May need to add some additional declarations, maybe not. But doesn't this beat a flowchart?

Read: Orchestration for Geeks

Topic: GlassPanes and JFrames Previous Topic   Next Topic Topic: [Jun 10, 2005 09:09 PDT] 8 Links

Sponsored Links



Google
  Web Artima.com   

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