Hi Sven, I think you're better of with JNI; but I'd like to suggest you use
a synched MQ intercepting the EJB/ANSI C traffic to implicitly set the
isolation lavel to serialized. The Connector API, AFAIK, won't help you
much, but could take the place of the MQ to simulate support for
trasactions.

HTH,

JP

> -----Original Message-----
> From: Sven van ´t Veer [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 22, 2001 4:15 PM
> To: [EMAIL PROTECTED]
> Subject: EJB & persistence through JNI
>
>
> The following situation exists at a client. They
> have a huge database (proprietary) that may only be accessed
> through an (ansi)C
> library. They want to setup a J2EE web application to search
> and show the
> contents of the database. AFIK there are two options, using
> CORBA or using
> JNI. IMHO jni is the best solution for this problem, in which
> case I would
> either have Entity or Session beans using JNI to talk to the
> database through
> the C library.
>
> Is there anyone who has already implemented such a solution?
>
> Any ideas on the best way to implement this? The database
> access will be
> read-only, I´m considering using stateles/statefull
> beans to obtain the information
> from the database or should I use Entities anyway (BMP).
> I´ve read someting
> about the Connector interface being part of EJB 2.0, could
> this help me in
> any way ?
>
> Sven
>
> ==============================================================
> =============
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff EJB-INTEREST".  For general help,
> send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
>
> ______________________________________________________________
> ______________
> For your protection, this e-mail message has been scanned for Viruses.
> Visit us at http://www.neoris.com/
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to