Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
Subject: Persistence with JDBC ???

Subject: Persistence with JDBC ???

2005-10-11       - By Nadeem Khan

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

If this is a critical, high-volume transactional system (as you state below)
don't you need to use EJBs for the transaction control they provide (instead
of just servlets)? If you do use EJBs, then CMP comes along in the deal and
takes care of your persistence problem as well.

Regards,
Nadeem Khan

-- --Original Message-- --
From: An interest list for Sun Java Center J2EE Pattern Catalog
[mailto:J2EEPATTERNS-INTEREST@(protected)] On Behalf Of Juan Carlos
Sent: Monday, October 10, 2005 7:51 PM
To: J2EEPATTERNS-INTEREST@(protected)
Subject: Persistence with JDBC ???

Hi everybody, I'm migrating a legacy system from pl/sql to J2EE.
Initially i had to use an implementation of JDO, but after trying to
translate lots of query without getting a good performance and, in many
cases, being almost impossible to translate them, we are planning to use
other persistence system. Some people suggested me to use JDBC and call
directly stored functions or execute statements.
I've tried it and it performs much faster than with JDO. I think it's
normal, since now we are avoiding to create the objects and simplifying
considerably the number of queries (JDO generates lots).

Although JDBC is faster, I know that there are some issues I should
consider before adopting it. The one that more worries me is the cache
management. The system manages lots of data and users, and same queries
are invoked once and other.

Do you think that JDBC is a good solution? Is that enough for a big
web-based system?

I know that I could use Hibernate but initially the chiefs didn't want
to use free software for persistence, since is a very critical system
and they always want to have some comercial ''support''..
Another thing is that the system is based only in servlets (with Struts)
and doesn't use any kind of EJB.

Thanks in advance!!

====================================================================
Companion Site: http://www.corej2eepatterns.com
J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns
List Archive:
http://archives.java.sun.com/archives/j2eepatterns-interest.html
Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to
listserv@(protected)

====================================================================
Companion Site: http://www.corej2eepatterns.com
J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns
List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html
Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.