• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

GWT and EJB

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
i've done all the tutorials that i found on this site. Now i'm trying to use the gwt with ejb entities.I know that i have to modufy the *.gwt.xml file in order to make GWTcompiler to see my entity class.
Here's my project (using netbeans 6.7,gwt 1.6.4 and EJB 3.0)

GWTApplication-ejb
|
|-sourcepackage
|-ejb
|-Entities.gwt.xml
|-entity
| |-Item.java
|-session
|-ItemFacade.java
|-ItemFacadeRemote.java
|-ItemFacadeLocal.java

this is the Entities.gwt.xml file :

<?xml version="1.0" encoding="UTF-8"?>
<module>

<inherits name='com.google.gwt.user.User'/>
<source path="ejb/entity"/>
<source path="ejb/session"/>

</module>

GWTApplication-war
|
|-sourcepackage
|-org.yournamehere
|-Entities.gwt.xml
|-org.yournamehere.client
| |-GWTService.java
| |-GWTServiceAsync.java
| |-MainEntryPoint.java
|-org.yournamehere.server
|-GWTServiceImpl

this is the Main.gwt.xml file :

<?xml version="1.0" encoding="UTF-8"?>
<module>
<inherits name="com.google.gwt.user.User"/>
<inherits name="ejb.Entities"/>
<entry-point class="org.yournamehere.client.MainEntryPoint"/>
</module>

when i try to compile this error appear : No source code is available for type ejb.entity.Item; did you forget to inherit a required module? i searched it in this forum and tried many solutions but nothing works.I know that is a very common request but i'm blocked.
thanks


 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"alfaomega83 " please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Amit Ghorpade wrote:"alfaomega83 " please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.


please help me too.. I have the same problem..
 
If I'd had more time, I would have written a shorter letter. -T.S. Eliot such a short, tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic