Applet/JNLP on Java 11 migration











up vote
3
down vote

favorite
1












I have an application that runs under Java/JNLP applet and I would like to migrate to Java 11.



As you know the applets and JNLP will disappear from Java 11.



The goal is to keep my old code and remove the packages that contain the applets, is it possible to do this migration without switching to a new technology?










share|improve this question
























  • "is it possible to do this migration without switching to a new technology?" No.
    – Andrew Thompson
    Aug 23 at 22:54















up vote
3
down vote

favorite
1












I have an application that runs under Java/JNLP applet and I would like to migrate to Java 11.



As you know the applets and JNLP will disappear from Java 11.



The goal is to keep my old code and remove the packages that contain the applets, is it possible to do this migration without switching to a new technology?










share|improve this question
























  • "is it possible to do this migration without switching to a new technology?" No.
    – Andrew Thompson
    Aug 23 at 22:54













up vote
3
down vote

favorite
1









up vote
3
down vote

favorite
1






1





I have an application that runs under Java/JNLP applet and I would like to migrate to Java 11.



As you know the applets and JNLP will disappear from Java 11.



The goal is to keep my old code and remove the packages that contain the applets, is it possible to do this migration without switching to a new technology?










share|improve this question















I have an application that runs under Java/JNLP applet and I would like to migrate to Java 11.



As you know the applets and JNLP will disappear from Java 11.



The goal is to keep my old code and remove the packages that contain the applets, is it possible to do this migration without switching to a new technology?







java jnlp japplet






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 23 at 22:53









Andrew Thompson

152k27162336




152k27162336










asked Aug 23 at 8:26









NF38

869




869












  • "is it possible to do this migration without switching to a new technology?" No.
    – Andrew Thompson
    Aug 23 at 22:54


















  • "is it possible to do this migration without switching to a new technology?" No.
    – Andrew Thompson
    Aug 23 at 22:54
















"is it possible to do this migration without switching to a new technology?" No.
– Andrew Thompson
Aug 23 at 22:54




"is it possible to do this migration without switching to a new technology?" No.
– Andrew Thompson
Aug 23 at 22:54












3 Answers
3






active

oldest

votes

















up vote
1
down vote













Yes and No.



Yes you can keep your java business logic and data handling code (presumed you did a clean separation of your application layers). E.g. just convert to a standalone java app and you're fine.



No, if you look for something to run in the webbrowser then you have to migrate to JavaScript/HTML/JSF/GWT... on the frontend and your java code running on the backend (JEE or Servlets ...).



Regarding the "No", it depends on what kind of application you have. A web application or a standalone application?



(1) For a web application you have to recreate the front end part (UI, communication with the server) but you can reuse parts of your logic.



(2) For a standalone application (using Swing/AWT/JavaFX ...) you can keep your code, just create a standalone app out of it. For distribution e.g. JavaFX offers an application packaging mechanism.



PS: The quickest way could be the conversion to the webstart technology however it was also deprecated and will be also be removed in future. So I would not use it.






