To program Could I use only python on digi or could I use java?

I would use java to develop an application to commmunicate from digi to the server Could I do? Or I have to use python?
Thanks

What Digi product do you have?

I have connectport x2E-Z4C-H1-A