• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

creating table on client side

 
deepak borole
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am developing one application in which my main database will be on server and i need to create one table on the client side. how can i do that.....
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean you want a database on the client as well? There are a few Java databases that can be embedded, like HSQLDB.
 
Joel McNary
Bartender
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or, perhaps, you want the database to create a temparary table for a specific user. (I think Oracle can do that -- you'd have to check the Oracle documentation/consult an Oracle DBA for exactly how).

Otherwise, I would suggest using something like HSQL or some such. If you can explain why you need it, we might be able to come up with more practical suggestions.
 
deepak borole
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
wat i want to do is that....i have a main database on the server...and when some client will access my site the selected records should be stored at the client side....how can this be done..
 
Hemant Agarwal
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use javascript. For table use multi dimensional arrays
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34071
331
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deepak,
You mean you want a GUI table to represent your real database table? For a webpage, use HTML/Javascript/JSP. For an applet or client application, use Swing.

Either way, you use JDBC to get the data from the database table.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic