0

I have a WEB-application which implements Java Applet technology. Java applet itself is opened from WEB-app and it is a FTP-client which semi-automatically(pre-configured IP, un, pw...) gets a file list from a FTP-server and user selects a file to transfer.

In Applet, the file is downloaded via FTP and then streamed through HTTPS to the WEB-app.

This functionality now needs a replacement as the Applet are no longer supported by majority of the browsers.

My own thought is that this function would be replace with JNLP. As JNLP cannot be embedded into "same session", the upload phase to WEB-app must be implemented differently.

I've been thinking that WEB-app would provide an one-time upload URL which would receive the file and then continue processing it.

What other possibilities I have and what would you recommend?

4
  • Your Question is unclear. Your use of the term "web application" is confusing as that usually means an interactive HTML page not a Java Applet. I cannot tell if your applet Is what you mean by "web-application" or if you mean two separate systems. Please simplify your Question to the minimum of details. Commented Nov 27, 2017 at 8:30
  • Modified the question a little, sure the Applet and WEB-app are separate systems. Commented Nov 27, 2017 at 8:39
  • "My own thought is that this function would be replace with JNLP." Think again. While the majority of browser manufacturers have already removed the Java Plug-In, it seems Oracle is set to deprecate both applets and JNLP in Java 9. Can't everything mentioned above be done using JavaScript? Commented Nov 28, 2017 at 2:32
  • @AndrewThompson Thanks for the pointer for deprecation of JNLP. For what I have understood, the FTP client is quite tricky/non-doable with JavaScript (stackoverflow.com/questions/26946684/…) Commented Nov 28, 2017 at 12:31

1 Answer 1

3

If you want less to no code changes, go with JNLP, otherwise, refactor the view (if your using MVC) to use modern java web technologies such as Servlets, JSPs or JSF.

Sign up to request clarification or add additional context in comments.

2 Comments

Agreed. Specifically for this app I would consider using the Java Servlet based Vaadin Framework.
Problem is not in server side but in client side. Because of network limitations it is required that the FTP-connection would be made from the client side.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.