Is it possible to publish a design doc using the Java API

Apologies if this is documented somewhere that I am just missing.

Yes, see the API documentation.

Hello,

You can find some sample code here:

If you put the viewmode to production the view will be push to production.

Regards
Tug
@tgrall