File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes creating table on client side Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "creating table on client side" Watch "creating table on client side" New topic
Author

creating table on client side

deepak borole
Greenhorn

Joined: Nov 13, 2005
Posts: 25
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.....


Winners Dont Do Different Things, They Do Things Differently !!!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39548
    
  27
Do you mean you want a database on the client as well? There are a few Java databases that can be embedded, like HSQLDB.


Ping & DNS - updated with new look and Ping home screen widget
Joel McNary
Bartender

Joined: Aug 20, 2001
Posts: 1815
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.


Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
deepak borole
Greenhorn

Joined: Nov 13, 2005
Posts: 25
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

Joined: Nov 21, 2005
Posts: 138
Use javascript. For table use multi dimensional arrays
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29249
    
139

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
wood burning stoves
 
subject: creating table on client side
 
Similar Threads
passivate client
J2EE Presentation Tier
JMS java messaging service
how can a server PUSH client?
Can dynamic data be shown to the clent using jsp