Hi there.
I'm having huge issues with calling a method on the server from a client side.
This is the method I want to run from the client side
public void extract() throws Exception
{
//query database
ResultSet resultSet = db_statement.executeQuery("SELECT * FROM test");
//process query results
ResultSetMetaData metaData = resultSet.getMetaData();
int numberOfColumns = metaData.getColumnCount();
while ( resultSet.next())
{
for (int i = 1; i <= numberOfColumns; i++)
System.out.printf("%-8s\t", resultSet.getObject(i));
System.out.println();
}
Could someone please tell me how I can call this method on the client side.
Thanks in advance.
Yogiz