The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
June 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Java and XML

Posted by Sri on June 26, 2000 at 9:22 AM

Hi Mel, XML can be used in Java applications in many ways, depending
on what kind of application you develop you can make use of XML with
java. For example if your developing a B2B application you can use
XML to exchange data between applications. In a web environment if say
your using servlets then you can receive data to the servlet in XML format
and the servlet can use XSLT to generate content specific to a targeting
user agent(browser). Hence there are various ways you can use XML and
java.

Sri
> Can someone please explain how java and xml interact with each other.
> I see XML/DTD as documents containing various information, but how can
> that information be retrieved and put on a website? Are java servlets
> behind the scenes taking information from these documents and displaying
> them in html format for clientside? Im a bit confused.

> Thanks.

> mel






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us