Advertisment

Two ways to build Apache Derby database applications in JRuby

author-image
CIOL Bureau
Updated On
New Update

BANGALORE, INDIA: JRuby is an implementation of the Ruby programming language that runs in the Java Virtual Machine (JVM). As Ruby and Ruby on Rails become more popular, JRuby becomes an interesting technology to leverage the portability, security, and class libraries of the JVM while using Ruby features like simple syntax and closures.

Advertisment

If you're writing a small application that needs a relational database, or you want to be able to ship a database with your product, then the Derby database is an excellent choice for a persistence mechanism. This tutorial shows you two methods of connecting to and building Derby database applications from JRuby.

Objectives:

* Learn how to connect to and use the Apache Derby database via the JRuby interpreter using two different methods.

* Learn how to insert data into and retrieve it from Derby via JRuby.

Click here for more...!

tech-news