Tuesday, 31 August 2010

10 More most useful iPhone tips (Part 1)

Share
Maybe you recall my 10 Most useful iPhone tips series: 10 Most useful iPhone Dev tips (Part 1) and 10 Most useful iPhone Dev tips (Part 2).

Today, after yet another iPhone project I decided to write some more most useful iPhone tips as I'm richer in experience now.

Monday, 30 August 2010

Dynamic Web Services invocations in WS-BPEL

Share
While preparing this simple exercise I found out 2 bugs in Apache software, 1 in CXF and 1 in ODE.

There are two things which allow us to dynamically invoke Web Services in WS-BPEL: 1) using contract first approach when implementing Web Services 2) WS-BPEL allows you to change the EPR of a partnerLink.

These two can be used to dynamically invoke Web Services, for example based on quality and performance factors you can dynamically at runtime pick up the optimal Web Service. And as long as the interface and exchanged messages are the same, you're at home.

Today I'll show you how to do this using ServiceMix4/CXF and Apache ODE.

Wednesday, 11 August 2010

Migrating WS-BPEL processes to OSGi bundles

Share
ServiceMix 4 is an OSGi-based ESB. With Apache ODE feature installed SM 4 can handle deployment and life-cycle of WS-BPEL processes as OSGi bundles.

Today I will show you how to migrate, build, and deploy WS-BPEL OSGi bundles.

Thursday, 5 August 2010

iPhone Three20 problems with telephone links

Share
iPhone API supports tel URL scheme which is used to initiate outgoing calls. You can use this scheme inside your iPhone applications.

Three20 TTNavigator handles many types of URL schemes, but unfortunately it has some issues with telephone links.

Wednesday, 4 August 2010

iPhone Three20 shared views and memory warnings

Share
My current iPhone project uses Three20 framework. It's a very powerful framework thought it was quite difficult to get started.

My project is a tab-based application and view controllers associated with tab bar are shared controllers. During testing it turned out that when my application received memory warnings, the main view of one of the tabs (TTTableViewController with many custom UI controls) was unloading all UI controls apart of table. The table was intact.