Monday, 26 July 2010

Apache Camel: Load balancing and failover, ActiveMQ failover protocol and durable topic subscribers

Share
The title is so buzz-word loaded that might sound like a quite complex thing. But it's not. Thanks to Apache Camel.

Let's get rolling.

Friday, 16 July 2010

Celebrating 100,000 visitors to my blog!

Share
All,

I am happy to announce that my blog's counter hit 100,000 unique visitors a few weeks ago. I'm so busy with my current iPhone project I missed that completely :)

Thanks for reading my blog. I'm happy that many of you find my articles/posts/examples useful in your daily work. I see many of your comments below my posts as well as lots of e-mails from you.

My blog in numbers:
The 3 most popular posts are:
  1. Apache Tomcat clustering, load balancing, failover, session replication, and optimisation - 4,808
  2. Session sharing in Apache Tomcat - 3,281
  3. Spring and Hibernate Annotations - 3,063

A big thank you!

stay tuned,
Łukasz

Tuesday, 13 July 2010

Apache Camel: human interaction and business processes

Share
The most interesting part of IT systems is where computers interact not with other computers but with humans. Still there are many places where people are integral part of the business process. Today I will show you few examples.

Tuesday, 6 July 2010

iPhone and development HTTPS certificates

Share
For the last 7 months I'm involved in iPhone development.

Currently I'm writing a software for an Online Estate Agent. The software I'm writing uses RESTful Web Services extensively. The application is in a stage we would like to show to our customer. So we exposed our RESTful Web Services over our corporate firewall using HTTPS.

Our dev server is iphone.example.org, we have a valid certificate for *.example.org, but it's being rejected by the iPhone.

The solution for this problem was pretty simple (but it can be used only in dev!). All I had to do was create a new category of NSURLRequest and implement static private allowsAnyHTTPSCertificateForHost:host method. The complete source code looked like this:

@implementation NSURLRequest (AllowsAnyHTTPSCertificate) 
+ (BOOL)allowsAnyHTTPSCertificateForHost:(NSString *)host {
 return YES;
} 
@end

Hope it saves some of you time :)

cheers,
Łukasz