5.1 Overview of WebSphere scripting
WAS provides a scripting interface based on the Bean Scripting Framework (BSF) called wsadmin. BSF is an open source project to implement an architecture for incorporating scripting into Java applications and applets. The BSF architecture works as an interface between Java applications and scripting languages. Using BSF allows scripting languages to do the following:
Look up a pre-registered bean and access a pre-declared bean
Register a newly created bean
Perform all bean operations
Bind events to scripts in the scripting language Because wsadmin uses BSF, it can make various Java objects available through language-specific interfaces to scripts. Figure 5-1 shows the major components involved in the wsadmin scripting solution.
Figure 5-1 wsadmin scripting