You can manually create a gadget spec and use exactly the same application for both, but your app won't be able to use the gwt-gadget API, because it bootstraps from a subclass of Gadget, not EntryPoint. If you use the gwt-gadget library, it substitutes a different primary linker and automatically creates the gadget.xml file for you, but doesn't generate a regular web page bootstrap.
I suggest you use two different top level GWT module definitions and then just inherit the same sub-modules to implement your app. That way, you should be able to share a good deal of logic between the two different ways of accessing your app. On Sat, Jul 23, 2011 at 2:23 AM, Михаил Марёнов <[email protected]> wrote: > I successfully created gadget using Getting Started with Gadgets and GWT > > I want to know: > > Is it possible to work on gadgets in development mode? I want to change the > code and see the results. Or i need to compile and publish the gadget every > time i change code? > > I want my GWT GAE application to be both normal GWT app and a google gadget. > When user enters http://mygadget.appspot.com/ i want him to see normal GWT > app. But when user > accesshttp://mygadget.appspot.com/axogadget/com.axdms.gadget.client.AxObjectGadget.gadget.xml he > gets the gadget. Is it posible? Or it has to be 2 different GAE > applications? (Normal GWT app and gadget have different functionality). > Multiple entry points? > > -- > 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/-/Iil9t7vTNTEJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- Eric Ayers | Software Engineer | [email protected] | +1 404 487 9229 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
