Results 1 to 7 of 7

Thread: Java newby

  1. #1
    Join Date
    Jan 2008
    Posts
    4
    Rep Power
    0

    Default Java newby

    Hi. I am new to java. I have taken two introductory classes, which taught me very little, and we only worked with applications. Now, my job needs me to be able to write a program as soon as I can. I need it to be deployed on an iSeries, read input and use SQL to search and retrieve results from a datafile or two, display the results on a different screen, and run in internet explorer (I guess that means an applet). I really don't know where to start. I'm reading this teach yourself Java in 21 days book, but it seems like I'm learning about everything but what I need to (arrays, casting, etc.) I need a resource that will explain the necessary concepts as if to a beginner. Is there any of this out there, or can you guys offer any suggestions?

  2. #2
    CaptainMorgan's Avatar
    CaptainMorgan is offline Moderator
    Join Date
    Dec 2007
    Location
    NewEngland, US
    Posts
    835
    Rep Power
    8

    Default

    Welcome violin :)

    I need a resource that will explain the necessary concepts as if to a beginner.
    Absolutely, see Sun for a great track for beginning.

    See you around!
    Vote for the new slogan to our beloved Java Forums! (closes on September 4, 2008)
    Want to voice your opinion on your IDE/Editor of choice? Vote now!
    Got a little Capt'n in you? (drink responsibly)

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Make clear steps of your project first, what should done first, what is next and so on. Then try to find the solutions. Don't think about the project as a bulk. If you make clear steps, all the solutions need are in the Suns' official web site. And also you can find a lot on web search.

  4. #4
    Join Date
    Jan 2008
    Posts
    4
    Rep Power
    0

    Default

    Thanks for the links. I have used the java website before to look up API documentation. I guess I thought that since it was so difficult for me to understand that the tutorials would be also. Really, they use the most basic language that I've found. I'm reading through the tutorials now, but I need to get my direction pinned down. So, I have a few further questions that I don't think will be addressed in the tutorials until much later. I would like to be able to report to my boss the specific path that I will be taking.

    1. If the program needs to be run in an internet browser, does that automatically mean that it needs to be an applet?
    2. Can I do the same things in an applet as I can in an application? Most of what I have seen of applets are simple pictures or other graphical objects that are inserted into HTML. Is it possible for the applet to be a full interactive program?
    4. Will I need to use JDBC or something else like Hibernate to access the data?
    Last edited by violinssoundcool; 01-18-2008 at 04:22 PM.

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by violinssoundcool View Post
    1. If the program needs to be run in an internet browser, does that automatically mean that it needs to be an applet?
    In simple words, web based Java application called Applets. In simple terms, I said again. Actually if you want to run your application on a browser, yes you have to work on applets.

    Quote Originally Posted by violinssoundcool View Post
    2. Can I do the same things in an applet as I can in an application? Most of what I have seen of applets are simple pictures or other graphical objects that are inserted into HTML. Is it possible for the applet to be a full interactive program?

    Not much clear you question. Anyway, what you have done is write an application which is able to run on the browser. You can develop a full interactive program using applet. Don't you have seen any such Java applications. Simple games specially.


    Quote Originally Posted by violinssoundcool View Post
    4. Will I need to use JDBC or something else like Hibernate to access the data?
    Depends on you application you can use any DB connection. You can use Access at the starting point in your application. JDBC is one of a list of them..

  6. #6
    Join Date
    Jan 2008
    Posts
    4
    Rep Power
    0

    Default

    Change of plans. Instead of using applets, it looks like I will be using servlets, jsp, and beans. I am told that they are safer and are designed for running on servers. It seems that a servlet is to the web server what applets are to the client. Is this correct?

  7. #7
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Yes it is. Applets are used in client side applications. To handle the server side, you have to use server side language. I always used Applets and Servlets in my projects.

Posting Permissions

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