I am working on a ML project recently. I already trained my data set by Python scripts and these models are placed on disk. But I used Java to write my server program, so whenever I want to use my ML models to calculate something I have to call these py scripts and these py scripts will load these models from disk every time when I called. I think it's a waste but I don't know how to deal with it. Anybody could help me?