dbTalk Databases Forums  

Question about Berkeley DB C++ and Java

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss Question about Berkeley DB C++ and Java in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Marco
 
Posts: n/a

Default Question about Berkeley DB C++ and Java - 10-31-2006 , 02:03 AM






Hi,
is possibile for two application (one C++ and one Java) shared access to
a Berkeley DataBase ???

Thanks

Reply With Quote
  #2  
Old   
hrsquare
 
Posts: n/a

Default Re: Question about Berkeley DB C++ and Java - 10-31-2006 , 04:57 AM






http://www.chennaiopenings.com/


Reply With Quote
  #3  
Old   
Michael Cahill
 
Posts: n/a

Default Re: Question about Berkeley DB C++ and Java - 10-31-2006 , 05:49 AM



Hi,

Yes, that is possible using the C++ and Java APIs to Berkeley DB (but
not using Berkeley DB Java Edition, which is Java-only).

You will of course need to encode data in such a way that it can be
unpacked in both langages (so relying on the size of a C++ "long" is
not a good idea), but there are no problems having multiple languages
share data via a Berkeley DB database environment.

Regards,
Michael.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.