3

Can we connect a front end java application with server side python application using JSON ?

Comments
  • 1
    Expose an API from python, communicate with it from frontend?
  • 0
    @lotd actually I’m tryin’ to feed the data to machine learning algorithms in the server side which I can do it only in python I guess and my front application is purely based on a java based application
  • 3
    Python flask, make an api, use okhttp in java to lessen the pain.
  • 0
    @BindView thanks buddy
  • 1
    You say JSON, you have the answer! 😂✌️
  • 1
    @htlr yeah but I was bit confused 😂😂
  • 0
    @shekhar12345 just curious and off-topic question, are you training the model everytime you need to predict based on input from frontend?
    Or you are not at all predicting and just training up model?
  • 1
    @github I’m just training the model and generate standard pre defined output according to the client requirement
    For that prediction is not required every time I guess
  • 0
  • 0
    @github I mean one time prediction is more than enough I think so, but I’m not so sure bout’ it now cuz I’m still workin’ on it
Add Comment