Re: How to read and parse a remote XML file with Java
- From: Arne Vajhøj <arne@xxxxxxxxxx>
- Date: Sun, 30 Sep 2007 16:49:19 -0400
Thomas Armstrong wrote:
I'm not a Java programmer, and I only need a "hello world" sample
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
Document doc = db.parse((new URL(url)).openStream());
in
order to make a comparative table between Perl, PHP, Python and Java
with Web Services.
You don't do web services in Java like that, so I am very skeptical
about the outcome of your "comparison".
Arne
.
- Prev by Date: Re: do I need "volatile" for HashMap? when I apply ReentrantReadWriteLock on it.
- Next by Date: Re: Parsing XML with Dom
- Previous by thread: Re: How to read and parse a remote XML file with Java
- Next by thread: Re: Importing an object at runtime
- Index(es):