Or a disconected rowset, so no copying.
Ex:http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal_07/src/basicWebLib/org/commons/DAO/BasicDAOImpl.java?rev=1.2content-type=text/vnd.viewcvs-markup
.v
Felipe Schnack wrote:
I think a LinkedList would be better performance-wise,
Try this code:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal_07/src/basicWebLib/org/commons/DAO/BasicDAOImpl.java?rev=1.3content-type=text/vnd.viewcvs-markup
.V
neal wrote:
Oh yeah, and this is the source code for creating a connection:
protected Connection
Consider draping a DAO around your persistence.
This way you can replace EJB with JDO or RowSet, should you need to
Ex DAO interface:
replacing EJB's entity
beans with DAO, right? (As opposed to session and message beans) (I've
never used DAO, just TopLink and CastorJDO instead of Entity beans or as
BMP entity beans)
On Thu, 2002-08-15 at 08:11, V. Cekvenich wrote:
Consider draping a DAO around your persistence.
This way you
wrote:
| -Original Message-
| From: V. Cekvenich [mailto:[EMAIL PROTECTED]]
| Sent: Thursday, August 15, 2002 10:28 AM
| To: Tomcat Users List
| Subject: Re: Enterprise Java Beans (EJB)
|
| No
| Here is what:
| Bean (formBean in Struts for example) delegate to DAO for CRUD
Ned Wolpert wrote:
Correct me if I'm wrong, but its still only the persistance side, right?
Or would use use it to replace session beans? I can see it replacing
Entity beans, and the DAO layer uses entity beans; then your session
beans would talk to the DAO layer which did all (only?)
There is a sample basicPortal.sourceforge.net that does this, you can
look at source code... and there is deployment docs.
v.
Kevin Andryc wrote:
I was wondering how I can only protect certain classes in my application.
For example, if someone tries to access a servlet (i.e.:
This should be a faq:
http://poolman.sf.net is perhaps most popular (but not updated).
Tomcat comes with it's own (but can't be unit tested)
and... a good sample good practices tomcat web app is at
basicPortal.sh.net.
hth,
V.
Felipe Schnack wrote:
Anyone uses pgSQL with Tomcat 4? I'm
I think there is no reason to use Apache.
Tomcat can do it all and it is simpler this way.
Plus Tomcat can do JSPs, etc.
V.
Barry Moore wrote:
I have not used Tomacat in a couple years. The last
time I used it, our companies policy was to integrate
with Apache and get Apache to do the
A FAQ is what is good practice for JDBC connection pooling and how to
use it with Java Beans.
My Ans, with working source code:
(A good practices is: a property that has a getter/setter in a bean, and
a bean has a DAO it delegates to.)
You could have a DAO with a class/static initialize that
in MySQL, I'm having to use a lot of list and select statements. It really
sucks.I just have to track down
the bug and re-evaluate some other things. Quickly:)
- Original Message -
From: V. Cekvenich [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 29, 2002 8:49
http://www.theserverside.com/home/thread.jsp?thread_id=15802
V.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Usig Access as a DB will be lead to an endless amount of frustration.
FoxPro is ok, MS SQL is great. I use pgSQL from postgres.org.
V.
Glinn Cortez wrote:
anyone who can suggest to me what JDBC Driver to use for MS Access 2000
running in WIN2000?
thank you...
r/glinn
Rick
axis on xml.apache.org
Alphonsus wrote:
Hi all,
could anyone please tell where I can find a Java Soap List? Also where
can I find the old threads of this list (Tomcat)?
TIA,
Alphonsus.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands,
Using Tomcat beacuse it's free is a mistake. You should allways use the
best:
http://www.opensource.org/advocacy/case_for_business.php
In general Tomcat is less buggy than comercial products.
Also, I do ecourage you to get paid support from Oracle, BEA, etc. See
how they support you, since you
Using Tomcat beacuse it's free is a mistake. You should allways use the
best:
http://www.opensource.org/advocacy/case_for_business.php
In general Tomcat is less buggy than comercial products.
Also, I do ecourage you to get paid support from Oracle, BEA, etc. See
how they support you, since you
Well
One good practice is to read XML from a DB. Put your content in an XML
filed in a DB table.
Then you can render many ways:
1. Stuts/Styx on Borswer Side XSLT
2. JSTL C:Transform
3. Async. by rendering to an HTML field in same table, so there is no
view time rendering.
basiPortal.sf.net
17 matches
Mail list logo