Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 10 of 10

Thread: Java and JNLP

  1. #1
    Junior Member
    Join Date
    Jan 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Java and JNLP

    Hi ,
    I need help in Java and JNLP as I am new to java.
    problem statement: I want to develop an applet and want include in any webpage and when I run this webpage from any browser then it should download an exe file located on any server and after download the file locally in browser, exe should be automatically executed behind the scene.
    how is this possible? Please help.

    Please send me any code to accomplish this.
    thanks in advance


    Thanks
    Parvendra


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Java and JNLP

    Quote Originally Posted by parvendra View Post
    Hi ,
    I need help in Java and JNLP as I am new to java.
    problem statement: I want to develop an applet and want include in any webpage and when I run this webpage from any browser then it should download an exe file located on any server and after download the file locally in browser, exe should be automatically executed behind the scene.
    how is this possible? Please help.
    What you have described is not exactly trivial, and may not be possible from an applet. Break your problem up into smaller pieces- how do you download a file? How do you run a file? Start small, and don't combine the pieces until you have them working separately.

    Quote Originally Posted by parvendra View Post
    Please send me any code to accomplish this.
    That's not how this works. We can help you with specific technical questions, but nobody is going to write the code for you.
    Last edited by KevinWorkman; January 27th, 2011 at 10:28 AM.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,320
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Java and JNLP

    What it sounds like you want is when a user to visits a webpage, their browser downloads software from said webpage which runs 'behind the scenes' on their computer? Sounds an awful lot like something malicious - spyware, adware, virus. I see little reason to help you unless you prove otherwise.

  4. #4
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Java and JNLP

    Quote Originally Posted by copeg View Post
    What it sounds like you want is when a user to visits a webpage, their browser downloads software from said webpage which runs 'behind the scenes' on their computer? Sounds an awful lot like something malicious - spyware, adware, virus. I see little reason to help you unless you prove otherwise.
    I absolutely agree with this.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  5. #5
    Junior Member
    Join Date
    Jan 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Java and JNLP

    Hi,

    Thanks for your all suggestions.

    1. [KevinWorkman] I agree that no one is going to write a code for me. But this is something what I shared that what is the correct way to do it. I understand the steps you suggested but what exactly need to do? Please consider as I am a PHP developer.

    2. [moderator] I am not any hacker or so. I work in a reputed company and we have developed a system just like GoToMeeting. Now our requirement is to run a webpage ,which would include a applet and it will download our exe file and install it automatically on the user machine. Also, it needs all authentication and security certificate before its being downloaded to someone's machine.

    I hope this clarifies and prove my authenticity.

    Thanks
    Parvendra

  6. #6
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Java and JNLP

    Quote Originally Posted by parvendra View Post
    I agree that no one is going to write a code for me. But this is something what I shared that what is the correct way to do it. I understand the steps you suggested but what exactly need to do? Please consider as I am a PHP developer.
    I told you exactly what to do. Figure out how to download a file in Java. Figure out how to run a .exe, and whether that's possible in an applet. Keep those steps separate until you have them both working perfectly by themselves.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  7. #7
    Junior Member
    Join Date
    Mar 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Java and JNLP

    Three worthless comments (not counting this one) and a "guilty until proven innocent" accusation. Welcome to javaprogrammingforums! Now go "figure out" your problems, it seems they can be broken down into separate steps - yay!

  8. #8
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Java and JNLP

    Quote Originally Posted by qwe View Post
    Three worthless comments (not counting this one) and a "guilty until proven innocent" accusation. Welcome to javaprogrammingforums! Now go "figure out" your problems, it seems they can be broken down into separate steps - yay!
    You joined the forums just to post this worthless negativity? A huge part of programming is breaking problems up into smaller steps. When you get the smaller steps separated, and make an attempt at one of them, we can help. But before that, what can we do? That's going to be true everywhere.

    If I see any more posts like this, I'm going to take moderator action.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  9. #9
    Junior Member
    Join Date
    Mar 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Java and JNLP

    I came to this forum having searched for an issue similar to the originators. The patronising, self-satisfying, accusatory responses encouraged my own worthless negativity.

  10. #10
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,320
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Java and JNLP

    Quote Originally Posted by qwe View Post
    I came to this forum having searched for an issue similar to the originators. The patronising, self-satisfying, accusatory responses encouraged my own worthless negativity.
    If you wish to contribute then by all means do so. If you have a problem, then why not ask your question? If this particular question wasn't answered to your liking, why not try and encourage an answer that does, rather than acting like a Troll. This unproductive banter is going nowhere. Thread locked
    Last edited by copeg; March 4th, 2011 at 10:08 AM.

Similar Threads

  1. JNLP webstart application in localhost
    By Jhovarie in forum Threads
    Replies: 2
    Last Post: February 14th, 2011, 06:53 PM
  2. can't start jnlp file
    By NARs in forum Java Applets
    Replies: 1
    Last Post: December 1st, 2009, 03:25 AM

Tags for this Thread