Wednesday, July 20, 2011

Using OSGi to explain the difference between Factory and Broker pattern

Osgi in Action: Creating Modular Applications in JavaAfter some heated discussions about OSGi on The Server Side decided to put together a series of articles on the topic. Quite rightly I think, Peter Kriens has the honour of getting the series started. His article on developing modular applications provides one of the clearest explanations of the differences between the Factory and Broker pattern. Put simply, the Factory must know implementation details of what it is creating, while the Broker does not, since it does not really create anything.

Peter's explanation makes it very clear why Factory is good, but just not good enough, for enterprise applications. I hope he contributes more on the series.

2 comments:

H S Consultants said...

I love your blog! You will be in our prayers and thoughts! Nice and informative post on this topic thanks for sharing with us.Thank you


UK Education Consultants

CCTVkarachi said...

Great post, I admire the writing style :) A little off topic here but what theme are you using? Looks pretty cool.


CCTV karachi