File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes GWT and the fly likes GWT bean reference problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "GWT bean reference problem" Watch "GWT bean reference problem" New topic
Author

GWT bean reference problem

Mohammed Amine Tazi
Greenhorn

Joined: Feb 09, 2009
Posts: 22
Hi.

I'm developing a new GWT application. My new app references a jar that contains some Beans.
In the new app server side class I have a method that returns the bean in the referenced jar. I got an error : No source code available for this bean.

I tried to create a clone of this bean in my gwt app but get a serialization problem that my bean in the referenced jar doesn't serialize.

Could you help me please.

Good day.
Amine.


SCJP 5 / SCWCD 5 / SCBCD 5 / SCDJWS 4 / SCDJWS 5 / SCEA 5
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

When I add a new major library, like gwt-ext.jar, I need to add an 'inherits' to the xml file. If I don't, I get that same "source code not found error." The inherits looks something like this:

<inherits name="com.gwtext.GwtExt"/>
Mohammed Amine Tazi
Greenhorn

Joined: Feb 09, 2009
Posts: 22
Hi,

Thanks for the response. The problem is "inherits" looks just for gwt.xml files, so it appends it automatically to the name attribute of "inherits" tag.
if I put <inherits name="zoltar"/>, it gives me an error kind of : "error parsing xml, zoltar.gwt.xml not found".

Good day,
Amine.
 
Don't get me started about those stupid light bulbs.
 
subject: GWT bean reference problem
 
Similar Threads
Hibernate exception
Debugging GWT app running on external container
gwt upgrade to 2.4 problem
classpath woes
Problems connecting to a database