aspose file tools*
The moose likes XML and Related Technologies and the fly likes What are the different things that I can do using XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "What are the different things that I can do using XML" Watch "What are the different things that I can do using XML" New topic
Author

What are the different things that I can do using XML

Amit Roy
Ranch Hand

Joined: Oct 10, 2000
Posts: 132
Hello frns
I found many tutorials on XML on the net but i still couldnt figure out as to where are all the possible places XML can be used for which is the best tier where XML an be used are there sites that talk about all these issues ??


<I>Chance Favours the Prepared minds"</I>
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
You can use XML data/format/file -

  • represent flat application data which is often an overkill to represent in an RDBMS storage.
  • as a standard data format for exchange of information across different applications( this is the typical and classic statement used in many XML tutorials. )
  • as a "value-holder" for your business objects. Pass XML data back and forth from the server to the client. XML is a better alternative to traditional name-value pair representation since a zillion other applications can directly use your data without any data translations.
  • to store and represent application/custom configuration information( many popular webservers, Servlet engines and application servers are already using XML as the defacto standard.
  • as an adhoc persistence medium. An XML data repository can be built to hold temporary data for faster( and cheaper ) access. A regular( for example, nightly ) update process can then commit the data to RDBMS storage. This works great for distributed applications spanning across geographical locations where frequent requests across the WAN to access RDBMS data can really cause a huge performance bottleneck. We currently use this architecture and have had a great success.
  • as a client-side data cache. In a distributed application architecture, a data cache on the client partition can save unnecessary trips across the network for fetch requests. With some additional programming, you can keep the client cache up-to-date and synchronized with the master DB.
  • as a preferred medium of command transfer for invoking methods on remote( distributed ) objects and services. See SOAP and XMLRPC specs. Since XML is a flat ASCII based file, you can come up with a DTD for representing remote method calls and parameter packaging. Text transfers are faster and simpler when compared to traditional marshalling-unmarshalling you see in a typical RMI scenario.

  • The bottom line - XML is a flatware and can be used in various ways to represent data. Your imagination is the limit. The biggest strength of XML technology is that, it is a highly standardized and portable format which completely eliminates the problems associated with proprietary data formats. With ever increasing vendor support it has the potential penetrate into virtually all domains of Information Technology from databases to application servers to protocol implementations.
    Hope that helps!
    ------------------
    Ajith Kallambella M.
    Sun Certified Programmer for the Java�2 Platform.
    IBM Certified Developer - XML and Related Technologies, V1.


Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Mapraputa Is
Leverager of our synergies
Sheriff

Joined: Aug 26, 2000
Posts: 10065
Map is unable to produce such intelligent texts as Ajith can but she figured out that if she will copy&paste some links, she will look pretty cool also. Here they are:
First, The XML Hanbook by Charles F.Goldfarb is almost wholely devoted to describing various XML applications and scenarios.
Second, you can read these articles:
XML-Acceptor. XML as the API http://www.xmleverywhere.com/WhitePapers/xml-acceptor.html
XML Persistence http://www.xmleverywhere.com/WhitePapers/persistence.htm
Java XML Application Categories http://65.1.136.127/developerlife/appoverview/default.htm
Third, you can take a look at XML software spectrum � that may also give some ideas http://www.xmlsoftware.com/

Uncontrolled vocabularies
"I try my best to make *all* my posts nice, even when I feel upset" -- Philippe Maquet
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
Here are some more referenced by my post -
SOAP Spec at Microsoft.com http://msdn.microsoft.com/workshop/xml/general/soapspec.asp
SOAP FAQ - http://soap.weblogs.com/faq
XMLRPC site - http://www.xmlrpc.com Checkout their great tutorials.
That completes it
------------------
Ajith Kallambella M.
Sun Certified Programmer for the Java�2 Platform.
IBM Certified Developer - XML and Related Technologies, V1.
[This message has been edited by Ajith Kallambella (edited May 25, 2001).]
Amit Roy
Ranch Hand

Joined: Oct 10, 2000
Posts: 132
Thanks a ton Mapraputa and Ajit I am sure these links and info will surely help me
Amit Roy
Ranch Hand

Joined: Oct 10, 2000
Posts: 132
Hi Ajith,
What i wanted to know is thr some site where in i will find a detailed description abt all the points that you have put in your previous post with diagrams and stuff coz i need to give a presentation tommo and talk about all the places where XML can be used including making slides etc ...;(
please help
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
Checkout http://www-106.ibm.com/developerworks/education/xmlintro/xmlintro.html
 
Don't get me started about those stupid light bulbs.
 
subject: What are the different things that I can do using XML