Python is recommended for backend development . However, you could use Node. js both for backend as well as frontend development.
Read moreIs Java better for backend?
Java is best used for backend development since its frontend capabilities are limited and require additional frameworks to look more modern. Java is best utilized for: Web applications. Scientific applications and software.
Read more