Java backend interface project

Can Java back-end interface projects be put into smart contracts? Then deploy to Solana public chain to call my java interface?