• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What are the different things that I can do using XML

 
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ??
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Leverager of our synergies
Posts: 10065
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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/
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a ton Mapraputa and Ajit I am sure these links and info will surely help me
 
Amit Roy
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Checkout http://www-106.ibm.com/developerworks/education/xmlintro/xmlintro.html
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic