I'm not a programmer or engineer and am just starting out in java...currently working on Exercise 1.4. Most of the classes and methods (especially with Beans, JDBC, Networking, etc.) are completely unknown to me. So I'm wondering whether I should bother with XML at this point and learn it concurrently with java, or if I should solidify my java proficiency before attempting XML. Any suggestions?
Either way you sohuld learn one language and stick to it. XML is not fully supported by browsers yet, I would go to java then to XML because of this, there will be more support in the future. ------------------ I wish there was a button on my monitor to turn up the intellegince. Theres a button called 'brightness' but it doesn't work
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
As far as my knowledge goes, XML is much easier to learn than Java. You cannot "program" on XML, you can merely describe your data. So when you become tired of Java - study XML . Waiting for protests of other participants...
So you got one thing right brett . . . that button on your monitor doesn't work! . . . (only joking) XML is in no way an alternative to Java. Java is a programming language, XML is a markup language. I think there is no harm in you learning more about XML. If you ar familiar with HTML it will be easy, start here: http://www.java.sun.com/xml/
I have to agree with Greg. Java and XML are completely different things, and they are very strong when used complementary. XML makes it easy to define data, and Java is great for implementing logic that operates on this data. In fact, if you are only looking at the core of XML, there really is not much to it. Of course, once you look at specific ways of dealing with XML, for example SAX and DOM parsers, or XSLT, things get a little more complicated. Anyway - particularly if you are interested in eventually doing server-side Java development, some XML knowledge will definitely come in handy. -Mirko
Originally posted by greg philpott: So you got one thing right brett . . . that button on your monitor doesn't work! . . . (only joking) XML is in no way an alternative to Java. Java is a programming language, XML is a markup language. I think there is no harm in you learning more about XML. If you ar familiar with HTML it will be easy, start here: http://www.java.sun.com/xml/
The key thing that XML offetrs when you are starting out with Java is that you don't need to struggle to come up with proprietary and inflexible file storage and transmission formats for every little project. When you need to save some program state to a file, think XML. When you need to send some information from one program to another, think XML. When you need to make a configuration file for your program, think XML. When a program needs to display the same output in several different ways, think XML.