667481 members! Sign up to stay informed.

Sponsored Links


Resources

Enterprise Java
Research Library

Get Java white papers, product information, case studies and webcasts

News News News Messages: 10 Messages: 10 Messages: 10 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

ObjectWeb releases C-JDBC 1.2, database clustering middleware

Posted by: Emmanuel Cecchet on March 30, 2005 DIGG
ObjectWeb has announced the release of C-JDBC 1.2, their open source database clustering middleware. The new release includes support for Updatable ResultSets, new pass-through schedulers for increased performance as well as many other improvements and fixes.

To use C-JDBC, databases are replicated to a set of servers, and C-JDBC is configured to know each element in this database "cluster." Reads passed through C-JDBC are then load-balanced across each node, with writes being broadcast to each node to maintain synchronicity.

Among other changes, the 1.2 release supports Updatable ResultSets. New pass-through schedulers have been added for all RAIDb levels for increased performance. The DatabaseMetaData code has been refactored to provide more transparency with regard to the underlying database engine. A number of other contributions have helped in various area for developer documentation, code cleaning and bug fixes.

This project enables a middleware component to replicate many features of a database cluster, which might be very useful if a formal DBA isn't available or the database product being used doesn't support clustering.

What do you think?

Threaded replies

·  ObjectWeb releases C-JDBC 1.2, database clustering middleware by Emmanuel Cecchet on Wed Mar 30 13:23:23 EST 2005
  ·  ObjectWeb releases C-JDBC 1.2, database clustering middleware by analog boy on Thu Mar 31 10:52:59 EST 2005
    ·  ObjectWeb releases C-JDBC 1.2, database clustering middleware by Suresh R on Thu Mar 31 12:44:53 EST 2005
      ·  ObjectWeb releases C-JDBC 1.2, database clustering middleware by Emmanuel Cecchet on Fri Apr 01 04:33:57 EST 2005
    ·  Doesn't work yet by augustientje bloem on Sun Apr 03 07:06:53 EDT 2005
  ·  ObjectWeb releases C-JDBC 1.2, database clustering middleware by tm jee on Thu Mar 31 20:00:56 EST 2005
    ·  I' using it by Joao Cerdeira on Fri Apr 01 03:19:23 EST 2005
    ·  ObjectWeb releases C-JDBC 1.2, database clustering middleware by Emmanuel Cecchet on Fri Apr 01 04:39:38 EST 2005
    ·  ObjectWeb releases C-JDBC 1.2, database clustering middleware by Pavel Tavoda on Fri Apr 01 06:09:07 EST 2005
      ·  ObjectWeb releases C-JDBC 1.2, database clustering middleware by Emmanuel Cecchet on Fri Apr 01 06:49:01 EST 2005
  ·  ObjectWeb releases C-JDBC 1.2, database clustering middleware by Luca Garulli on Fri Apr 01 05:49:23 EST 2005
  Message #164139 Post reply Post reply Post reply Go to top Go to top Go to top

ObjectWeb releases C-JDBC 1.2, database clustering middleware

Posted by: analog boy on March 31, 2005 in response to Message #163913
anyone using this in the field yet? in the comments on TSS after the last release, there seemed to be people interested in trying it out, have any of them tried it in a production environment yet?

  Message #164169 Post reply Post reply Post reply Go to top Go to top Go to top

ObjectWeb releases C-JDBC 1.2, database clustering middleware

Posted by: Suresh R on March 31, 2005 in response to Message #164139
Sounds interesting, do they have support for jdbc 3 or does it plug to existing driver or has it's own api

  Message #164219 Post reply Post reply Post reply Go to top Go to top Go to top

ObjectWeb releases C-JDBC 1.2, database clustering middleware

Posted by: tm jee on March 31, 2005 in response to Message #163913
This is really cool stuff! I am just wondering like others, could someone who used this before shared his experiences with the TSS community?

thx

rgds
tmjee

  Message #164252 Post reply Post reply Post reply Go to top Go to top Go to top

I' using it

