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?

01-18-2008, 02:52 AM

CaptainMorgan

Welcome violin :)

Quote:

I need a resource that will explain the necessary concepts as if to a beginner.

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.

01-18-2008, 04:27 PM

violinssoundcool

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?

01-23-2008, 04:16 AM

Eranga

Quote:

Originally Posted by violinssoundcool

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

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

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..

01-25-2008, 04:09 PM

violinssoundcool

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?

01-26-2008, 06:28 AM

Eranga

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.