VisualBuilder
  Home > Java > Tutorials > Application areas of XML - Java XML Tutorial
Tell a friend
Link to us
Total Members
      Members: 84663
     
Sitemap Forum Chat
Home
Java XML Tutorial Home
1 . What is XML?
2 . HTML vs. XML
3 . XML Basics
4 . Why use XML in Java?
5 . Application areas of XML
6 . Standards
7 . Setting up the environment for XML and Java
8 . JAVA XML API
9 . Simple API for XML (SAX)
10 . Document Object Model (DOM)
11 . Basics of programming using DOM
12 . Should I use DOM or SAX? 
 
 
Java Home
Java Members (27610)
Java Member Articles ( 40 )
Java Discussion (273)
Java Q & A ( 153 )
- Java Ask Question
- Java Questions
- Java Unanswered Questions
Java Resources
Java Source Code (1095)
Java Articles (550)
Java Blogs (118)
Java Jobs (797)
Java Components (84)
Java Books (169)
Java Websites (126)
Java News (103)
 
GROUPS
.NET
ASP.NET
.NET
C#
ASP
Visual Basic
Java
Java
JSP
EJB
Other
Delphi
C++
Ajax
UML
JavaScript
PHP
Web Design
Web Hosting
SQL Server
Oracle
Project Management
More Groups

 
LEARNING CENTER
TUTORIALS
.NET
.NET Tutorial
ASP Tutorial
ASP.NET Database Tutorial
ASP.Net Security,Internationalisation And Deployment
ASP.NET Tutorial
C# Tutorial
Web Development
Flex Tutorial
HTML Tutorial
Learn AJAX Tutorial
PHP Tutorial
Software Development
Database Tutorial
SQL Tutorial
UML Tutorial
Java
Ant Tutorial
EJB 3 Tutorial
Hibernate Tutorial
Java Tutorial
Java Web Component Tutorial
Java XML Tutorial
JDBC Tutorial
JDK1.5 Tutorial
JSF Tutorial
JSP And J2EE Design Tutorial
JSP Tutorial
Spring Tutorial
Struts Tutorial

RESOURCES
Q & A (451 )
Source Code (3275 )
Articles (359 )
Books (372 )
Components (1596 )
News (892 )
Websites (1207 )

SUBMISSIONS
Submit Article
Submit Website
Submit News
Submit Source Code
Submit Component

COMMUNITY
Members Directory
Discussion Forum
Chat

SITE
About Us
Sitemap
Search
Contact Us
Link To Us
Feedback
Tell a Friend
Partners
Advertise

Java xml Tutorial
 Application areas of XML
  << Prev: Why use XML in Java? Next: Standards >>


  • Presentation Oriented Publishing (POP) – the same data in a web browser, mobile phone and a PDA. 



  • Message Oriented Middleware (MOM) – B2B. 



This is where an application uses XML as a message format for communication between different systems. 




  • XML used for exchanging database contents. 



To illustrate the applications we will use an example of an online shopping system.


1) The owner of the online shop wants to provide an online service so that it also works on mobile phones and PDAs.

Data in the store database is used to generate a XML document. This same XML document can be transformed using XSL (covered in a later section) into HTML, WML or any other format. This would allow the information to be displayed on mobile phones and PDA.

2) The owner wants to automate order processing and fulfilment.


Since the 1970s, systems have used Electronic Data Interchange for computer-to-computer communication. This allowed orders and invoices to be sent using a messaging standard. The problem with EDI is that it is very expensive to buy and EDI system, therefore only large companies would use it.

Two companies agreeing on a DTD can send messages over the Internet using XML. Problems occur regarding security and reliability but these are being addressed.

Going back to our example, when a customer orders a product from the online shop, the shop sends a standard message to the delivery agent. The delivery computer system automatically updates itself with the latest orders and automatically sends an acknowledgement back to the shop.

Messages could also be sent from the suppliers to the online shop to update the inventory on the specific products.

3) The marketing department would like to extract the data from the online shop so they can organise product promotions and sales.


However, the marketing database is in MS Access and the shop uses Oracle. There is no specific standard for exchanging data from one database to another.


XML allows all the tables to be totally described by using custom tags.


<table>


<field>


etc.


  << Prev: Why use XML in Java? Next: Standards >>
Java Xml Tutorial Home
Give feedback and win a prize.

 
   Printer Friendly
   Email to a friend
   Add to my Favourites    
  Download PDF version
   Report Bad Submissions
   Submit Feedback
 
  Delicious   Digg   Technorati   Blink   Furl   Reddit   Newsvine   Google Click each image to add
this page to each site.
 
 
Welcome Guest Signup
MEMBER'S PANEL
EMAIL
PASSWORD
Forgot your password?
New User? Click Here!
 
Resend Activation Email!
 
SEARCH
 
 
 
ADVERTISEMENT
Partner List
Code Project
ASP Alliance
More
 
 
 
 

Home | Login | About Us | Contact Us | Privacy Policy | Advertising