• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Proficiency in java before learning XML?

 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Leverager of our synergies
Posts: 10065
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/
 
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/


 
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there any example on web how to make configuration file using xml ???
 
author
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by ray bond:
is there any example on web how to make configuration file using xml ???


Look into any J2EE environment/application and you will find more XML configuration files than you can shake a stick at.
- Peter
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!