Results 1 to 7 of 7

Thread: Java Web Start application to convert applet

  1. #1
    Join Date
    Jan 2010
    Posts
    56

    Java Web Start application to convert applet

    We have developed a web start application and think about to convert them to an applet. The Webstart application itself requires Internet connectivity and we have found no way to share the Internet connection of the browser as a Webstart application so independently of the browser is running. This means that a user enter both in the Web Start-Settings and in the settings of our application's proxy information, it must have an Internet connection can be built from the application. This would disappear if we would use instead of a web start applet. Now imagine me a few questions about Applets (in the area I have little experience):
    • Can an Applet reference several additional jars to resources (classes, diagrams, etc) straight from libraries?
    • Can I reload an applet in native libraries (JNI)?
    • Can we do any changes in an applet on local data outside the sandbox. Signature is present. Appear to be any warnings to the user?
    • Can be opened by an applet from a further swing dialog or is it limited to a total of a dialogue?
    Thanks in advance for your answers!!

  2. #2
    Join Date
    Feb 2009
    Posts
    105

    Re: Java Web Start application to convert applet

    First of all applets have a completely different life cycle. Furthermore, different applets, and "not normal" applications in the Java classloading. Both work in a sandbox and only if it appropriately signed and rights they are, they can break out of this sandbox. Ah yes the BP, an applet may, if it is signed correctly make on your local box everything you implementing. And of course you can from an applet out n open as many dialogues.

  3. #3
    Join Date
    Jan 2009
    Posts
    143

    Re: Java Web Start application to convert applet

    The Webstart application itself requires Internet connectivity and we have found no way to share the Internet connection of the browser as a Webstart application so independently of the browser is running. This means that a user enter both in the Web Start-Settings and in the settings of our application's proxy information, it must have an Internet connection can be built from the application.
    I can not agree, as you very well on Java Web Start can read the proxy information, they will be saved so as by IE in the registry. Problem in JNI accessed is that they usually offer the user has not added a dll to be, and there we have it again with the security and anxious DACs ....

  4. #4
    Join Date
    Jan 2010
    Posts
    56

    Re: Java Web Start application to convert applet

    I can not agree, as you very well on Java Web Start can read the proxy information, they will be saved so as by IE in the registry. Problem in JNI accessed is that they usually offer the user has not added a dll to be, and there we have it again with the security and anxious DACs ....
    Yes, that is from Java 1.5 and I have in there via reflection in my 1.4er code. The proxy detection works, unfortunately only when is selected in the Java settings in the Proxies "Browser Settings". Unfortunately this is not all users of the case. On Mac OS, it works in most cases not even exist. When I run the code instead of as an applet, I have the proxy problem but definitely not, right? Now, the relation now with applets as well as with Webstart? If so, then I see no problem, because a signed jar which contains a native Librarary is indeed not perceived by a user in a special way. My Webstart application contains a native library that reads the Outlook address contacts.

  5. #5
    Join Date
    Dec 2009
    Posts
    59

    Re: Java Web Start application to convert applet

    If I interpret correctly, then the application is running inside the intranet of your company and there is a proxy set up. If so, why is it a problem that the user must have set your proxy settings. If this is not made by Policy? Can use the Java Preferences browser settings are not set automatically, or if it is not, you can not then expect the users? Is it a time thing?

  6. #6
    Join Date
    Jul 2006
    Posts
    289

    Re: Java Web Start application to convert applet

    Do in your applet code (I assume it is a Swing Applet (JApplet applet and not), since there was previously a WebstartApplication) Just play a new JFrame (). setVisible (true);
    Yes, the window is separately from the browser window. Oh yes, and the life cycle refers to the fact that you probably now the code begins in a Main method.

  7. #7
    Join Date
    Aug 2006
    Posts
    227

    Re: Java Web Start application to convert applet

    This is the Software is a product that can come in many different environments are used and we try to make as little effort for the user needed. Webstart course, has its advantages, but an applet would in any case, zero-config bootable. Applets have some disadvantages: The code must be each time reloaded the software is not independent of the browser (a browser crash kills course, the applet).

Similar Threads

  1. How to run java applet program using cmd
    By Rao's in forum Software Development
    Replies: 3
    Last Post: 07-01-2012, 03:35 PM
  2. Zoom in on a Java Applet?
    By Bharata in forum Software Development
    Replies: 6
    Last Post: 21-10-2010, 07:01 AM
  3. Java applet errors
    By Harpreet Gaur in forum Software Development
    Replies: 5
    Last Post: 12-01-2010, 12:08 PM
  4. How to launch an application using Java Web Start
    By Anathakrishnan in forum Software Development
    Replies: 3
    Last Post: 28-04-2009, 02:31 PM
  5. Refresh Java Applet
    By Brake Fail in forum Software Development
    Replies: 6
    Last Post: 16-03-2009, 10:02 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,951,812.46426 seconds with 17 queries