My directory structure is something like this --- domain --- service --- some more server package --- Domain.gwt.xml
and then i just inherit the domain class like this <inherits name="package.name.Domain" /> in my Domain.gwt.xml I have entry like this <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.6.4//EN" " http://google-web-toolkit.googlecode.com/svn/tags/1.6.4/distro-source/core/src/gwt-module.dtd "> <module> <inherits name='com.google.gwt.user.User' /> <source path="domain" /> </module> -- On Sun, Sep 6, 2009 at 2:10 PM, MamboJumbo <[email protected]> wrote: > > Hello Parvez, > I tried to do that but I get "no source code is available exception" > for my entity class when I am compiling GWT. Could you show me some > example how to do that? > Thanks > > On Sep 5, 12:48 am, Parvez Shah <[email protected]> wrote: > > Yes you can .. > > Your entity with JPA annotation will work you can keep your entity in > your > > EJB project just keep the package declaration same as your client Module > .. > > and use your entity as DTO > > > > > > > > On Fri, Sep 4, 2009 at 8:23 PM, MamboJumbo <[email protected]> > wrote: > > > > > I searched this DTO question for a while but could not find a an > > > answer. Maybe you know guys? Is it possible to import a GWT DTO class > > > defined in the GWT client package in the EJB session bean, so that DTO > > > can be instantiated in the session bean? If we had a dynamic web > > > project with GWT and an EJB project with session beans. > > > Thanks > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
