|
Hi Tim, The program looks basically OK from a JDBC point of view, aside from the clutter. Whether it's really OK depends on the needs of your app. Rather than running through it point by point, which most of us don't have the time to do ( I'm in a time crunch on an EJB tutorial ), I'd suggest that you take a look at my JDBC 2.0 Fundamentals Short Course at the Java Developer Connection. The examples were all run against Cloudscape, UDB2 on NT, and DB2/400. It also, I hope, explains how things work and some performance aspects. It's at: http://developer.java.sun.com/developer/onlineTraining/Database/JDBC20Intro/ HTH, Joe Sam Joe Sam Shirah - http://www.conceptgo.com conceptGO - Consulting/Development/Outsourcing Java Filter Forum: http://www.ibm.com/developerworks/java/ Just the JDBC FAQs: http://www.jguru.com/faq/JDBC Going International? http://www.jguru.com/faq/I18N Que Java400? http://www.jguru.com/faq/Java400 ----- Original Message ----- From: "Hatzenbeler, Tim" <thatzenbeler@clinitech.net> To: "'Java Programming on and around the iSeries / AS400'" <java400-l@midrange.com> Sent: Thursday, February 13, 2003 12:26 PM Subject: please critique > I have very little java skills , if even that much :-) > > But I needed a program, that I could run via a runrmtcmd from the as/400, to > a PC, but then I wanted the PC based java program, to update a table on the > as/400, regarding certain status, about a file... > > This program needs to be ran, a lot, on the PC... So I was wondering if I > could get a few comments and suggestions to let me know, if I wrote this > program in the most stable way... Memory leaks, jdbc > opening/closing/registering, that would only surface after many days of use, > or maybe there is a better way to execute jdbc operations.. I pulled the > current code from various places on the web, and I have no idea if I did it > right... It works, but I don't know for how long :-) > Please let me know... > > Thank you, tim >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.