With WLST becoming popular among WebLogic Administrator, there is a unsaid need for the evolution of best practices with respect to WLST scripting. I am being asked to share information about WLST like a 101 post. But I decided to start a series of post which might help WebLogic Administrators with some must follow best practices rather than writing some introductory post which might duplicate the documentation.
For a complete documentation of WLST see here - http://download.oracle.com/docs/cd/E12840_01/wls/docs103/config_scripting/using_WLST.html
I am writing a series of posts in my public blog space @ http://weblogicserver.blogspot.com and I shall update this post to include all the best practices that I publish there.
WLST-BP-1 Define all the variables in the preamble
WLST-BP-2 Check for existing session before you start one
WLST-BP-3 Check for the resource or configuration existence before creating them
WLST-BP-4 Use definitions for Reuse