This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

properties files

 
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this question is regarding xml and java
the way we make descripter files for ejbs
is it popular to make some properties files in xml format for use in other java applications ??
one more question
if i do not want to hard code the name of my xml parser
how do i go about it??

------------------
"Sun Certified Java Programmer"
KS
"Failing to plan is like plannig to fail!"
 
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JAXP by Sun is an API that lets you switch parser implementations wihout having to change your code. This is from Sun's site:
The final release of the Java API for XML Processing (JAXP) 1.1 Optional Package is now available! JAXP enables applications to parse and transform XML documents using a pure Java API that is independent of a particular XML processor implementation. The final release supports the latest XML standards including SAX 2.0, and DOM Level 2, as well as including integrated support for XSLT.
Here's the link: http://java.sun.com/xml/index.html
HTH
Brian
 
It was the best of times. It was the worst of times. It was a tiny ad.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic