• 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

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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!