Announcing a new episode of EasyGWT Podcast is available
EasyGWT Podcast Episode 05http://www.easygwt.com/easygwt-podcast-episode-05/ * * *In this episode we talk about:* - GWT 2.5 Release Candidate 2 is Releasedhttp://code.google.com/p/google-web-toolkit/downloads/list - Pro Account 2.0 Embraces Vaadin 7 and GWThttps://vaadin.com/blog/-/blogs/pro-account-2-0-embraces-vaadin-7-and-gwt - Develop Spring MVC and GWT applications using Spring Roo 1.2 and deploy them on Cloud Foundryhttp://www.ibm.com/developerworks/java/library/os-springroo6/index.html - GWT-Bootstrap 2.0.4.0 was released.https://github.com/gwtbootstrap/gwt-bootstrap - Hotelme.com Went To Public Beta With a Consumer Facing GWT/GAE Application http://hotelme.com/ - Go … Go … Inspector Gadgethttp://gwt-instrumental.googlecode.com/svn/latest/inspectorwidget/index.html - We love GWT ... we love it not ... we love GWT ... we love it not … WE LOVE IT at least some of us http://amplicate.com/search?q=gwt Power Tool This Week: *gwt-exporter Helps You Produce JavaScript libraries with GWThttp://code.google.com/p/gwt-exporter/ * Thanks, Gordon easygwt.com gwtcasts.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/QLIo-ZIUpiIJ. To post to this group, send email to google-web-toolkit@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.
Announcing Screencast on how to setup Gin for IOC
Hi everyone just wanted to let you know I released a screencast on using Gin in your GWT application to control the lifecycle of your objects. Gin extends the features of Guice for use in your client code. It can be beneficial in writing more componentized code, that is easier to test and or mock. Check it out and the source code is available on GitHub. http://www.gwtcasts.com/2012/10/05/gin-as-an-inversion-of-control-container-in-gwt/ Thanks, Gordon Pike easygwt.com gwtcasts.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/LRs_nMH9rnYJ. To post to this group, send email to google-web-toolkit@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.
Easy GWT Podcast Episode 04 has been released.
*Easy GWT Podcast Episode 04 has been released.http://www.easygwt.com/easygwt-podcast-episode-04/http://www.easygwt.com/easygwt-episode-02/We are pleased to announce the fourth episode of Easy GWT Podcast where we bring you the GWT news from around the net. If you develop with Google Web Toolkit then stay informed about GWT news. Find us at easygwt.com or on iTunes at easygwt-podcasthttp://itunes.apple.com/us/podcast/easygwt-podcast/id558103951 .* -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/fbXVpZP9_3IJ. To post to this group, send email to google-web-toolkit@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: Help in JSNI callback in javascript object
If you want the callbacks to call into your Java methods one way to do that is to assign those methods to a globally accessible Javascript variable. Then you can register those as callbacks to your on_event calls. The example I'm showing is static but you may be able to use instance methods. Something like (keep in mind I'm writing on the fly so may not be exactly right): public static void onSipEventStack(JavaScriptObject evt) { ... } public static native void exportStaticMethod(JavaScriptObject tsip) /*-{ $wnd.onSipEventStack = $entry(@mypackage.MySipClass::onSipEventStack(evt)); tsip.on_event_stack = $wnd.onSipEventStack; }-*/; You could also setup a Javascript overlay object for the tsip object so you can make calls to it from you Java code. I hope that helps. Thanks, Gordon Pike easygwt.com gwtcasts.com On Friday, September 28, 2012 8:08:57 AM UTC-6, JSNI NOOB wrote: Hi i need some help to do a wrapper to GWT. in javascript i have the following: (...) // create a new SIP stack. Not mandatory as it's possible to reuse the same satck oSipStack = new tsip_stack(txtRealm.value, txtPrivateIdentity.value, txtPublicIdentity.value) oSipStack.on_event_stack = onSipEventStack; oSipStack.on_event_dialog = onSipEventDialog; (...) // Callback function for SIP Stacks function onSipEventStack(evt) { // this is a special event shared by all sessions and there is no e_stack_type // check the 'sip/stack' code tsk_utils_log_info(evt.s_phrase); switch (evt.i_code) { case tsip_event_code_e.STACK_STARTED: (...) // Callback function for all SIP dialogs (INVITE, REGISTER, INFO...) function onSipEventDialog(evt) { // this is special event shared by all sessions and there is no e_dialog_type // check the 'sip/dialog' code tsk_utils_log_info(evt.s_phrase); switch (evt.i_code) { case tsip_event_code_e.DIALOG_TRANSPORT_ERROR: case tsip_event_code_e.DIALOG_GLOBAL_ERROR: case tsip_event_code_e.DIALOG_MESSAGE_ERROR: case tsip_event_code_e.DIALOG_WEBRTC_ERROR: So in my GWT-Wrapper using JSNI i make: public static native JavaScriptObject tsip_stack(String s_realm, String s_impi, String s_impu_uri ) /*-{ return new $wnd.tsip_stack(s_realm, s_impi, s_impu_uri); }-*/; How do i make the callback and is association to the javascript object. This project is to make an wrapper of sipml5 if someone had the wrapper it helps to Thanks Best Regards -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/p2iN06L0zQIJ. To post to this group, send email to google-web-toolkit@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: GWT podcasts?
I forgot they are both available on iTunes too. On Friday, September 21, 2012 6:02:41 PM UTC-6, gpike wrote: When I saw your question I wondered the same thing. I had looked before and didn't find much So I started 2 of my own. The first http://www.easygwt.com/ is a podcast I do with Jeff Maslo and we bring GWT related news items to you each week (or we strive for weekly). The second is http://www.gwtcasts.com/ where I hope to deliver bi-weekly screencasts that showcase GWT tips or techniques. We are just getting started but it should be interesting. Please check them out and let us know if you find them useful. Thanks, Gordon Pike On Tuesday, May 29, 2012 7:17:02 AM UTC-6, fishe...@gmail.com wrote: Can anyone recommend any good podcasts with some GWT content? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/X0ZKHqjVwP8J. To post to this group, send email to google-web-toolkit@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: GWTRuby? How to communicate?
I agree with tc. In your rails controllers set your respond_to blocks to render json then you can use RequestBuilder to make your rest calls. You can then create jsni methods that eval the json and return Javascript Overlay object that you can use in your app. During development you may want to setup Apache as a reverse proxy so that you can run your GWT code in dev mode and call your Rails services running on a separate port (because of the cross site scripting limitations they need to be on the same domain, which means same port too). Alternatively you probably could use JRuby during development and make sure you can still deploy to MRI. Thanks, Gordon Pike http://gwtcasts.com http://easygwt.com On Saturday, September 22, 2012 6:57:58 PM UTC-6, tc wrote: My guess is that you would set up restful services on the server in ruby and use the request builder in gwt to send Json On Sep 22, 2012 8:04 PM, darkflame dark...@gmail.com javascript: wrote: I am a prettyy experienced GWT developer, but have no knowledge of Ruby...has anyone used them together? I am on shared hosting which doesn't support servlets, so my only server side options are php or ruby. Id normally use php, but ruby seems to have a better supported lib I want to use for Jabber communication. Ergo, I need to learn Ruby, but I dont want to bother unless I can still leverage my gwt skills for the front end. Thanks for any pointers/feedback. -- 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-we...@googlegroups.comjavascript: . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. 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 view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/LU4czhM9GNUJ. To post to this group, send email to google-web-toolkit@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: How get iFrame contents with different domains ?
Hi, You can't directly in GWT it honors cross site scripting you can however drop down to Javascript. Write a JSNI method that accesses the containing docs parent (your app) by accessing top, then in your code you can access the iFrame and then it's document. Something like this: public static DocumentElement getFrameDocumtent() { FrameElement top = getTopDocument().getElementById(MyiFrame); return top.getContentDocument(); } public static native Document getTopDocument() /*-{ return top.document; }-*/; I haven't tested this code but pulled pieces from some of my working code to give you an idea. Hope that helps, Gordon Pike gwtcasts.com easygwt.com On Friday, September 21, 2012 2:28:25 AM UTC-6, Coco Gwt wrote: Hi, i have created an iFrame in my project that calls an external service (for example whatismyip.com) that returns my public IP. the problem is i cant get iFrame content, because there is a completly different domains. the question is how can i get this iFrame contents ? its very urgent please ! Thank you -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/9ai_kotJqZIJ. To post to this group, send email to google-web-toolkit@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: How get iFrame contents with different domains ?
On Friday, September 21, 2012 2:28:25 AM UTC-6, Coco Gwt wrote: Hi, i have created an iFrame in my project that calls an external service (for example whatismyip.com) that returns my public IP. the problem is i cant get iFrame content, because there is a completly different domains. the question is how can i get this iFrame contents ? its very urgent please ! Thank you -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/lmB_d13LWCAJ. To post to this group, send email to google-web-toolkit@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: How get iFrame contents with different domains ?
After sending this I realized I sent it too early. The code below only works after you get both documents under the same domain because of cross-site scripting protection in the browser. To bring them both under the same domain you can either setup Apache or Nginx as reverse-proxy or write a servlet deployed with your GWT server side code that proxies requests to the other domain. If you just have a couple of pages to proxy I would do the servlet approach. I've done both methods. There are a couple of example proxy servlets you could start with and deploy one of them in your web.xml. Thanks, Gordon Pike gwtcasts.com easygwt.com On Tuesday, September 25, 2012 10:26:53 AM UTC-6, gpike wrote: Hi, You can't directly in GWT it honors cross site scripting you can however drop down to Javascript. Write a JSNI method that accesses the containing docs parent (your app) by accessing top, then in your code you can access the iFrame and then it's document. Something like this: public static DocumentElement getFrameDocumtent() { FrameElement top = getTopDocument().getElementById(MyiFrame); return top.getContentDocument(); } public static native Document getTopDocument() /*-{ return top.document; }-*/; I haven't tested this code but pulled pieces from some of my working code to give you an idea. Hope that helps, Gordon Pike gwtcasts.com easygwt.com On Friday, September 21, 2012 2:28:25 AM UTC-6, Coco Gwt wrote: Hi, i have created an iFrame in my project that calls an external service (for example whatismyip.com) that returns my public IP. the problem is i cant get iFrame content, because there is a completly different domains. the question is how can i get this iFrame contents ? its very urgent please ! Thank you -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/dlSxNuydlFAJ. To post to this group, send email to google-web-toolkit@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: Logging in GWT
I use the built in GWT logging. It works for us, and we can use the remote logging so that info can be included in the server log in production. Your classes use java logging classes. Add the import and configure the loggers you want in the module file something similar to: inherits name=com.google.gwt.logging.Logging / set-property name=gwt.logging.firebugHandler value=ENABLED / set-property name=gwt.logging.enabled value=TRUE/ set-property name=gwt.logging.logLevel value=FINE/ set-property name=gwt.logging.consoleHandler value=ENABLED / set-property name=gwt.logging.developmentModeHandler value=ENABLED / set-property name=gwt.logging.popupHandler value=DISABLED / set-property name=gwt.logging.systemHandler value=ENABLED / set-property name=gwt.logging.simpleRemoteHandler value=ENABLED / If you use remote remote logging make sure to add the servlet to your web.xml. Thanks, Gordon Pike http://gwtcast.com http://easygwt.com On Wednesday, September 19, 2012 10:34:44 AM UTC-6, BM wrote: I know GWT document says to inherit com.google.gwt.logging.Logging. Does anyone have any suggestion on which is a standards or best practices or trusted third party JARs to use for logging GWT client side code? Any help is much appreciated. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/5oOX5g-fdmoJ. To post to this group, send email to google-web-toolkit@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: GWT podcasts?
When I saw your question I wondered the same thing. I had looked before and didn't find much So I started 2 of my own. The first http://www.easygwt.com/ is a podcast I do with Jeff Maslo and we bring GWT related news items to you each week (or we strive for weekly). The second is http://www.gwtcasts.com/ where I hope to deliver bi-weekly screencasts that showcase GWT tips or techniques. We are just getting started but it should be interesting. Please check them out and let us know if you find them useful. Thanks, Gordon Pike On Tuesday, May 29, 2012 7:17:02 AM UTC-6, fishe...@gmail.com wrote: Can anyone recommend any good podcasts with some GWT content? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/EcDu1mNOXmgJ. To post to this group, send email to google-web-toolkit@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: GWT podcasts?
On Friday, September 21, 2012 6:02:41 PM UTC-6, gpike wrote: When I saw your question I wondered the same thing. I had looked before and didn't find much So I started 2 of my own. The first http://www.easygwt.com/ is a podcast I do with Jeff Maslo and we bring GWT related news items to you each week (or we strive for weekly). The second is http://www.gwtcasts.com/ where I hope to deliver bi-weekly screencasts that showcase GWT tips or techniques. We are just getting started but it should be interesting. Please check them out and let us know if you find them useful. Thanks, Gordon Pike On Tuesday, May 29, 2012 7:17:02 AM UTC-6, fishe...@gmail.com wrote: Can anyone recommend any good podcasts with some GWT content? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ohCG03r_pwwJ. To post to this group, send email to google-web-toolkit@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: preview in case of iframe
The document inside you iFrame is a completely separate document and can be from a different domain as well so won't get any events just like you don't get events from other browser tabs. However you could communicate across the boundary by defining your own api's. What I mean is you can add Javascript methods to the containing document and call them from the child using top.insert method name. What I've done in the past is create 2 entry points (and modules), essentially two GWT apps, one for the parent window and the other for the child window. Using JSNI expose a well know method name on the parent that can be called. It can be a pain but we had an app that could be hosted in another app using a iFrame and could have hot key support for both passing key events to the parent. By the way this only works when both apps are from the same domain. Good Luck, Gordon Pike On Sunday, July 1, 2012 1:45:07 AM UTC-6, bhomass wrote: I have been struggling with this for the whole day and can't crack the nut. I know how things work when you call Event.addNativePreviewHandler(handler) to trigger event preview. The preview is meant to be a global concept so that anything events happening else where would get previewed. However, if an iframe is added into the picture, the previewer is apparently not so global. things happening inside the iframe does not trigger DOM.preview(evt), and therefore does not get previewed. I suppose this makes sense, that the iframe has an independent DOM structure from the parent. Does any one know of a way to bridge the two so that the two parts together still behaves truly in a GLOBAL way? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/YbsOYD8DLoQJ. To post to this group, send email to google-web-toolkit@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: I want to do POC with gwt-spring-hibernate
There is an example app at: http://code.google.com/p/gwtrpc-spring/ you could look at. Thanks, Gordon -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/NLHB7SjptsgJ. To post to this group, send email to google-web-toolkit@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: pass variable from JavaScript to GWT
If I understand your question correctly, you want to use a value that has been populated by JavaScript then it should be as simple as: public final native String getValue() /*-{ return $wnd.a; }-*/; but if you are wanting to pass the value to the JavaScript then it would be like: public static final native void setValue(String myValue) /*-{ $wnd.a = myValue; }-*/; Is that what you are asking for? Thanks, Gordon -- 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-toolkit@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: GWT RPC + Spring (saga)
Hi, You can use the Spring listener in the web.xml: listener listener-class org.springframework.web.context.ContextLoaderListener /listener-class /listener Then in any of your Servlets you can use the context: WebApplicationContextUtils.getWebApplicationContext (getServletContext()).getBean(someBean); If your looking for a simple way to do this checkout: http://devbright.com/2009/05/super-simple-gwt-spring-integration/ Gordon http://devbright.com On Jul 15, 8:30 am, cristi cristian.chiov...@gmail.com wrote: I saw a lot of article about integrating GWT RPC and Spring What do you thing (for begginers) this apporach is not ok ? In the web xml the application context is loaded via context-param param-namecontextConfigLocation/param-name param-value/WEB-INF/applicationContext.xml/param-value /context-param servlet servlet-namecontext/servlet-name servlet-classorg.springframework.web.context.ContextLoaderServlet/ servlet-class load-on-startup1/load-on-startup /servlet Ok the a regular service is created DummyService,DummyServiceAsynch,DummyServiceImpl DummyServiceImpl extends RemoteServiceServlet SomeSpringBean someSpringBean; public void init() throws ServletException { super.init(); ApplicationContext appContext = WebApplicationContextUtils.getRequiredWebApplicationContext (getServletContext()); someSpringBean = (SomeSpringBean) appContext.getBean (someSpringBean); } So in this way i have on server side kind of injected a spring bean i defined in appContext.xml I w8 your opinion ! Thx --~--~-~--~~~---~--~~ 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-Toolkit@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: Browser (IE) hangs when launched a GWT application in a child window
Hi Maddy, We had the same issue. What we found was if the window was closed while an rpc request was outstanding a port was blocked so subsequent calls would fail. To fix it we had to track and abort any rpc requests in a IWindowCloseListener. Gordon http://devbright.com On Jun 5, 12:52 pm, Maddy msures...@gmail.com wrote: Hi, My GWT application gets launched in a child browser from another parent brwoser. When the user closes the browser, while the GWT application is running and when he launches back the application again, IE hangs and it is just a blank screen.. This is not happening all the time and it happens occasionally. Application works fine in Firefox. Could anybody help me with this, as this is becoming a serious issue. --~--~-~--~~~---~--~~ 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-Toolkit@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: GWT and Hibernate XML files vs Annotations
Rafael, You could use annotations to describe the mappings but if not use the following. Since you are using Spring you can use their Hibernate support to look for mapping files in a particular directory. This way you don't have to call them out in the hibernate file. Lookup org.springframework.orm.hibernate3.LocalSessionFactoryBean. Here is an example: bean id=sessionFactory class=org.springframework.orm.hibernate3.LocalSessionFactoryBean property name=dataSource ref local=dataSource / /property property name=hibernateProperties props prop key=hibernate.cache.provider_class org.hibernate.cache.HashtableCacheProvider /prop prop key=hibernate.dialect org.hibernate.dialect.Oracle10gDialect /prop prop key=hibernate.show_sqlfalse/prop prop key=hibernate.format_sqlfalse/prop /props /property property name=mappingDirectoryLocations list value classpath*:/org/myexample/server/dao/hibernate /value /list /property /bean The mappingDirectoryLocations property tells spring to look for hbm.xml files in the org.myexample.server.dao.hibernate package. Then you need a *.hbm.xml for each table and the relationships are defined in those files. You also need a datasource described in your application context. Hope this helps. Gordon Pike http://devbright.com On May 20, 10:52 am, Rafael boraf...@gmail.com wrote: Hello everyone! I have the following problem and was hoping you guys could help me out. I have the need to implement a relation inheritance (table per subclass) so i searched the hibernate documentation. The thing is that i am using a project structure which i took from a tutorial i found, and i have the following configuration files: applicationContext.xml (Spring stuff i suppose) hibernate.cfg.xml (mappings) database.hbm.xml (hibernate query definitions) My question is where should the code to define complex relations should go, hibernate.cfg.xml or database.hbm.xml? Is it possible to take care of everything with annotations (eliminating the need to change xml files)? Thanks in advance y'all! PD: Thank you Eggsy for your tutorial on GWT, Hibernate ans Spring combined! very enlightning :) --~--~-~--~~~---~--~~ 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-Toolkit@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: Failed to import and run gwtrpc-spring example with Google plugin
Sorry I missed this thread before. Yes it was compiled for 1.6. I should have targeted 1.5 and will in the next release since there is no dependency on 1.6. It probably would be safe for 1.4 but I use Annotations so haven't needed it. Thanks, Gordon Pike http://devbright.com On May 19, 11:19 am, Alex Rudnick a...@google.com wrote: Hey again Hez, I think you're right -- it turns out that gwtrpc-spring-1.0.jar (if you downloaded it from the gwtrpc-spring project [0]), is compiled for Java 1.6. [0]http://code.google.com/p/gwtrpc-spring/ Thankfully, it's open-source, so you can probably grab their code and compile it for 1.5, or possibly poke the gwtrpc-spring developers and get them to make a 1.5-compatible build. If you take out your dependence on gwtrpc-spring and remove that jar from your classpath, does it prevent that error? Thanks! On Tue, May 19, 2009 at 2:52 AM, hezjing hezj...@gmail.com wrote: Hi In my current Eclipse, Window-Preferences-Java-Compiler, Compiler compliance level is 1.5. The problem still exist even after I have uninstall JRE 1.6, restarted Eclipse, cleaned and launched the project again. I'm just guessing wild here, do you think the libraries below could cause the problem? antlr-2.7.6.jar appengine-api-1.0-sdk-1.2.0.jar commons-logging.jar datanucleus-appengine-1.0.0.final.jar datanucleus-core-1.1.0.jar datanucleus-jpa-1.1.0.jar geronimo-jpa_3.0_spec-1.1.1.jar geronimo-jta_1.1_spec-1.1.1.jar gwt-servlet.jar gwtrpc-spring-1.0.jar jdo2-api-2.3-SNAPSHOT.jar spring-aop.jar spring-beans.jar spring-context.jar spring-core.jar spring-web.jar -- Alex Rudnick swe, gwt, atl --~--~-~--~~~---~--~~ 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-Toolkit@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: Bar code scanner
Hi Hez, It's been my experience that most if not all scanners come with either a hardware or software keyboard wedge. If it doesn't you may want to look at the problem differently. Provide a software keyboard wedge, what this will do is receive the input from RS-232 or USB and emulate keyboard input for the platforms you want to support. Then your GWT app doesn't have to worry about it. The one thing you may need to account for is sometimes the input is wrapped in a beginning and end character i.e. 1234 becomes *1234*. Regards, Gordon http://devbright.com On May 6, 9:35 am, hezjing hezj...@gmail.com wrote: Hi My customer is asking if my GWT application is able to accept input from the bar code scanner. I have not done anything with bar code scanner before this, but this is what I got from Google: A bar code scanner is typically comes with a keyboard wedge output or a RS232 output. I think there is no problem if using bar code scanner with keyboard wedge output, the scanner will input the string into the text field as if the user is typing it from the keyboard. The problem is when the customer is using bar code RS232 output, how do I populate the string into the text field? -- Hez --~--~-~--~~~---~--~~ 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-Toolkit@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 -~--~~~~--~~--~--~---
Announce: Simple GWT and Spring integration
If your looking for a clean simple way to allow your RPC services to hosted in Spring or have existing Spring services that you would like to access as RPC services then take a look at http://code.google.com/p/gwtrpc-spring/. GwtRpc-Spring provides a RemoteServiceDispatcher that takes rpc requests from the client and looks for the service in your Spring Context. Your service only needs to implement the particular remote service interface and be defined in your application context. The project can be found at: http://gwtrpc-spring.googlecode.com An example project can be found at: http://gwtrpc-spring.googlecode.com/files/GwtRpcSpringExample.zip And a tutorial at: http://devbright.com/2009/05/gwt-and-spring-introducing-gwtrpc-spring-project/ Enjoy, Gordon http://devbright.com --~--~-~--~~~---~--~~ 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-Toolkit@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: GWT and Spring annotation
Can you provide more information? Are you including one project in the other by including a jar etc..? What annotations are you using? (@Component, @Service etc..) Regards Gordon On May 2, 11:06 am, greg gregory.le.bonn...@gmail.com wrote: Hi, I have a problem with GWT and Spring integration. On Eclipse, I have 2 projects : GWT project (presentation) and Spring project (service). I am calling the spring context from a GWT remote service (WebApplicationContext). If I declare spring beans in a spring XML, I see them no problem. but if I try to declare beans with annotations I can't see them. If I declare these beans in the presentation project, then I can see them ! In conclusion, I have to put annotated beans in the another project than GWT one I can't see them... Do you have an idea of the problem ? Regards Greg --~--~-~--~~~---~--~~ 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-Toolkit@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 -~--~~~~--~~--~--~---