share|improve this answer




























    up vote
    1
    down vote













    One solution might be the WebStart replacement that Karakun is currently working on: https://dev.karakun.com/webstart/



    Currently it is not clear when and how this will come since it is based on a kind of crowd-founding but since everyone can get involved (even with low cost) this is a very good possibility.






    share|improve this answer





















    • Ah didn't know - interesting project!
      – Lonzak
      Nov 8 at 14:01


















    up vote
    0
    down vote



    accepted










    Finally, I chose Swing with Getdown which resembles JNLP.



    A migration to a JEE/Spring solution would have completely modified the operation of my application and still take a lot of time. Tip: try it for yourself Getdown.






    share|improve this answer























    • That is why I mentioned that it depends on your type of appliation. Compare my remark (2). And if getdown helps you in keeping your app up-to-date then perfect!
      – Lonzak
      Nov 22 at 16:48











    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51981336%2fapplet-jnlp-on-java-11-migration%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    Yes and No.



    Yes you can keep your java business logic and data handling code (presumed you did a clean separation of your application layers). E.g. just convert to a standalone java app and you're fine.



    No, if you look for something to run in the webbrowser then you have to migrate to JavaScript/HTML/JSF/GWT... on the frontend and your java code running on the backend (JEE or Servlets ...).



    Regarding the "No", it depends on what kind of application you have. A web application or a standalone application?



    (1) For a web application you have to recreate the front end part (UI, communication with the server) but you can reuse parts of your logic.



    (2) For a standalone application (using Swing/AWT/JavaFX ...) you can keep your code, just create a standalone app out of it. For distribution e.g. JavaFX offers an application packaging mechanism.



    PS: The quickest way could be the conversion to the webstart technology however it was also deprecated and will be also be removed in future. So I would not use it.






    share|improve this answer

























      up vote
      1
      down vote













      Yes and No.



      Yes you can keep your java business logic and data handling code (presumed you did a clean separation of your application layers). E.g. just convert to a standalone java app and you're fine.



      No, if you look for something to run in the webbrowser then you have to migrate to JavaScript/HTML/JSF/GWT... on the frontend and your java code running on the backend (JEE or Servlets ...).



      Regarding the "No", it depends on what kind of application you have. A web application or a standalone application?



      (1) For a web application you have to recreate the front end part (UI, communication with the server) but you can reuse parts of your logic.



      (2) For a standalone application (using Swing/AWT/JavaFX ...) you can keep your code, just create a standalone app out of it. For distribution e.g. JavaFX offers an application packaging mechanism.



      PS: The quickest way could be the conversion to the webstart technology however it was also deprecated and will be also be removed in future. So I would not use it.






      share|improve this answer























        up vote
        1
        down vote










        up vote
        1
        down vote









        Yes and No.



        Yes you can keep your java business logic and data handling code (presumed you did a clean separation of your application layers). E.g. just convert to a standalone java app and you're fine.



        No, if you look for something to run in the webbrowser then you have to migrate to JavaScript/HTML/JSF/GWT... on the frontend and your java code running on the backend (JEE or Servlets ...).



        Regarding the "No", it depends on what kind of application you have. A web application or a standalone application?



        (1) For a web application you have to recreate the front end part (UI, communication with the server) but you can reuse parts of your logic.



        (2) For a standalone application (using Swing/AWT/JavaFX ...) you can keep your code, just create a standalone app out of it. For distribution e.g. JavaFX offers an application packaging mechanism.



        PS: The quickest way could be the conversion to the webstart technology however it was also deprecated and will be also be removed in future. So I would not use it.






        share|improve this answer












        Yes and No.



        Yes you can keep your java business logic and data handling code (presumed you did a clean separation of your application layers). E.g. just convert to a standalone java app and you're fine.



        No, if you look for something to run in the webbrowser then you have to migrate to JavaScript/HTML/JSF/GWT... on the frontend and your java code running on the backend (JEE or Servlets ...).



        Regarding the "No", it depends on what kind of application you have. A web application or a standalone application?



        (1) For a web application you have to recreate the front end part (UI, communication with the server) but you can reuse parts of your logic.



        (2) For a standalone application (using Swing/AWT/JavaFX ...) you can keep your code, just create a standalone app out of it. For distribution e.g. JavaFX offers an application packaging mechanism.



        PS: The quickest way could be the conversion to the webstart technology however it was also deprecated and will be also be removed in future. So I would not use it.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 27 at 9:40









        Lonzak

        4,71023057




        4,71023057
























            up vote
            1
            down vote













            One solution might be the WebStart replacement that Karakun is currently working on: https://dev.karakun.com/webstart/



            Currently it is not clear when and how this will come since it is based on a kind of crowd-founding but since everyone can get involved (even with low cost) this is a very good possibility.






            share|improve this answer





















            • Ah didn't know - interesting project!
              – Lonzak
              Nov 8 at 14:01















            up vote
            1
            down vote













            One solution might be the WebStart replacement that Karakun is currently working on: https://dev.karakun.com/webstart/



            Currently it is not clear when and how this will come since it is based on a kind of crowd-founding but since everyone can get involved (even with low cost) this is a very good possibility.






            share|improve this answer





















            • Ah didn't know - interesting project!
              – Lonzak
              Nov 8 at 14:01













            up vote
            1
            down vote










            up vote
            1
            down vote









            One solution might be the WebStart replacement that Karakun is currently working on: https://dev.karakun.com/webstart/



            Currently it is not clear when and how this will come since it is based on a kind of crowd-founding but since everyone can get involved (even with low cost) this is a very good possibility.






            share|improve this answer












            One solution might be the WebStart replacement that Karakun is currently working on: https://dev.karakun.com/webstart/



            Currently it is not clear when and how this will come since it is based on a kind of crowd-founding but since everyone can get involved (even with low cost) this is a very good possibility.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Sep 18 at 8:02









            Hendrik Ebbers

            1,6691121




            1,6691121












            • Ah didn't know - interesting project!
              – Lonzak
              Nov 8 at 14:01


















            • Ah didn't know - interesting project!
              – Lonzak
              Nov 8 at 14:01
















            Ah didn't know - interesting project!
            – Lonzak
            Nov 8 at 14:01




            Ah didn't know - interesting project!
            – Lonzak
            Nov 8 at 14:01










            up vote
            0
            down vote



            accepted










            Finally, I chose Swing with Getdown which resembles JNLP.



            A migration to a JEE/Spring solution would have completely modified the operation of my application and still take a lot of time. Tip: try it for yourself Getdown.






            share|improve this answer























            • That is why I mentioned that it depends on your type of appliation. Compare my remark (2). And if getdown helps you in keeping your app up-to-date then perfect!
              – Lonzak
              Nov 22 at 16:48















            up vote
            0
            down vote



            accepted










            Finally, I chose Swing with Getdown which resembles JNLP.



            A migration to a JEE/Spring solution would have completely modified the operation of my application and still take a lot of time. Tip: try it for yourself Getdown.






            share|improve this answer























            • That is why I mentioned that it depends on your type of appliation. Compare my remark (2). And if getdown helps you in keeping your app up-to-date then perfect!
              – Lonzak
              Nov 22 at 16:48













            up vote
            0
            down vote



            accepted







            up vote
            0
            down vote



            accepted






            Finally, I chose Swing with Getdown which resembles JNLP.



            A migration to a JEE/Spring solution would have completely modified the operation of my application and still take a lot of time. Tip: try it for yourself Getdown.






            share|improve this answer














            Finally, I chose Swing with Getdown which resembles JNLP.



            A migration to a JEE/Spring solution would have completely modified the operation of my application and still take a lot of time. Tip: try it for yourself Getdown.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Nov 22 at 16:50









            Lonzak

            4,71023057




            4,71023057










            answered Nov 21 at 10:36









            NF38

            869




            869












            • That is why I mentioned that it depends on your type of appliation. Compare my remark (2). And if getdown helps you in keeping your app up-to-date then perfect!
              – Lonzak
              Nov 22 at 16:48


















            • That is why I mentioned that it depends on your type of appliation. Compare my remark (2). And if getdown helps you in keeping your app up-to-date then perfect!
              – Lonzak
              Nov 22 at 16:48
















            That is why I mentioned that it depends on your type of appliation. Compare my remark (2). And if getdown helps you in keeping your app up-to-date then perfect!
            – Lonzak
            Nov 22 at 16:48




            That is why I mentioned that it depends on your type of appliation. Compare my remark (2). And if getdown helps you in keeping your app up-to-date then perfect!
            – Lonzak
            Nov 22 at 16:48


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51981336%2fapplet-jnlp-on-java-11-migration%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            What visual should I use to simply compare current year value vs last year in Power BI desktop

            Alexandru Averescu

            Trompette piccolo