JDBC

Hello friends,

Iam doing one project which involves client and server architecture.

I am storing the data in database and when each client request for the data it should retrive the data from database this part i have done but my question is when first client sents request for the data in the database is it possible to store tat database into the memory.After tat any number of client can access tat data from tat memory .

Do any one know how to do tat?

If anyone knows plz send me the answer.

Thanks in advance.

Regards,

laxmi

[578 byte] By [sreelaxmia] at [2007-11-27 10:54:28]
# 1

> Hello friends,

>

> Iam doing one project which involves client and

> server architecture.

> I am storing the data in database and when each

> client request for the data it should retrive the

> data from database this part i have done but my

> question is when first client sents request for the

> data in the database is it possible to store tat

> database into the memory.After tat any number of

> client can access tat data from tat memory .

>

> Do any one know how to do tat?

>

> If anyone knows plz send me the answer.

>

> Thanks in advance.

>

> Regards,

> laxmi

Store the database in memory or store some data in memory?

manuel.leiriaa at 2007-7-29 11:50:26 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2

why make it so complicated?

if you stored some data in the memory it could cause trouble what if the system crashes

you will also lost all your valuable updates and other things.

Message was edited by:

Yannix

Yannixa at 2007-7-29 11:50:26 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 3

Review your database documentation. Many databases and/or ORM solutions can/do provide caching (query plan as well as data caching) for you already.

SoulTech2012a at 2007-7-29 11:50:26 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 4

Hello There

You must work out the best architecture for your project. There are lots of Model available nowadays that works on a Data pool system. You don't have to worry about all this

Good Luck

Ranjith

ranjith98a at 2007-7-29 11:50:26 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...