Monday, April 21, 2008

BízTalk ESB and other fun stuff

I am planning to play around some with the following technologies:

Enterprise library Policy Injection Block. I'll check this one out to see if it in conjunction with the other blocks can solve some of the mundane plumbing I regularly perform. Example of things I would like to have declarative / configuration support for is:

1. Validate parameters.
2. Log parameter values in cause of exception in methods.
3 Log execution time in methods.

I need to check what kind of constraints this puts on my classes. Ideally it should work with PONOs and static methods and be as transparent as possible. I am not convinced that this is the case from what I have read but I just implemented an automatic logging of parameter calls including parameter values and it was pretty cool.

ASP.NET MVC. I need to pick up this one really bad. It is a real pain to implement complex flows in e-commerce apps for instance using regular ASP.NET controls if you just code . This is because of the Post Back model I think.

Micosoft ESB. Using this one in a project and I am in need to adapt some of the code to support the setting of an itinerary programmatically from the BRE for instance inside an orchestration. The problem is that we cannot / do not want to set the itinerary information in the SOAP / WCF header since the message is coming in as file to be picked up by the FILE Adapter. Instead we’ll create an orchestration that subscribes to the message once it is in the message box and sets the itinerary programmatically.

There is lots of cool stuff in this package although you find many of the possibilities it opens up and where to apply them quite confusing. I mean, BTS offered a few options in different areas already before this one. For instance should I use a custom orchestration or itineraries if am doing basic processing? If I am using itineraries in combination with receiving messages from an external system how should the itinerary header be set? If it could be set by an ESB Resolver in the pipeline that would be great I think.

It is really cool that the Patterns & Practices distributes the source for the ESB. I like where Microsoft is going with .NET and I don’t think about switching focus to Java anytime soon although I would love to play with stuff like the upcoming EJB (finally starting to deliver huh?) or ServiceMix.

On another note I need to structure my .NET resources and find more community sites that I feel as passionate for as for the outstanding Java site theserverside.com. Currently I usually check out the following:

theserverside.net
codeplex.
BizTalk blogs from Loesgen and others every now and then. I really like the vivid BizTalk community.
NET Rocks podcasts. I usually listen to this stuff when my eyes are tired from coding but my brain still has some to give J
The Architecture Journal.
BizTalk HotRod.
Microsoft Pattern & Practises.

I would also like to check out the new Microsoft stuff around ORM but it can wait some I guess since I am really happy using NetTiers at the moment. Too little time, too much fun J

No comments: