Java


Along with PowerShell Perl and Python there is strong support for the Java language when writing iControl applications.

The iControl Library For Java

The iControl Library For Java is a compiled java library that contains everything you need to start writing your iControl application in the Java language. Based on Apache Axis, the library includes helper classes to enable you to write code in as little as three lines. Make sure you download and use it!
Below are a list of Java related resources here on DevCentral.

Tech Tips

The following technical articles have been written that provide examples implemented in Java.

Tech Tip Description
Getting Started With iControl and Java - Setting Up Eclipse The goal here is to give you the directions and tools you need to make the most out of iControl when you are involved with Java development.
Java iControl Objects - LTM Pool This is the first article in a series centered around creating a object library around the various types of iControl objects.
Java iControl Objects - LTM PoolMember This is the second article in a series centered around creating a object library around the various types of iControl objects.
Java iControl Objects - LTM iRule This is the third article in a series centered around creating a object library around the various types of iControl objects.
Java iControl Objects - System Service This is the fourth article in a series centered around creating a object library around the various types of iControl objects.
Automatically adding and removing Java EE applications to pools with iControl Using iControl you can easily instrument your Java EE application to automatically add and remove itself from the appropriate BIG-IP pool. All you need is iControl, your IDE, and a bit of code..
The What and Why of Java Wrappers There are several approaches to implementing iControl in Java, this Tech Tip delves into the reasoning behind the Java Wrappers Project and gives you an idea of what to expect in the future from this add-on.
Failover with iControl part II: The utility In part two of his iControl failover series, Don presents a Java command line utility for simple failover and failback that addresses the DB Key issue.
Tech Tip: iControl options for the Java Programming Language Don talks about the different options for using iControl with Java and gives you ideas on when you might wish to use each.
Video: Java with the iControl API in Eclipse Don walks through using iControl in Eclipse. This video assumes that you have already built the iControl JAR file per the instructions in the API documentation, and then shows you the basic steps needed to call routines on the BIG-IP from your Java code.
A class to handle 64 bit return values in Java This tech tip offers you a small Java class to handle ULong64 return types in Java. It is by no means a complete implementation of everything that you could do with this class, but it will get you well on your way to using ULong64 objects in your applications.
Simple Ways to Make iControl Development Easier with Java Tools. Quick tips to make life easier when writing iControl applications in Eclipse and other Java development tools.
iControl Quickstart For Java For Java developers, this quick start provides the basics for configuring your development platform to begin building iControl applications.

CodeShare Samples

  • Retrieve platform version using iControl Proxy (Java code sample) - Java client code sample uses the iControl Proxy to disable the virtual servers for each device managed by the referenced Enterprise Manager.
  • Java Object Ltm Pool - This Java class will wrap the iControl LTM Pool interface to make it look like an object.
  • Java Object Ltm Pool Member - This Java class will wrap the iControl LTM PoolMember interface to make it look like an object.
  • Java Object Ltm Rule - This Java class will wrap the iControl LTM Rule interface to make it look like an object.
  • Java Object Networking Selfip - This Java class will wrap the iControl Networking::SelfIP interface to make it look like an object.
  • Java Object Statistic Value - This Java class is a helper class for the Java Objects CodeShare entries.
  • Java Object System Service - This Java class will wrap the iControl System Services interface to make it look like an object.
  • Java Pool Member Control - This Java application allows for the graceful shutdown of a pool member. As an added bonus it also allows you to query pools. pool members. pool member status. and enable and disable the po…
  • Java System Info - This Java application illustrates how to query system information from a BIG-IP with Java.
  • Java Trust Provider - This example java class allows access to the JSSE Trust Layer allowing access to self-signed server certificates for HTTPS based SOAP connections.