Convert Java powered web page to stand alone application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zehra Ali
    New Member
    • Nov 2007
    • 1

    #1

    Convert Java powered web page to stand alone application

    I was wondering if anyone knew how one could go about developing a stand alone executable version of a web based application written in Java . Currently we are using Net beans platform. The website for the application is: (http://designadvisor.m it.edu/design/ ).

    I heard c# might be of some use. I would really appreciate any guidelines or references

    Thanks,
    Zehra
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by Zehra Ali
    I was wondering if anyone knew how one could go about developing a stand alone executable version of a web based application written in Java . Currently we are using Net beans platform. The website for the application is: (http://designadvisor.m it.edu/design/ ).

    I heard c# might be of some use. I would really appreciate any guidelines or references

    Thanks,
    Zehra
    What does the application do?
    In Java you want to create .jar files not .exes. They are platform independent.

    Comment

    • comando2929
      New Member
      • Nov 2007
      • 5

      #3
      In my experience, converting a java app to a complete stand alone is pretty simple. All you need to do is modify the code to start from the "public static void main" method and most likely open a frame of some kind. Once the code is complete zip all the necessary files into a "Jar" file using the jar function provided by the Java SDK. Then run it.

      An example of this can be found on my site on the Chat page. This particular application I specifically wrote to run both as an applet and as a application. The web page is the applet version. The complete application can be found at http://freshprogramming.com/java/cha...pplication.jar. (If the file is downloaded as a ".zip" file it must be renamed to ".jar") After downloading the file, simply open it and use the menu to navigate.

      It's pretty simple with some practice.

      Comment

      Working...