Forum Discussion
Mar 22, 2011
What client language/toolkits are you using for iControl development?
Hi everyone, I was just wondering what client languages/toolkits you all are using for building your iControl apps. Here's my main list in order of the frequency I use them. PowerShell -> ...
L4L7_53191
May 03, 2011Nimbostratus
Chris: yep, that will work just fine and it's a great option. Believe it or not there was actually an experimental implementation of pyControl for Jython written by my old v1 co-author. I don't think it went anywhere, but it most definitely worked. Same goes for Iron Python too...
This approach has some advantages IMO, although I personally prefer python and I like the idea of cPython iControl support so I use cPython and pyControl almost exclusively. At one point this year I had to use Java for a project, so I naturally gravitated to Jython. But when I did I found myself struggling with the native Java stuff a bit too much, so I did it in pure Java to minimize my context-switching between the two languages. But it was also my first stab at Jython.
Anyhow, In the spirit of 'the right tool for the right job', I consider Jython's strengths to be:
1) Java threading is has advantages over Python's (that is, there's no GIL). This helps when/if you need to use threads in a serious way.
2) Java's SOAP support is *really* mature and robust from what I understand. Python's SOAP support has been painful, and the saga continues to this day.
3) Static iControl classes can help load times if that's a concern or if you're dealing with tons of systems. One of the things about the cPython implementation (pyControl) is that it's mostly all done dynamically, which could be either good or bad depending on your situation. But I suspect that Jython overhead may offset this advantage; I'm really not sure and I'd love some perspective on this if you've got it.
4) Java's advantages above combined with Python's friendliness and rapid development make this combo pretty powerful.
Now, that's not to say that pyControl is bad - when you need to crank out useful iControl code it's hard to beat, and it performs / scales well enough for a ton of use cases. But Jython is an excellent option too, as would be a groovy-based iControl wrapper if someone were to take a crack at that ;)
Just my $.02.
-Matt
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects