Re: Return a JDBC ResultSet from RPC via DTO
Hi Russ, i am also new to GWT but i think Gilead (http://sourceforge.net/ projects/gilead/) should help you to get the info as a DTO ! br johannes On 11 Jan., 16:38, Russ r...@epcinternet.com wrote: Hi, I understand that I can't return an actual JDBC ResultSet from an RPC. Can someone point me to an easy example of how to use a ArrayList or a custom DTO that I can use to transfer the ResultSet data back to the client? Hopefully this example can include the definitions for TheService.java, TheServiceAsync.java and TheServiceImpl.java. I don't need the entire code - just the function/class definitions, and the line that casts the ResultSet. Much thanks in advance. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Return a JDBC ResultSet from RPC via DTO
Hi, I understand that I can't return an actual JDBC ResultSet from an RPC. Can someone point me to an easy example of how to use a ArrayList or a custom DTO that I can use to transfer the ResultSet data back to the client? Hopefully this example can include the definitions for TheService.java, TheServiceAsync.java and TheServiceImpl.java. I don't need the entire code - just the function/class definitions, and the line that casts the ResultSet. Much thanks in advance. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Return a JDBC ResultSet from RPC via DTO
http://code.google.com/intl/fr-FR/webtoolkit/doc/latest/tutorial/RPC.html On 11 jan, 16:38, Russ r...@epcinternet.com wrote: Hi, I understand that I can't return an actual JDBC ResultSet from an RPC. Can someone point me to an easy example of how to use a ArrayList or a custom DTO that I can use to transfer the ResultSet data back to the client? Hopefully this example can include the definitions for TheService.java, TheServiceAsync.java and TheServiceImpl.java. I don't need the entire code - just the function/class definitions, and the line that casts the ResultSet. Much thanks in advance. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Return a JDBC ResultSet from RPC via DTO
Thank you, but I've already gone through that. That's how i was able to create my app in the first place. All I'm looking to do now is find out how to wrap a JDBC ResultSet in a DTO or ArrayList. On Jan 11, 12:24 pm, philippe vonck...@yahoo.fr wrote: http://code.google.com/intl/fr-FR/webtoolkit/doc/latest/tutorial/RPC -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Return a JDBC ResultSet from RPC via DTO
Russ, Not sure if this helps, but this article has a fair amount of discussion regarding Hibernate-DTOs-GWT-based client. It may be worth a read. http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html On Mon, Jan 11, 2010 at 12:28 PM, Russ r...@epcinternet.com wrote: Thank you, but I've already gone through that. That's how i was able to create my app in the first place. All I'm looking to do now is find out how to wrap a JDBC ResultSet in a DTO or ArrayList. On Jan 11, 12:24 pm, philippe vonck...@yahoo.fr wrote: http://code.google.com/intl/fr-FR/webtoolkit/doc/latest/tutorial/RPC -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Return a JDBC ResultSet from RPC via DTO
Thanks Chris. I was hoping to accomplish this without the use of any 3rd party apps - just using Java and GWT. On Jan 11, 2:41 pm, Chris Ramsdale cramsd...@google.com wrote: Russ, Not sure if this helps, but this article has a fair amount of discussion regarding Hibernate-DTOs-GWT-based client. It may be worth a read. http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.