- Server side Web Service and XML stacks are not optimised for binary executable size
- That doesn't mean it isn't possible
Anyway so back then we talked about how to get Web Services running on mobile phones (including noting that Web Services != WS-*, it was about the Service design). Around that time I had a Nokia 6310i which was pretty much the first MIDP phone I could get my hands on. It had 30kb available for programme (compiled) space so I set myself a challenge to write something that used Web Services from the phone. If anyone saw the quick code example that Duane did at JavaOne then basically that is what I did. Using a stripped down (very stripped) version of ksoap the little client allowed you to enter a city name, it then returned a list of airport codes related to that name, you could then pick one and it would display the current weather report for that airport. It made two different WS calls and worked perfectly well in 30kb of executable on a mobile phone
Now this isn't best practice WS for many reasons, mainly however because memory and CPU are rarely the biggest issues on modern server infrastructures. The point is therefore what are you trying to save on a server? The answer is support time as that represents the biggest cost. Doing my stripped down WS stack on a server would be mental as it would be practically impossible to support and wouldn't be flexible.
The only bloat that really matters is support bloat and every technology that saves a couple of lines in developer time but adds time to support is a failed technology.
Bloat isn't a code issue on server software, its a support issue.
Technorati Tags: SOA, Service Architecture
2 comments:
The Ruby crowd talking about efficiency ????
Ruby is a nice little language but it is not efficient even Python complete with more bells and whistles than a combined morris dancers and referees convention outperforms Ruby.
I think they have fallen into the old trap of mistaking fewer lines of code for faster smaller programs.
I loved your post !!!
The real challenge is making Web services manageable.
Post a Comment