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

Thread: Detailed JApplet information

  1. #1
    Member
    Join Date
    Sep 2013
    Posts
    102
    Thanks
    38
    Thanked 0 Times in 0 Posts

    Default Detailed JApplet information

    So, is there any resource that gives in-depth knowledge of the JApplet API? I suppose I could just sort through it myself, but - taking a trip in a foreign land- I would at least appreciate a map and some intel on the natives. Also, I am curious is JSP essentially ran through an applet program on the browser?


    Thanks to all of you people that make this such an invaluable resource.


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,324
    My Mood
    Hungover
    Thanks
    142
    Thanked 624 Times in 535 Posts

    Default Re: Detailed JApplet information

    We've already discussed a lot of this in your previous thread: I need some advice

    JApplets and JSP are two completely different things. JSP is NOT run by an applet. It's run on a server. You seem pretty confused about the basics, so I suggest following the advice we gave you in the previous thread- check out some basic tutorials for html, then move on to server-side technology like JSP, and stop thinking that everything is an applet. Applets are dead anyway.

    There isn't really any such thing as a JApplet API. You can look at the API for the JApplet class, but it's really only a few methods.

    What is your end goal? What are you trying to do?
    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. The Following User Says Thank You to KevinWorkman For This Useful Post:

    KAJLogic (June 23rd, 2014)

  4. #3
    Member
    Join Date
    Sep 2013
    Posts
    102
    Thanks
    38
    Thanked 0 Times in 0 Posts

    Default Re: Detailed JApplet information

    check out some basic tutorials for html

    I guess this confuses me. I don't know what you want me to pick up from html? I understand it is pseudo code for the browser. I'd rather not get lost in the specifics of HTML, but what do you want me to learn from it?

    There isn't really any such thing as a JApplet API. You can look at the API for the JApplet class, but it's really only a few methods.

    Okay, can I see IE's (or chrome) java plug-ins then? I would like to know how these applets are ran beyond the life cycle methods. I just don't know where to look.

    JApplets and JSP are two completely different things. JSP is NOT run by an applet.

    Everywhere I look everyone say's JSP is a technology. What does that mean? Is it open source API, a scripting language for tomcat?
    Last edited by KAJLogic; June 23rd, 2014 at 09:15 AM.

  5. #4
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,324
    My Mood
    Hungover
    Thanks
    142
    Thanked 624 Times in 535 Posts

    Default Re: Detailed JApplet information

    Quote Originally Posted by KAJLogic View Post
    I guess this confuses me. I don't know what you want me to pick up from html? I understand it is pseudo code for the browser. I'd rather not get lost in the specifics of HTML, but what do you want me to learn from it?
    Basically, the only thing that JSP does is output html. It's going to be hard to understand JSP if you don't know anything about html. It seems you're still confused about the difference between an applet and html, which is why I suggest starting with an html tutorial.

    Quote Originally Posted by KAJLogic View Post
    IOkay, can I see IE's (or chrome) java plug-ins then? I would like to know how these applets are ran beyond the life cycle methods. I just don't know where to look.
    Why do you think you need to know that? What applets are you talking about? What do you mean when you say "run beyond the life cycle methods"?

    Quote Originally Posted by KAJLogic View Post
    IEverywhere I look everyone say's JSP is a technology. What does that mean? Is it open source API, a scripting language for tomcat?
    An oversimplification is that JSP files create html for you. That way you can put logic (if statements, for loops, etc) into your webpage. That logic is run on the server and outputs html that the user sees. It has nothing to do with applets. This is the third result for googling "jsp tutorial": JavaServer Pages Technology - The Java EE 5 Tutorial
    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!

  6. The Following User Says Thank You to KevinWorkman For This Useful Post:

    KAJLogic (June 23rd, 2014)

  7. #5
    Member
    Join Date
    Sep 2013
    Posts
    102
    Thanks
    38
    Thanked 0 Times in 0 Posts

    Default Re: Detailed JApplet information

    Basically, the only thing that JSP does is output html. It's going to be hard to understand JSP if you don't know anything about html. It seems you're still confused about the difference between an applet and html, which is why I suggest starting with an html tutorial.
    Let me reassure you I understand what each is. Perhaps I am mistaken, HTML (as I said) is pseudo code for the browser, and an applet is a java plugin to utilize the JVM through the browser.

    Why do you think you need to know that? What applets are you talking about? What do you mean when you say "run beyond the life cycle methods"?

    I just meant I want to see the code that calls on the init() start() paint(Graphics) stop(), and destroy() methods. I want to know this because I learn better when everything is made available to me.


    An oversimplification is that JSP files create html for you. That way you can put logic (if statements, for loops, etc) into your webpage. That logic is run on the server and outputs html that the user sees. It has nothing to do with applets. This is the third result for googling "jsp tutorial": JavaServer Pages Technology - The Java EE 5 Tutorial

    Okay, fine a java programming is running switching HTML etcetera. But, what is JSP then, a collection of classes (API) for doing various tasks? Is it a scripting language that some other language recognizes? This all seems very convoluted, java is a computing language that communicates with the O/S or board to preform tasks. So, JSP can only be a few things; classes or api, a pseudo language interpreted by some other language, or perhaps some driver or JNI addon for server systems?

  8. #6
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,324
    My Mood
    Hungover
    Thanks
    142
    Thanked 624 Times in 535 Posts

    Default Re: Detailed JApplet information

    Quote Originally Posted by KAJLogic View Post
    Let me reassure you I understand what each is. Perhaps I am mistaken, HTML (as I said) is pseudo code for the browser, and an applet is a java plugin to utilize the JVM through the browser.
    And like I said in the previous thread, html is not pseudo code. An applet is not a plugin; it is run by a plugin.

    Quote Originally Posted by KAJLogic View Post
    I just meant I want to see the code that calls on the init() start() paint(Graphics) stop(), and destroy() methods. I want to know this because I learn better when everything is made available to me.
    The source of the JDK is readily available. You can look through that if you're very curious. I'm not sure whether the actual browser plugins are open-source. Google is your friend there.

    Quote Originally Posted by KAJLogic View Post
    Okay, fine a java programming is running switching HTML etcetera. But, what is JSP then, a collection of classes (API) for doing various tasks? Is it a scripting language that some other language recognizes? This all seems very convoluted, java is a computing language that communicates with the O/S or board to preform tasks. So, JSP can only be a few things; classes or api, a pseudo language interpreted by some other language, or perhaps some driver or JNI addon for server systems?
    Did you read the link I posted above? All of this is explained in the JSP tutorials.
    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. The Following User Says Thank You to KevinWorkman For This Useful Post:

    KAJLogic (June 24th, 2014)

Similar Threads

  1. Replies: 0
    Last Post: February 1st, 2013, 11:25 AM
  2. detailed description
    By solipuram29 in forum Java Theory & Questions
    Replies: 4
    Last Post: July 29th, 2012, 07:41 PM
  3. Animation in JApplet
    By Aurin in forum What's Wrong With My Code?
    Replies: 3
    Last Post: January 14th, 2012, 09:18 AM
  4. Sockets in JApplet
    By shrey.haria in forum Java Networking
    Replies: 4
    Last Post: September 5th, 2011, 09:45 AM
  5. Replies: 1
    Last Post: March 28th, 2009, 07:21 AM