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: Help me validate or break my conceptions of web technology

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

    Default Help me validate or break my conceptions of web technology

    In my head it works like this:

    The browser requests a html document from a directory, then reads it and runs as directed. However, for the browser to be able to retrieve information on their system they must have CGI to handle these sorts of request now I believe one way is to use mysql. Essentially mysql is a C (++ or # not sure) database program. The browser sends the CGI a generic type request for a directory, and if the CGI or database management program reads and allows such a request the browser receives the information.


    Assuming this is right generally, my problem is I don't have the terms to research this properly. Also, I don't know the standards. The only way I can write to my web server is to run a program of my own to listen for request, or to use the same FTP that filezilla does. I guess what I want to know is what are the standards for requesting server information. There must be universal standards for not just requesting information, but inputting passwords etcetera. What are the names of these interactions between CGIs and client side programs; I mean there must be some sort of field/discipline around the interaction there? Imagine all the browsers in different languages trying to communicate to all different types of databases, I wouldn't be surprised if there is a whole scripting language dedicated to the universal interaction between server side clients side programs (like an ASCII).


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Help me validate or break my conceptions of web technology

    browser requests a html document from a directory,
    I'd change that to:
    browser requests the server to read a html document from a directory

    Has CGI be replaced by JSP, etc?

    If you want to look at some very old code that I wrote to learn about servers, take a look at this:
    http://normsstuff.zxq.net/NormsJavaT...TTPServer.html
    If you don't understand my answer, don't ignore it, ask a question.

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

    KAJLogic (July 9th, 2014)

  4. #3
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Help me validate or break my conceptions of web technology

    Apache should also be a good resource for source code, concepts, and vocabulary to help you understand and be able to talk about the topics you're studying. I don't know exactly which of their many client-server program to point you to to answer the questions you've posed, but you could start with Tomcat and go from there.

  5. The Following User Says Thank You to GregBrannon For This Useful Post:

    KAJLogic (July 9th, 2014)

  6. #4
    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: Help me validate or break my conceptions of web technology

    I guess what I want to know is what are the standards for requesting server information. There must be universal standards for not just requesting information, but inputting passwords etcetera.
    Perhaps read up upon HTTP (S)
    Hypertext Transfer Protocol - Wikipedia, the free encyclopedia
    HTTP Secure - Wikipedia, the free encyclopedia

  7. The Following User Says Thank You to copeg For This Useful Post:

    KAJLogic (July 9th, 2014)

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

    Default Re: Help me validate or break my conceptions of web technology

    Perhaps read up upon HTTP (S)
    Hypertext Transfer Protocol - Wikipedia, the free encyclopedia
    HTTP Secure - Wikipedia, the free encyclopedia
    I am going to be reading through those and will get back to you when I have digested it. Thanks, I don't know why I didn't think of that where better to start that is the universal protocol I was looking for duh.




    but you could start with Tomcat and go from there.
    I will look into that, especially sense as an avid java user I'm sure I will end up going there (no need to re-invent the wheel).



    If you want to look at some very old code that I wrote to learn about servers, take a look at this:
    http://normsstuff.zxq.net/NormsJavaT...TTPServer.html

    Where is the code that interprets the browsers/clients request? (I've downloaded an am going through your jar).



    Also, for a program like filezilla is there server side components (as in to specifically deal with filezilla's request), or does filezilla simply have a generic communication technique (E.G: it can communicate with standard server CGI)?

    *edit* uses serverside components.
    Last edited by KAJLogic; July 10th, 2014 at 04:26 PM.

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

    Default Re: Help me validate or break my conceptions of web technology

    The questions I wrote above still stand, but I have another one-that doesn't warrant a whole new thread. I was wondering why use a namserver instead of the url one already uses? For example, java.com -> a20-65.akam.net -> 2.22.230.65, why not cut out the middle man and have java.com point to a server that can translate it to its ip address (2.22.230.65)?

  10. #7
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Help me validate or break my conceptions of web technology

    Where is the code that interprets the browsers/clients request?
    The source is in a zip file.
    If you don't understand my answer, don't ignore it, ask a question.

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

    KAJLogic (July 12th, 2014)

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

    Default Re: Help me validate or break my conceptions of web technology

    The source is in a zip file.
    I know, I unpacked it I was wondering where the code actually interprets request (what class), but I found it thanks, by the way, for this code it is helpfull.

  13. #9
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Help me validate or break my conceptions of web technology

    It's very old and has lots of quick and dirty bits to it that I added to try various things.
    I have used it and still use it for testing and debugging applets and client code.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. My break seems to be broken.
    By papadilbert in forum Loops & Control Statements
    Replies: 8
    Last Post: April 11th, 2014, 01:00 PM
  2. How do I make a break in this?
    By JavaA123Chris in forum What's Wrong With My Code?
    Replies: 1
    Last Post: September 28th, 2013, 06:10 PM
  3. Support with new web-app powered by Jetty / Push technology
    By Michael Zyskowski in forum The Cafe
    Replies: 0
    Last Post: September 26th, 2013, 09:54 AM
  4. Regarding java Web Start Technology
    By sujas in forum Java Theory & Questions
    Replies: 1
    Last Post: May 4th, 2011, 07:44 AM
  5. Break it down
    By [Kyle] in forum Java Theory & Questions
    Replies: 5
    Last Post: September 19th, 2009, 09:04 PM