Results 1 to 3 of 3
  1. #1
    kimi is offline Member
    Join Date
    Aug 2013
    Rep Power

    Default Java browser proposal

    Hello guys, I was wondering if it is possible to create a web browser that, instead of downloading documents (HTML pages) and formatting them for displaying, downloads classes (JAR?) and executes them in a sandbox. This wouldn't be like applets work now, but something like a "normal" web browser on the lines of

    1- user types an HTTP address to locate the resource (jar files)
    2- browser downloads the file
    3- browser loads and instantiates the JAR classes dynamically
    4- the UI components of the new classes are loaded in a panel within the browser

    The clear advantage of this would be the possibility of running JAVA code on the client immediately and with no plugins or popup windows to ask per user permission.

    The problem of this instead would be how to restrict permissions. I've done some tests with SecurityManager and it works great. The problem I still don't know how to solve is how I could sandbox the UI components after I add them to the browser panel. If I could just tell the browser to "download the JAR and let it use this panel sandbox to load whatever it wants to" I think I would be pretty much set... Perhaps creating a new window (JFrame?) would work instead of loading the components in the browser main window?

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: Java browser proposal

    Are you looking to reinvent Java Web Start?

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    kimi is offline Member
    Join Date
    Aug 2013
    Rep Power

    Default Re: Java browser proposal

    Well, not really actually but something similar though... With web start you place some link to a .jnlp file, then you download it and then the program starts like a normal Java application on its own window. What I'd like to do instead is something like a traditional browser, you type an http address and the application runs automatically in the same window. Basically what the user sees is a Java UI rather than a HTML page.

    In addition, a running application could communicate with the browser to perform some privileged tasks such as accessing a cache or requesting additional web resources. As far as I know this is not possible with applications downloaded with web start as they run with maximum restrictions, and always need to prompt the user for extra privileges.
    Last edited by kimi; 08-30-2013 at 06:09 PM.

Similar Threads

  1. Properties Proposal
    By noctarius in forum Reviews / Advertising
    Replies: 3
    Last Post: 01-05-2013, 05:12 PM
  2. Replies: 0
    Last Post: 11-17-2011, 04:52 AM
  3. THESIS PROPOSAL suggestion
    By ashin in forum New To Java
    Replies: 9
    Last Post: 11-03-2008, 01:26 PM
  4. Thesis Proposal using java
    By chokies12 in forum Jobs Discussion
    Replies: 10
    Last Post: 09-24-2008, 08:26 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts