I want to use in memory database, (NO RDBMS) in GWT
like when the application starts it retrieve values from the in memory database .
I have no idea how to do this
If anyone can guide me with this
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What you are asking for doesn’t really make sense, and isn’t directly possible.
GWT is a client-side library – it compiles to Javascript and runs like JQuery would do, entirely in the browser. Using RPC or RequestFactory you can talk to existing Java classes on the server using their provided servlets, or you can use any kind of AJAX to get data from the server.
It isn’t possible to make connections directly to the server from the browser. Instead, your client should open a connection to the server, and let the server make the connection. If using Java on the server, look for tutorials to connect to a in memory db from Java.