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 9 of 9

Thread: Java File to Applet

  1. #1
    Junior Member
    Join Date
    Dec 2011
    Location
    The Universe
    Posts
    10
    My Mood
    Where
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Java File to Applet

    How do you convert a Java file (either .java or .jar) to an applet that can be run from a server?


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Java File to Applet

    The conversion goes the other way. A .java file that defines an applet is used to create a .class file. The .class file in placed in a jar file that can be read from a server.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Dec 2011
    Location
    The Universe
    Posts
    10
    My Mood
    Where
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Java File to Applet

    These files can update databases as other programs use them, by making the databases update in real-time correct?

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Java File to Applet

    Not completely in real-time. There can be network and server delays.
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5
    Junior Member
    Join Date
    Dec 2011
    Location
    The Universe
    Posts
    10
    My Mood
    Where
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Java File to Applet

    Within reason though, right? As in, the other applets could update without having to completely reload the page.

  6. #6
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Java File to Applet

    Update what? reload what page? It all depends on the application.
    If you don't understand my answer, don't ignore it, ask a question.

  7. #7
    Junior Member
    Join Date
    Dec 2011
    Location
    The Universe
    Posts
    10
    My Mood
    Where
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Java File to Applet

    Should I explain my project more? Would that help?

  8. #8
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Java File to Applet

    Do you have any specific java programming questions?
    I know nothing about databases or most servers.
    If you don't understand my answer, don't ignore it, ask a question.

  9. The Following User Says Thank You to Norm For This Useful Post:

    Ace Java 9000 (September 25th, 2012)

  10. #9
    Junior Member
    Join Date
    Dec 2011
    Location
    The Universe
    Posts
    10
    My Mood
    Where
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Java File to Applet

    No, I should probably address this problem to another thread though. Thanks!

Similar Threads

  1. Running a java applet inside a java window?
    By frozen java in forum Java Theory & Questions
    Replies: 3
    Last Post: July 3rd, 2012, 10:55 PM
  2. Accessing an external JAR file using Applet
    By rameshiit19 in forum What's Wrong With My Code?
    Replies: 4
    Last Post: July 28th, 2011, 12:51 AM
  3. Running an Applet With JAR file
    By rameshiit19 in forum What's Wrong With My Code?
    Replies: 4
    Last Post: July 20th, 2011, 07:10 AM
  4. Applet throw ClassNotFound exception when one of the file is recompiled
    By philwei in forum What's Wrong With My Code?
    Replies: 21
    Last Post: July 12th, 2011, 01:21 PM
  5. Replies: 10
    Last Post: January 12th, 2011, 05:48 AM

Tags for this Thread