If you use CMP Entity Beans then you will probably be modelling your job
listings individually as entity beans.  This may not be fast enough, not to
mention it might be overkill.  You might want to consider just using a
stateless session bean which fetches the listings using JDBC.  It all
depends on how many listings you have, what their usage pattern is, is it
likely they'd all fit in the Entity instance cache, how fast it all has to
run.  I don't know about CMP finders, you could perhaps check out the
various test beans which have been written to see what can be done, and what
has been tested.  There are also some code changes which you'll need to make
Oracle/CMP work well, I've sent these along to the JAWS mailing list in the
hope somebody will check them in.

Cheers

-----Original Message-----
From: Jeremiah Johnson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 23, 2000 4:26 PM
To: jBoss
Subject: RE: [jBoss-User] CMP with Oracle and Jboss?


Start by reading the quick-start guide for CMP with Oracle and jBoss at
http://www.telkel.com/bugzilla/showattachment.cgi?attach_id=14

Other documents in bug #133 may also be helpful:
http://www.telkel.com/bugzilla/show_bug.cgi?id=133

CMP sounds like a good plan except your need for finder methods.  I wouldn't
know how to do specific finder methods with CMP - maybe someone else can
help with that.

- jeremiah

------Original Message------
From: "Robert Nicholson" <[EMAIL PROTECTED]>
To: "Jboss-User" <[EMAIL PROTECTED]>
Sent: August 23, 2000 4:23:44 PM GMT
Subject: [jBoss-User] CMP with Oracle and Jboss?


What do I need to add to Jboss to do CMP with Jboss and Oracle?

My requirement is just to pull some information out of a database. ie. it's
read only.  I have a list of job listings that I put on a web page.

Can I query CMP through generated finder methods with Jboss? Or do I have to
use JDBC in my ejbFind... methods?

Is CMP overkill? I'd like to try it out.

I take it the correct way to do this is to write a session bean to deliver
the data back to my "client" servlet.



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to