In Eclipse, goto your project Properties; Select Google -> Web Toolkit You can manage the applicable EntryPoint classes for your project from here.
Regards, Nirmal On Nov 9, 2:18 am, John Gentilin <[email protected]> wrote: > I found my problem, my RemoteCommandProxy class which is > used as a wrapper around a HashMap also defined some instance > variables and it appears that GWT had a problem serializing the > class. > > I also moved my framework code outside of the main app package > and created a Module xml file for it, that is included as an Inherit > in the main application module. It all works fine except for this > one annoying thing when I go to compile, the module xml file > shows up as an EntryPoint that I need to delete so it will successfully > compile. Is there any Ignore me for an EntryPoint attribute that > needs to be set ??? > > -John Gentilin > > On 11/7/10 4:22 PM, John Gentilin wrote: > > > I am trying to create a framework for a GWT app I am writing. This > > framework will want to implement and handle all the Service, > > ServiceAsync and ServiceImpl classes. The main application classes > > will extend the framework view class, and the application serverImpl > > class will extend the frameworkImpl class. > > > I have implemented the framework as a child of my main App so it > > goes.. > > app > > client > > server > > shared > > framework > > client > > server > > shared > > > and I have added framework/client and framework/shared to my source > > definition.. > > > The App compiles and sort of runs, but I am having two problems.. > > > 1) the App compiles fine, but in my main app client classes, the > > classes I refer to > > from my framework package are reported as unreachable in the editor. > > Source > > path problems... > > > 2) when I run the app, my click event successfully invokes my client > > side handler, > > but I never get a response, actually I don't think it sends a request > > as my server impl. > > The serverImpl servlet is never loaded or goes thru init() > > > My questions are: > > > Given the code below does anything look out of line ? > > Is this the way to implement a module ? > > How do you debug into the RPC call to see what GWT is calling ? > > > Thank you > > John Gentilin > > > the client side handler is > > public void performAction( RemoteCommandProxy cmd ) > > { > > final RemoteCommandProxy _cmd = cmd; > > > YAVCFService.performAction(_cmd.getName(), _cmd, new > > AsyncCallback<Map<String,String>>() { > > public void onFailure(Throwable caught) { > > _cmd.executionCompleteFailure(caught); > > } > > > public void onSuccess(Map<String, String> result) { > > _cmd.executionCompleteSuccess(result); > > } > > }); > > > } > > > where RemoteCommandProxy extends HashMap and represents the parameters > > passed to the server impl. > > The idea is I am invoking one servlet interface that takes as > > parameters a command name and a map of > > named value pairs as parameters. This function returns a Map of named > > value pairs in response. > > > My interfaces are defined as follows > > > @RemoteServiceRelativePath("yavcf") > > public interface YAVCFClient extends RemoteService { > > Map<String, String> performAction(String name, Map<String, String> > > parameters) > > throws IllegalArgumentException, InvalidCommandException, > > NoSessionException;; > > } > > > public interface YAVCFClientAsync { > > void performAction(String name, Map<String, String> parameters, > > AsyncCallback<Map<String,String>> callback); > > } > > > and my web.xml has the following servlet mapping. > > <servlet> > > <servlet-name>yavcfServlet</servlet-name> > > <servlet-class>com.ecs.toodlejirado.server.ToodleJiraDoServer</ > > servlet-class> > > </servlet> > > > <servlet-mapping> > > <servlet-name>yavcfServlet</servlet-name> > > <url-pattern>/toodlejirado/yavcf</url-pattern> > > </servlet-mapping> > > -- 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.
