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 ??
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).
Thanks a ton Mapraputa and Ajit I am sure these links and info will surely help me
Joined: Oct 10, 2000
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