WebObjects starting at version 5 was 100% java so it could run on any system running a Java VM, including Mac OS X.
When Apple was selling Xserve then many Apple on
Une services like iTunes, .Mac (ancestor of iCloud), Apple Online Store were running on WebObjects and Xserve thus on OS X server.