Some comments on efficient SOA method composition

A couple of posts back I started talking about composing SOAPY operations efficiently, by shipping intent to the service. An interesting debate ensued in my comments: Kristofer (the guy behind the Huagati tools for DBML and EDMX, and it seems a man after my own heart) got all excited and suggested the name LINQ to…

2

And while you are at it… why can’t I compose REST calls?

In my last post I asked why you can’t compose SOA method calls efficiently. With REST services like ADO.NET Data Services having nice uniform URLs too, and a model (aka EDM) why can’t I compose those with my SOA methods too: i.e. expounding on my earlier example: var manager = GetManager(GetDepartment(GetEmployee(“alexj”))); What if I know…

0

Why can’t I efficiently compose method calls in SOA?

Imagine if you have these 3 methods: public Employee GetEmployee(string alias); public Department GetDepartment(Employee employee); public Employee GetManager(Department department); Now imagine if you want to find the Manager of the Department that some Employee (lets say “alexj”) works in. If this was all in one tier it would be a no brainer… Employee manager    …

14

Tip 18 – How to decide on a lifetime for your ObjectContext

One of the most common questions we get is how long should an ObjectContext should live. Options often cited include one per: Function Form Thread Application Plenty of people are asking these types of questions, case in point here is a question on Stackflow. I am sure there are many more buried away on our…

12