List:MySQL and Java« Previous MessageNext Message »
From:Mark Matthews Date:January 20 2003 3:41pm
Subject:Re: JDBC Interface for Embedded Server ?
View as plain text  
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

raffi@stripped wrote:
> I would definitely do whatever I can to assist in such a project. I 
> think it would be great.

I can also help (with some internals) to get this going. However, 
there's a couple of things you should know:

1. It will probably be slower than just embedding a 'normal' MySQL 
server with your application, because of JNI call overhead.
2. There will be threading issues.
3. You will have to maintain a multi-platform codebase if you want this 
to become popular enough to have a following.

It might make more sense to re-factor Connector/J a bit, and have 
'pluggable' backends...sockets, etc. As it stands now, you should just 
be able to re-work the MysqlIO class a little bit and plug in your calls 
to libmysqld there.

	-Mark


- -- 
MySQL 2003 Users Conference -> http://www.mysql.com/events/uc2003/

For technical support contracts, visit https://order.mysql.com/?ref=mmma

     __  ___     ___ ____  __
    /  |/  /_ __/ __/ __ \/ /  Mark Matthews <mark@stripped>
   / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Full-Time Developer - JDBC/Java
  /_/  /_/\_, /___/\___\_\___/ Flossmoor (Chicago), IL USA
         <___/ www.mysql.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.1.90 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+LBi3tvXNTca6JD8RAksnAJ46QqmieRu4vHA04Z9bVNdhnO5s+wCeICTY
DnmByq5pdP5eeIB4500v6E8=
=o4Q3
-----END PGP SIGNATURE-----

Thread
JDBC Interface for Embedded Server ?Peter Schäfer20 Jan
  • Re: JDBC Interface for Embedded Server ?Mark Robson20 Jan
  • Re: JDBC Interface for Embedded Server ?raffi@dcit.com20 Jan
    • Re: JDBC Interface for Embedded Server ?Mark Matthews20 Jan
      • Re: JDBC Interface for Embedded Server ?Tim Endres20 Jan
        • Re: JDBC Interface for Embedded Server ?Mark Matthews20 Jan
          • RE: JDBC Interface for Embedded Server ?Peter Schäfer20 Jan
            • Re: JDBC Interface for Embedded Server ?Mark Matthews20 Jan
      • Re: JDBC Interface for Embedded Server ?raffi@dcit.com21 Jan
        • Re: JDBC Interface for Embedded Server ?Mark Matthews21 Jan
      • JDBC RealmFrank Daly27 May
RE: JDBC Interface for Embedded Server ?Peter Schäfer20 Jan