Posts

Showing posts with the label variables in wsadmin

Jython variables in wsadmin

Image
A warm Welcome to my jython4wsadmin blog!! Variables in programming languages we need to declare on the top of the function or program. When we declare it we need to tell about what type of data we would like to store in the variable. Where as in Scripting languages you don't need to do so. Jython is a scripting language so you don't need to declare the variable. Like any programming language Jython also support variables but these variables looks like scripting variables, they are dynamic. The value that assigned to a variable is going to have an id and label internally it is one of the Python Object type as well. Let me experiment with my simple Jython script to understand more how the variables can be created and used in multi variants. Here the values can be integer, float, long types in numeric data types. Jython Variable inside wsadmin # This program will illustrate the variables of jython. # Integer variable x=5 print 'x=', x, type(x), id(x)...