The Artima Developer Community
Sponsored Link •

Design Forum
Case study : XML Messaging

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
nusa

Posts: 1
Nickname: nusa
Registered: Jan, 2003

Case study : XML Messaging Posted: Jan 10, 2003 2:26 AM
Reply to this message Reply
Advertisement
Hi,

At the moment I'm thinking about implementing XML Messaging.
Here is the scenario.

Assume an existing application written in PowerBuilder using mySQL, name it P,
and another existing one written in Oracle Form using Oracle9i, name it F.
P provide a customer data, such as id, name, address, etc.
F provide an exchange rate data, GBP<->USD, USD<->EUR, GBP<->EUR, etc

I would like everytime P's user create or modify any customer data :
1. the data need to be sent using XML to F
2. F sends an acknowledgement back to P.
3. F will do its business process.
Same thing with F, everytime F's user create or modify any exchange rate data
1. the data need to be sent using XML to P
2. P sends an acknowledgement back to F.
3. P will do its business process.

For this case study, a loosely coupled architecture is the best approach.
What I can see, for now, is to create an adapter.
Using a properties file, that adapter will pull out any P/F data
( a new or a modified one ),generate an appropriate XML file,
the send into a JMS Server. So it will do #1, #2, and #3.
For that, the data model within P and F need to be changed.
A new column need to be added in both customer data and exchange rate data.
Possible values for that column are, for example :
1. 'N' new data
2. 'M' modified data
3. 'X' XML file generated
4. 'D' done
etc, etc.
With this approach, the existing P or F remains unchanged, only the data model.

Another possibility is to modify the existing application P or F push out any
new or modified data, then generate the appropriate XML file. That's it.
Neither PowerBuilder or Oracle Form don't know how to send it into JMS Server.

It looks for me that this is an Enterprise Application Integration (EAI) pattern.
Any comments on this case study ? Design Patterns, articles, sample codes, etc ... ?

Thanks.

Topic: String Arrays in Java Previous Topic   Next Topic Topic: Fee charging percentage

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use