Posted by: Joao Cerdeira on April 01, 2005 in response to Message #164219
Is not a winderfull software, have problems with fail over and syncronization. When a database goes off we must go their and do a cople os things to restore de database :(

with postgres i must do pg_dump from the god database (the one do not goes off), and restore this dump in the other database. :(

This cold be done automacticly, when c-jdbc do this they come a nice software.

Now is a god software to have fail over in the databeses with a low budget.

C-JDBC and heartBeat(piranha) together is a good solution :) for small projects

  Message #164260 Post reply Post reply Post reply Go to top Go to top Go to top

ObjectWeb releases C-JDBC 1.2, database clustering middleware

Posted by: Emmanuel Cecchet on April 01, 2005 in response to Message #164169
Sounds interesting, do they have support for jdbc 3 or does it plug to existing driver or has it's own api

You can consider C-JDBC as a smart JDBC proxy and therefore we support the same set of features as your database driver does (if your driver does not support JDBC 3, we don't either).
However we do not support yet JDBC 3 savepoints. You can check the documentation for a detailed list of limitations.

Emmanuel

  Message #164261 Post reply Post reply Post reply Go to top Go to top Go to top

ObjectWeb releases C-JDBC 1.2, database clustering middleware

Posted by: Emmanuel Cecchet on April 01, 2005 in response to Message #164219
This is really cool stuff! I am just wondering like others, could someone who used this before shared his experiences with the TSS community?thxrgdstmjee

As C-JDBC was not backed yet by any company, it is really hard to get feedback on real usage and C-JDBC is mostly raw technology. We will try to change that with Emic Networks, the company I just joined.
There is an interesting thread on Javalobby that discussed the results of the C-JDBC survey. I think that Andy DePue's response is insightful.

Emmanuel

  Message #164268 Post reply Post reply Post reply Go to top Go to top Go to top

ObjectWeb releases C-JDBC 1.2, database clustering middleware

Posted by: Luca Garulli on April 01, 2005 in response to Message #163913
Anyone know some success stories about the use of C-JDBC product?

Should be available a good presentation I've seen at the the last ApacheCon 2004 in LasVegas...

bye,
Luca Garulli
www.Pro-Netics.com (member of Orixo.com - The XML business alliance)
OrienTechnologies.com - Light ODBMS, All in one JDO solution

  Message #164271 Post reply Post reply Post reply Go to top Go to top Go to top

ObjectWeb releases C-JDBC 1.2, database clustering middleware

Posted by: Pavel Tavoda on April 01, 2005 in response to Message #164219
I was also interested and I tryed it 3 month ago. I make one simple example where I was running simple inserts against 2 databases. However c-jdbc doesn't work as expected. Some rows was lost in one database. I couldn't imagine use it in this state in real production environment event in middle scale projects.
Also administration interface is far from error prone. It doesn't warn you when you are doing strange operations.

  Message #164275 Post reply Post reply Post reply Go to top Go to top Go to top

ObjectWeb releases C-JDBC 1.2, database clustering middleware

Posted by: Emmanuel Cecchet on April 01, 2005 in response to Message #164271
However c-jdbc doesn't work as expected. Some rows was lost in one database.

Did you report that on the mailing list? I would be surprised that this would not have been addressed if it was reported. If users don't provide feedback, a project cannot improve.
Also administration interface is far from error prone. It doesn't warn you when you are doing strange operations.

Yes, this is true. The admin interface is very open so that you can have fine grain control on the C-JDBC controller. However, you have to be careful on what you do else you can break everything very easily. We are trying to refine these functionalities to restrict what is available from the admin console. Most of the problems raised are due to a misuse of the technology but our documentation is not that great so the users are not to blame here.

Don't hesitate to share your feedback (positive or negative) on the c-jdbc@objectweb.org mailing list, it helps us improve the quality of the technology.

Emmanuel

  Message #164539 Post reply Post reply Post reply Go to top Go to top Go to top

Doesn't work yet

Posted by: augustientje bloem on April 03, 2005 in response to Message #164139
anyone using this in the field yet? in the comments on TSS after the last release, there seemed to be people interested in trying it out, have any of them tried it in a production environment yet?

I tried to get JDBC running (the previous release, as well as a couple before that). The DB I use is PosgreSQL 7.4 on Linux. To test how stable the system is, I tried to disable one DB node from the cluster, and later tried to enable it again. At a first glance this actually seems to work, but the devil is in the details. It doesn't work under load!

If you're doing inserts to your DB cluster (at a higher rate than +- 1 per second), then it simply doesn't work anymore. When enabling the previously disabled node I'm getting a duplicate row SQL error.

So, the conclusion must be that either I'm doing something completely wrong (although I tried with a very simple test case and followed the instructions step by step), or that JDBC is simply not ready for production yet.

Although this naturally can't be changed anymore, I assume it would have been better as ObjectWeb had more accurately reflected the state of its software in the version number. Although CJDBC looks *very* promissing and the developper seems to be very motivated and skilleed, maybe calling it version 1.2 is too optimistic and something like 0.6 orso would have actually been better.

New content on TheServerSide.comNew content on TheServerSide.comNew content on TheServerSide.com

Dependency Injection in Java EE 6 - Part 1

Reza Rahman explores the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6. (November 2, Article)

SAML: It's Not just for Web services

SAML is an XML-based standard for exchanging authentication and authorization data between security domains. The single most important problem that SAML was created to solve is the Web browser Single Sign-On problem. Many organizations are debating whether to stay with version 1.1 or move to 2.0. This article makes observations about both options. (September 28, Article)

Programming is Also Teaching Your Team

Joe Ottinger takes a look at how people learn, and applies it to the practice of programming. He notes that understanding how people learn is an essential part of working in a programming team. (September 22, Article)

Can Java EE Deliver The Asynchronous Web?

Stephen Maryka gave us an article about the Asynchronous Web and posed a number of questions that get examined like an approach to delivering Asynchronous Web capabilities through extensions to existing Java EE technologies. (July 14, Article)

JSF Flex

JavaServer Faces Flex goal is to provide users capability in creating standard Flex components, part of flexSDK which is open sourced through MPL license, as normal JSF components. This article by Ji Hoon Kim will provide an overview of creating a simple multilingual JSF page consisting of JSF Flex tags. (June 29, Article)

The Rules of SOA - A Road to a Successful SOA Implementation

In this session Jeff explores the key characteristics of successful SOA projects. He covers some of the patterns, and anti-patterns, tool sets, and strategies that he himself learned the hard way. Last, he provides a strategy and blueprint for achieving a high likelihood of success in your SOA project. (June 23, Tech Talk)

Ari Zilka Talks About Terracotta 3.1

Ari Zilka, CTO of Terracotta, Inc., talks about the new features in Terracotta 3.1, announced during JavaOne and available now. (June 15, Tech Talk)

Enterprise Application Integration, and Spring

In this Tech Talk, Josh Long explores an integration challenge using Spring Integration and walks through the implementation, employing and expanding on the basic patterns of Enterprise Application Integration to tie together components into a function integration solution, and then demonstrates how Spring Integration helps address the integration requirements. (June 15, Tech Talk)

Google Web Toolkit: An Introduction

In this Tech Talk, David Geary teaches you: The basics of Google Web Toolkit; How to implement Ajax-enabled applications in Java; Internationalization; Hooking into the browser history mechanism; Remote procedure calls. (June 4, Tech Talk)

Just Enough Early Architecture to Guide Development

Jon Kern discusses the best architecture/technical solutions and ensure that they are repeated by all developers. By tackling the architecture up-front in a serial manner, subsequent parallel development will be much more manageable and predictable. (May 28, Tech Talk)

Productive Programmer: On the Lam from the Furniture Police

This keynote describes the frustrations of modern knowledge workers in their quest to actually get some work done, and solutions for how to guard yourself against all those distractions. Neal Ford talks about environments, coding, acceleration, automation, and avoiding repetition as ways to defeat the misguided attempts to sap your ability to produce good work. (May 26, Tech Talk)

Auto-Scaling Your Existing Web Application

Gil demonstrates how new, aggressive uses of already abundant compute capacity by common applications offer competitive value for application designers. (May 21, Tech Talk)

Automating Hibernate Mapping and Queries For Java Web Development

Chris Keene introduces WaveMaker as a new way to automate the ability to generate Hibernate classes in order to more quickly bring OR mapping into an application. (May 19, Article)

Auto-Scaling Your Existing Web Application

In this session Nati Shalom demonstrates how to take a standard Java EE web application and scale it out or down dynamically without changes to the application code. Seeing as most web applications are over-provisioned to meet infrequent peak loads, this is a dramatic change because it enables growing your application as needed, when needed, without paying for unutilized resources. (May 19, Tech Talk)

Free Book PDF Download: Mastering EJB Third Edition

Mastering EJB was one of the original and most influential EJB books in the industry. Mastering EJB III now returns with two new expert co-authors, updated for EJB 2.1 and 30% new chapters including security, integration, best practices, open source, and more.
(Book PDF Download)

Application Server Matrix

The Application Server Matrix is a detailed listing of J2EE vendors and their application server products, with information on latest version numbers, J2EE spec support and licensing, pricing, platform support, and links to product downloads and reviews.
(Application Server Comparison Matrix)

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
Java Solutions
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map