Do not use EJB for persistence (EJB only for CORBA or other, but never persistence).
At minimum write a DAO layer so you can replace EJB with a rowSet or a commonsSQL based persistence, once you realize EJB problems.
See www.basebeans.com/bad.jsp, or search on EJB on Google. I find mostly new programers try EJB, but EJB can lead to major issues in development and worse ones in production.


.V
Struts Mentor
917 345 1445


Zeltser, Mark wrote:
Andrew,

Read Chuck's chapter on EJB+Struts at
http://www.theserverside.com/resources/strutsreview.jsp

Mark.

-----Original Message-----
From: Andrew Lubalin [mailto:alubalin@;csc.com]
Sent: Monday, November 04, 2002 4:09 PM
To: [EMAIL PROTECTED]
Subject: Connection Pool for EJBs


I am planning on using EJBs for my business tier in my application.  If I
configure a datasource and create a connection pool using Struts, will this
pool be global?  Will it be container managed or should I create my
connection pool independent of Struts and use it conjunction with the
framework.  What is the best way when using EJBs?


--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>


------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the designated recipient(s) named above.  If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited.  This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such.  All information is subject to change without notice.



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to