You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Hewko, Doug" <Do...@ccra-adrc.gc.ca> on 2001/07/31 13:50:25 UTC
Cocoon and Databases
Hi! I would like to try the database example on the Cocoon2 default page. I
have MS Access 2000 (standalone) installed. Where do I get an interpretter
to communicate between my database and Cocoon2? I looked on Apache's Cocoon
web site without any luck. I checked Microsoft but could find nothing to
link to MS Access.
Any other suggestions?
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Cocoon and Databases
Posted by Berin Loritsch <bl...@apache.org>.
"Hewko, Doug" wrote:
>
> Hi! I would like to try the database example on the Cocoon2 default page. I
> have MS Access 2000 (standalone) installed. Where do I get an interpretter
> to communicate between my database and Cocoon2? I looked on Apache's Cocoon
> web site without any luck. I checked Microsoft but could find nothing to
> link to MS Access.
>
> Any other suggestions?
Please don't use MS Access.
Microsoft will never lift a finger to support Java--so none of their databases
will have a JDBC driver. The Cocoon website is not a place to find information
on drivers, so you are on your own to find a decent JDBC compliant driver for
MS Access.
There was also a recent discussion on this list regarding the JdbcOdbcBridge
driver that Sun provides in its JREs. You can't really use that for technical
reasons that I really don't want to get into right now.
Here is my experience with Access in general, and why you should never develop
with it for serious solutions:
* MS Access allows you to be lazy, and will keep working even when the database
is not set up correctly. This means when you plan to move the database to a
real RDBMS you will have to rework your database and ultimately your code.
* MS Access SQL is not standard--esp. concerning dates. If you access custom
code (aka modules) from Access SQL statements--you have to rewrite the query
when you migrate.
* MS Access table structure is to easy to manipulate. Many fledgling companies
think that this is an asset--as did mine before I joined. What this results
in is each developer with a slightly different schema and code that won't work
universally.
* MS Access has no security. Anyone can access the data and manipulate it. It's
so called security layer is easy to circumvent and only serves to lend a false
sense of security.
* MS Access cannot be centrally managed in an effective manner. It is true that
you can send out replicated databases--but in practice replecation has proven
to be both unweildy and still does not address central management of the database.
Central management is essential to web-based access.
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Cocoon and Databases
Posted by java guru <ja...@yahoo.co.in>.
Hi.,
C2(or any java stuff) need something called
jdbc(java database connectivity) driver to connect to
any database. This is similar in concept to ODBC
driver enabling the applications access database.
Various databases have their own specific java jdbc
drivers. But all the databases supporting odbc have
one common jdbc driver developed and it is JDBC-ODBC
driver since it is java jdbc layer over odbc
driver...Follow the steps
1. Create odbc entry on ur windows machine for ur
ms-access db
2. Know how to specify a jdbc driver information on c2
3. Read little bit about jdbc-odbc driver(all u need
is proper driver name, url(nothing but a string
specifying link to ur odbc stuff), user id/password is
u have set it up on odbc setup...
4. The interpreter you mentioned is nothing but the
jdbc-odbc driver and ships with your standard jdk by
sun and other vendors
If u still not able to get thru..drop in mail and i
will provide some example..
good luck
--- "Hewko, Doug" <Do...@ccra-adrc.gc.ca> wrote:
> Hi! I would like to try the database example on the
> Cocoon2 default page. I
> have MS Access 2000 (standalone) installed. Where do
> I get an interpretter
> to communicate between my database and Cocoon2? I
> looked on Apache's Cocoon
> web site without any luck. I checked Microsoft but
> could find nothing to
> link to MS Access.
>
> Any other suggestions?
>
>
---------------------------------------------------------------------
> Please check that your question has not already been
> answered in the
> FAQ before posting.
> <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail:
> <co...@xml.apache.org>
> For additional commands, e-mail:
> <co...@xml.apache.org>
>
=====
Thanks and have great day
srini
____________________________________________________________
Do You Yahoo!?
For regular News updates go to http://in.news.yahoo.com
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>