This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes GWT and the fly likes RPC & RF to manage db connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "RPC & RF to manage db connection" Watch "RPC & RF to manage db connection" New topic
Author

RPC & RF to manage db connection

Robert Spero
Greenhorn

Joined: Jun 22, 2013
Posts: 10
I am having a real hard time understanding requestfactory and rpc with hibernate or even if request facrory and hibernate do the samething! I have a root panel with a button where i want the button to run a query and return some data using the server side implementation as the server has access to a database that the clients dont. I have hibernate done from a previous plan old java project which i am redoing in gwt so i just want the database connection opened in the context seassion and in the request session have the clients run the query.

So is the only difference that rpc implements a server side database connection for every client who presses the button and request factory is one time connection and every time they press the button i can code it as just a query through the context connection on the server side that has access to the database.

Thamks for the help!
 
Don't get me started about those stupid light bulbs.
 
subject: RPC & RF to manage db connection
 
Similar Threads
Implementing java server
Lock Manager implementation
RMI Advantages / Disadvantages
Max's book's code example
applet or jsp for comm with servlet ?