|
Hello Dieter,
... the better is the enemy of the good, why starting a JVM in every Job
needing access to a remote database, why writing cumbersom embedded Java
in RPG, when embedded SQL is supported, as it works with every remote
database?
I considered writing an ARD when I first started designing JDBCR4, and I
chose not to. I understand your reasoning, and I feel that your ArdGate
is an interesting tool that will help people, but it's not the panacea
you seem to make it out to be.
I choose a srvpgm approach because:
1) It's been my experience that each job having it's own resources and
not having to worry about a client/server architecture, or jobs sharing
resources, makes things simpler to maintain.
2) I do not feel that using JDBCR4 involves "embedding Java in RPG". I
think it's easy to call JDBCR4 from an RPG program without using any
Java code.
3) ARD does not support LOB columns. Something that was important in my
environment.
4) ARD does not support result sets from a stored procedure call.
Something that is absolutely central & critical to the architecture in
my environment.
5) ARD does not support scrollable cursors.
6) ARD does not support passwords longer than 10 characters. (Used
often in my environment.)
I certainly understand that your solution can achieve a performance
improvement because the JVM can be prestarted. And I certainly
understand that many RPGers are already familiar with embedded SQL, and
that makes it a bit easier to use an ARD... they don't have to learn
something new.
Your solution is a good one. But please don't put mine down.
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.