I do not understand what did you mean with "how to use Transient Variables......"
you declare the variable to be transient to prevent it from being serialized at object serialization proccess. thats only.
but you use your transient variable in normal way just like the non transient ones.
you can declare the variable to be transient like that:
private transient int x;
Good Luck
Ahmad Elsafty