Jave System.out.println(resp)

Posted on 2013-05-13
Last Modified: 2013-05-14
I'm a .Net developer but at my company wear many hats.

I have a JAR file I need to modify.

The jar is currently doing a response to a command screen.
while (true)
	String resp = cnx.getRawResponse();

Open in new window

I would like to change that and do an out to a WCF or asynchronous load to send data to SQL Server.

I just need to be pointed in the right direction.

I have Eclipse and JDK loaded on my dev pc (64 bit)
Question by:lrbrister
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 86

Accepted Solution

CEHJ earned 500 total points
ID: 39162105
I don't know about the WCF, but you need to use a PreparedStatement in that loop if you want to insert into a db

Do the close stuff when you've come out of the loop

Expert Comment

by:Manikandan Thiagarajan
ID: 39162314

Author Comment

ID: 39162345
Going to try your examples today and get back to you

Author Closing Comment

ID: 39165808
LVL 86

Expert Comment

ID: 39165827

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
A short article about problems I had with the new location API and permissions in Marshmallow
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question