I just to want to add a few things that I think are quite important.
First of all, the J2EE specifications allow (and require availability of)
JDBC from applications but not from applets. Then, and this is
probably the biggest issue, transaction management is not available
from both applets and applications.
This really limits any advanced two-tiers architecture.
Loïc
> ----------
> From: Jeff Schnitzer[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list for Enterprise JavaBeans development
> Sent: Thursday, February 08, 2001 00:43
> To: [EMAIL PROTECTED]
> Subject: Re: How does JDBC from application clients work?
>
> I didn't really intend to start a discussion of whether or not JDBC
> should be used from clients; I'm fully aware that it violates the EJB
> paradigm of separating presentation from business logic. But the J2EE
> spec allows for it, so I'm rather curious about how it is implemented.
>
> This all started as a thread on the Orion-Interest list started by a guy
> who found that he was able to dramatically increase the performance of
> his client applicaiton by accessing records through JDBC. I don't know
> what he was doing or why he needed the logic in the client, but I'm
> willing to set that aside. He found that he didn't need to package the
> JDBC driver with the client when using WebLogic, but hasn't figured out
> how to make Orion behave in like fashion.
>
> This has provoked some debate about how this all works that nobody has
> been able to answer. Richard, your comments about WebLogic have shed
> quite a bit of light on the subject. Thank you!
>
> Now I'm even more curious: What do other application server vendors do?
> It seems like implementing this JDBC proxy would be a lot of effort for
> something that would so rarely be used.
>
> Jeff Schnitzer
> [EMAIL PROTECTED]
> No, *I* haven't committed such a two-tiered transgression, and don't
> plan to... but I've just gotta know how *everything* works :-)
===========================================================================
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".