Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I access my IBM i database with Java but without JDBC?

database IBM Java JDBC
0
Posted

Can I access my IBM i database with Java but without JDBC?

0

• Use the record-level database access classes provided in the IBM Toolbox for Java. These bypass JDBC and SQL altogether. Using record-level database access, your program can read and write database files using record formats specific to IBM i. These classes communicate using DRDA and are often faster than JDBC, but they are also somewhat proprietary (whereas JDBC is somewhat standardized across the industry). • Write your own client/server. You can then code your server program in whatever language you want (Java included). The server program can access the database using native methods. Some examples: • Write a servlet that gets called by the web server when a client requests a given URL. • Write a server program that reads requests from and sends replies to data queues. The client program can then use the IBM Toolbox for Java data queue classes to communicate with an IBM i system. • The client can call IBM i programs directly using the IBM Toolbox for Java program call classes. Par

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123