Skip to content

Introduction

This project aims to provide a better developer experience while developing wsadmin scripts for IBM® Websphere Application Server.

It does so by providing:

  • Autocompletion through the intellisense.
  • Type hints (function parameters and function return types)

This leads to lots of advantages to the developer, such as:

  • Faster development, since you don't need to leave the editor to know what was the name of some method.
  • Less errors, since you don't need to manually re-type the method names and an error will show up if you mistype the methods.

Warning

The wsadmin scripting tool only supports Jython up to 2.7 (some still have Jython 2.1!), so the following requirements must still be satisfied:

  • you MUST use Python 2 syntax (check the Jython version to know which one you'll need to target)
  • some packages available on development environments might not be available or might have some differences.

Make sure to check that your script matches your workplace/environment requirements before submitting it. This package DOES NOT in any way prevent you from writing bugged code, or could even contain old modules not used anymore in the official documentation (since it was originally written for my workplace production environment using Websphere Application Server 8.5.5/9.0 and Jython 2.1).

Always check that your environment requirements/versions are the same as this library.

Here's some screenshots showing the features of this package. The IDE I'm using here is Visual Studio Code.

Image title

Autocompletion for the AdminControl command.

Image title

Type hint for function parameters as well as return types.

Image title

An error will show up if you mistype the method.

Image title

Autocompletion based on the AdminConfig.attributes(...) return type (str).

Disclaimer

This is an unofficial package created for speeding up the development process and is not in any way affiliated with IBM®. All trademarks and registered trademarks are the property of their respective company owners.

The code does not include any implementation detail, and includes only the informations (such as parameter numbers, types and descriptions) publicly available on the official Websphere Application Server® documentation.