Yes, if you are using BMP and you use JDBC *inside the container* then yes
you can access the database directly.
-----Original Message-----
From: Tim Yates [mailto:[EMAIL PROTECTED]]
Sent: 20 December 2000 11:23
To: jBoss
Subject: [jBoss-User] Simple question...
Hiya!
We have a working BMP/EJB model for content entry into our oracle database,
and I would just like to check that it is OK to have a JavaBean query the
database directly via JDBC to select all rows? I ask this, as the page
which lists all current content is a bit slow (and we only have 200 bits of
content in at the moment), so it would be quicker to perform a SELECT
statement on the dB...
Am I best doing this in the JavaBean layer, or the EJB layer (or does it not
really make a difference?)
Just thought I would consult the wise people of this list before I did
something stupid and got myself shouted at ;-)
Thanks for any response,
Tim.
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]