The compiler need to know the .java files(included in the gwt.xml and in the classpath) from your domains,
and if you dont like to create a dto you need to use the requestbuilder backed with the valueproxy and beanproxy...
I have one question, how you access the ear beans form the war? Using remote interfaces and jndi lookup or?!
Am Freitag, 22. Februar 2013 01:33:20 UTC+1 schrieb Kris:
I have a maven project consisting of a parent project with 3 modules.--1. Modul is a GWT webapp.2. Modul is a jar module using session beans and Hibernate. called server module3. Modules is module that builds the ear file ( maven-ear-plugin )In the webapp I created a GWT gui than can create records in the database.It does that with an injected session bean from the server module.Second I can search for records in the database.This is also done vie the session bean.And here is the problem.I have a hibernate entity bean in the server module. ProductWhen searching the session bean returns a list of product beans to the GWT server implementation.The webapp knows about the product bean cause maven dependencies.I would like this list of products to be listed in the gui.But when compiling :No source code is available for type com.xx.yy.server.model.ProductSure enough, the product bean in a maven dependency.I can of cause create a new product DTO in the webapp an convert the product bean to this product DTO... but that sounds stupid.Anyone got a good solution for this.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment