Hi Isomorphic,
I'm trying to create an app that will check if data in two databases (Oracle and PostgreSQL) are the same.
My app should retrieve all data from both databases and compares them.(Fetch 0-1000 rows, then compare it, fetch 1000-2000 rows then compare it, ...)
That should be an Java app based on SmartGWT to make sure my app will work equally to both databases.
Outcome should be ".jar" file, which would do all the work and would create one output file (report.html) when it's triggered.
This would make testing easier. So I just need a smartGWT server code(library).
Is it possible to do what I want?
To export application as a java application, I must have one main class.
I need something like
Then I have to somehow export whole "project" as ".jar" file.
Am I on the right track?
Best regards
Pavo
I'm trying to create an app that will check if data in two databases (Oracle and PostgreSQL) are the same.
My app should retrieve all data from both databases and compares them.(Fetch 0-1000 rows, then compare it, fetch 1000-2000 rows then compare it, ...)
That should be an Java app based on SmartGWT to make sure my app will work equally to both databases.
Outcome should be ".jar" file, which would do all the work and would create one output file (report.html) when it's triggered.
This would make testing easier. So I just need a smartGWT server code(library).
Is it possible to do what I want?
To export application as a java application, I must have one main class.
I need something like
Code:
package com.smartgwt.sample.server.listener; import com.isomorphic.datasource.DSRequest; import com.isomorphic.datasource.DSResponse; import com.isomorphic.datasource.DataSource; public class MainClass { public static void main(String[] args) throws Exception { DSRequest request = new DSRequest("TABLE_1", DataSource.OP_FETCH); DSResponse response = request.execute(); //Do some job..... } }
Am I on the right track?
Best regards
Pavo
Comment