O'Reilly logo

WebSphere Application Server Administration Using Jython by Noel J. Bergman, Arthur Kevin McGrath, Robert A. Gibson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Jython Classes

Object-oriented programming (OOP) is an enormous concept and unfortunately not the topic of this book. A wealth of information about OOP is available from a variety of other resources. Therefore, this chapter is limited to the syntax and semantics of Jython OOP constructs. However, consider the fact that in Jython we use scripting objects to interact with the WebSphere Application Server environment, and objects are created using classes.

Class Statement

To create an object, you must be able to define the data type for the object. To do so, use the class statement, the simplified syntax for which is shown here:

image

Like ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required