Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Channels ▼

Web Development

Vulcanized Rubber Elasticity For Java App Hosting

Jelastic has added the Apache CouchDB distributed database to its Java hosting platform in a bid to provide greater options for replication and scaling across multiple data centers. In beta since the middle of last year, Jelastic claims to have over 5,000 registered developers — the company hinges its USP on its platform's ability to eliminate the need to make changes to code or programming language as Java apps are scaled to the cloud.

With the market for Java Platform-as-a-Service computing now arguably a lot more vibrant than it was even a year ago, Jelastic is not alone. In line with the launch of Oracle's Java Cloud Service, this is now a marketplace populated by Amazon with its Elastic Beanstalk, Google's App Engine, and Salesforce.com's Heroku for Java to name but a few.

By adding Apache CouchDB to the mix, Jelastic has brought a NoSQL document-oriented database to the table that provides a RESTful JSON API, which can in turn be accessed from any environment that allows HTTP requests.

Apache CouchDB's "B-tree" approach to data storage means that queries are performed fast, regardless of the amount of data stored. The database's replication services will, in this use case and others, allow an application to be run across multiple Jelastic hosting providers, providing redundancy against downtime.

B-tree data structures themselves allow searching of data to be performed with support for sequential access as well as insertions or deletions that may be being performed in logarithmic time. B-trees have roots at the top and leaves (or nodes) at the bottom. According to Geekinterview.com: "B-Tree is an indexing technique most commonly used in databases and file systems where pointers to data are placed in a balance tree structure so that all references to any data can be accessed in an equal time frame. It is also a tree data structure, which keeps data sorted so that searching, inserting, and deleting can be done in logarithmic amortized time."

Jelastic claims its new offering supports any JVM-based application, including Java 6, Java 7, JRuby, Scala, and Groovy. Currently, support is provided for the following SQL databases: MariaDB, MySQL, and PostgreSQL. It also supports the MongoDB and CouchDB NoSQL databases.

Application servers supported by Jelastic include Tomcat 6, Tomcat 7, GlassFish, and Jetty. The company provides load balancing and caching through the integration of NGINX and developer tools integration via Maven and Ant plug-ins.

Related Reading

More Insights

Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.