wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes JMS with java multithreaded mysql data copy program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS with java multithreaded mysql data copy program " Watch "JMS with java multithreaded mysql data copy program " New topic
Author

JMS with java multithreaded mysql data copy program

Gihan Pandigamage
Ranch Hand

Joined: Aug 23, 2009
Posts: 60
Hello guys,
I need a big help from all of you. I was assigned to develop a project, which copy data from one database table(say mysql database name is A) to another database table(say mysql database name is B) . So they asked me to use java multi threading with jms. I don't have any idea with JMS API. Could you please help me to complete this project asap. I only need some guidance/ tutorials to start the project and how to use JMS with java multi threaded application to copy data from one database table to another database table. Thanks...
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

It would really be much simpler to use MySQL's standard features to export the data from database A to a text file, and then import it from that text file into database B. To me using JMS sounds like far too much work to produce the wrong solution.
Gihan Pandigamage
Ranch Hand

Joined: Aug 23, 2009
Posts: 60
Thank paul, I also suggested to develop the app only using java threading but they asked me, again to develop it using JMS API. I don't know what is the purpose of using JMS to this kind of app. I'll try to explain them again. Thank you again.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JMS with java multithreaded mysql data copy program
 
Similar Threads
Making a stand-alone database-driven app to a multi-threaded one
comparing database
Comparing database
database comparison in java
Structuring a Multi-Threaded Application: Parse from .csv and write to a database