Swap default pool for two virtual servers using java

Hi,

I am quite new to iControl and am trying to swap the default pools of two virtual servers using java.

Has anyone done something similar. I realize this may be very simple using “set_default_pool_name” but if some one has done this can you post the code.

I need this in java and any help is appreciated.