In my application, i have a servlet that call EJB. EJB creates a file and now servlet has to download this to user Both EJB and Servlets are on different servers
I have one option that EJB would return the file name to be downloaded and servlet will do FTP to download file(Considering i do all setting for servlet to download file from the server where EJB are deployed)
Do you have any better solution for this problem? Would highly appreciate if you could share some ideas