Hi Karim!

Thanks for your reply! My problem isn't to get the external classes
into Eclipse or at compile time. My problem is to use the external
classes at the web browser client side at runtime. The link from my
first post says "GWT need to have access to the source files to
compile them into Javascript code." which I think is correct. My
problem still is unsolved.


On Sep 28, 10:17 pm, karim duran <karim.du...@gmail.com> wrote:
> Hi David,
>
> 1) If you have the javadoc of the library where the javabean Class is, you
> don't need the source at all.
>
> 2) Simply put the *.jar in /WEB-INF/lib of your web application. GWT don't
> prevent you to use normal java library in your project. As soon as is done,
> your javabean is in the CLASSPATH of your application. You can use it.
>
> 3) If you use Eclipse as IDE, simply right-clic on the project -> propertie
> -> build path -> add external jar. And it's done
>
> 4) If you have the source, but don't have the javadoc, unzip the source jar
> in a folder. Then repeat the step 3), clic on the jar you just added ->
> javadoc location -> browse to the folder where you unzip the source. And
> it's done.
>
> I hope it helps.
>
> Regards.
>
> Karim Duran
>
> 2011/9/28 David <comp...@gmail.com>
>
>
>
>
>
>
>
> > I need to use Java beans (classes with getters and setters) from an
> > external jar-file (like Xyz-1.2.3.jar) on the browser client. These
> > beans implements java.io.Serializable and the Java source is available
> > in a separate Xyz-1.2.3-sources.jar. How could this be done?
>
> > I foundhttp://www.vogella.de/articles/GWTModules/article.htmlbut
> > still can't get it to work.
>
> > Any help appreciated, 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 google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to