Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

working example

Status
Not open for further replies.

Nature2

MIS
Jan 5, 2006
31
CA
Hi!
I found this real good book.
Bill brogden java developer guide to e-commerce with xml and jsp.
I am not a programer.
But can do some real neat things as a web developer.

If you go to this site.
Download the example code.
It might make sense to you.
But to me.
I can't put it to use.
Can someone help me.
I know a lot about xml.
The problem.
1)DateDemo.java
What do I do with this.
Do I save it as js file.

I guess I need some guidance to make these examples files working.
Thanks
 
If you want to programme in Java, I sugges stepping back from working with XML and JSP, and learn the basics first.
Perhaps you should go to and do their beginner's course.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
.java = Java file
.js = Javascript file

and Java has nothing to do with Javascript.

JSP is JavaServer Pages and is a server-side Java technology for generating dynamic web pages.

If the book is as good as you say, does it not have simple step-by-step examples which you could follow?

Tim
 
I don't want to get drawn in to a comparison of Java books vs Microsoft Books.

I would draw your attention to the link that sedj posted. Or alternatively, learn how to 'do' Java from this source
Tim
 
Hi!
What is the purpose of a java file
.java = Java file
 
It contains the java code. Java is comprised of one or more Classes. Each class generally specifies an object which can be instantiated.

You generally have one class defined per .java file.

However, remember that this forum is not intended to teach people Java. You must learn this yourself. We are here to guide you when you have specific questions. The links we have given will explain it all. You just have to read.

Tim
 
Hi timw !
I find that there is are not many web site's for starter's
For example If you want to learn to use the photoshop program.
There must be 1,000 nd's of web site's for this.
With java It's not the same.
 
First link from a google for "learning java tutorial" :
There are no easy routes to learn a programming langiage. Just start reading and coding I'm afraid. After about 2 years of solid practice, you might be able to call yourself *mildly competent* :_)

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Nature2 : Bottom line is - if you want to learn Java, then you need to start from the beginning and start reading. Its a proper programming language - not just like learning some CSS, HTML and a bit of javascript.

If you want to learn it, then you need to put the effort in I am afraid.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
When I came to learn Java, I read the ebook "Thinking In Java" at the link I gave above. I had the advantage of knowing C, though, which gives you a 'heads-up' with some of the syntax. Java has a huge scope. Most sites deal with tutorials on specific bits of it. There are Java books you can buy, and I'd probably say that it's worth having one by you as you learn (I can't really recommend one other than Thinking In Java because that's the only one I've read. There are two on the shelf next to me here at work, though. 'Java:How To Program' by Prentice Hall ISBN 0130125075 and 'SAMS Teach Yourself Java 2' by SAMS ISBN 067231668-4.

In the end, though, you're gonna have to do what sedj says. Start from the beginning and put in a lot of effort. It is rewarding IMO but there is a LOT to learn. I'm sure some come to Java having learned Javascript, thinking that they're similar. Javascript merely shares some of the syntax of Java. The former is a scripting language designed to be quick and easy. Java is a full-blown programming language and has many intricacies.

To re-iterate, we here are fully prepared to help you on your way in this. We'll answer as many specific questions as we can. But the onus is still on you to learn the language, we aren't teachers (well, maybe some of us are, but you know what I mean [smile]).

Incidentally, do you have an objective reason for wanting to learn Java? Is it a necessity or just curiosity? Could you achieve your ends with some other development tool better suited to your needs? I will be the first to hold up my hands and say that Java is not the most productive technology I've ever used. It's taken around 5 years to get to the point where I feel I can churn out Java software of acceptable quality within acceptable timeframes.

Anyway, I wish you well in your efforts. Good luck.

Tim
 
Hi timw !
How are you.
If you go to my site I can do some real neat stuff.
I have done this by using the macromedia programs and adobe.
I have also dabbled around with html,javascript,css,asp,php,xml
I figured I could dabble around with java to have more fancy stuff on my web site.
I guess the main reason I want to learn java is for making a shopping cart.
But you can do that with php ,if I am not wrong.
I will get that book Thinking In Java.
I wrote to the writer of the book

He recommended
Head First Java, 2nd Edition
Thanks guys .
H.S.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top