If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Language for a front-end

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-02-06, 16:55
nst2 nst2 is offline
Registered User
 
Join Date: Sep 2005
Posts: 23
Language for a front-end

OK, I read at the "Must Read before posting" that I shouldn't post a general question, therefore I 'll do my best.

I am interested into finding the best language to code front-ends for DB2. Rephrasing it, I wonder which is the most prefered language for it among developers. An analog for MySql would be Php, for instance.
More about this question: does it differ if we have in mind that we want it to be a cross-platform thing?
I notice that DB2's tools are mainly written in Java, does this conclude that Java would be the best or the easiest or the closer to the back-end language?

I hope that the above will be the cause of a profitable discussion around it.

Thanks!
Reply With Quote
  #2 (permalink)  
Old 07-03-06, 05:00
Peter.Vanroose Peter.Vanroose is offline
Registered User
 
Join Date: Sep 2004
Location: Belgium
Posts: 1,079
It is my feeling that one rather chooses the language based on the application in mind, not the fact that DB2 is being used "inside".

For example, for webserver applications I'm most often using Perl, while for more batch-oriented programs I use either C (for shorter programs) or C++ (for more complex programs).

The only DB2-bound reason for preferring (say) C with embedded static SQL over Java (with dynamic JDBC) could be the possible advantage of a single bind at compile time: a slight performance advantage, and possibly a better isolation of authorizations (binder versus executor).
__________________
--_Peter Vanroose,
__IBM Certified Database Administrator, DB2 9 for z/OS
__IBM Certified Application Developer
__ABIS Training and Consulting
__http://www.abis.be/
Reply With Quote
  #3 (permalink)  
Old 07-03-06, 10:46
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
DB2 front-end tools are written in Java for portability (they need to run on many platforms) and has nothing to do with the how the database engine works.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On