<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Preview: Java Bean support with Ext GWT</title>
	<atom:link href="http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/feed/" rel="self" type="application/rss+xml" />
	<link>http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/</link>
	<description>JavaScript UI Component Library</description>
	<pubDate>Fri, 21 Nov 2008 21:59:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Ben Miller</title>
		<link>http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/#comment-16707</link>
		<dc:creator>Ben Miller</dc:creator>
		<pubDate>Thu, 06 Nov 2008 17:30:26 +0000</pubDate>
		<guid isPermaLink="false">http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/#comment-16707</guid>
		<description>I am still getting that 

[ERROR] Class com.extjs.gxt.ui.client.data.BeanModelLookup not found.
java.lang.NullPointerException

When I try to build through ANT. I am using gwt-1.5.0 and gxt-1.1.2 and don't seem to be using any of the features that would require the BeanModelReader, etc, unless it is hidden (guessing it is).

Has anyone found a way to make this work? The solution of listing the temp directory doesn't seem to work - unless I am doing it wrong. Can someone help me out with what specifically the post above really meant?

GWT version=${toolsetup.gwt}
Classpath is : ${gwt.classpath.tmp}

What directory is gwt.classpath.tmp? specifically? I was assuming it was /www/.gwt-tmp but that isn't working.</description>
		<content:encoded><![CDATA[<p>I am still getting that </p>
<p>[ERROR] Class com.extjs.gxt.ui.client.data.BeanModelLookup not found.<br />
java.lang.NullPointerException</p>
<p>When I try to build through ANT. I am using gwt-1.5.0 and gxt-1.1.2 and don&#8217;t seem to be using any of the features that would require the BeanModelReader, etc, unless it is hidden (guessing it is).</p>
<p>Has anyone found a way to make this work? The solution of listing the temp directory doesn&#8217;t seem to work - unless I am doing it wrong. Can someone help me out with what specifically the post above really meant?</p>
<p>GWT version=${toolsetup.gwt}<br />
Classpath is : ${gwt.classpath.tmp}</p>
<p>What directory is gwt.classpath.tmp? specifically? I was assuming it was /www/.gwt-tmp but that isn&#8217;t working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Launen</title>
		<link>http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/#comment-15479</link>
		<dc:creator>David Launen</dc:creator>
		<pubDate>Fri, 24 Oct 2008 03:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/#comment-15479</guid>
		<description>What happens if I do the following?

Customer customer = (Customer)model.getBean();
customer.setName("David");

Is the model updated?  Or is the model only updated if I call model.set("name", "David") directly?

Thanks.
David</description>
		<content:encoded><![CDATA[<p>What happens if I do the following?</p>
<p>Customer customer = (Customer)model.getBean();<br />
customer.setName(&#8221;David&#8221;);</p>
<p>Is the model updated?  Or is the model only updated if I call model.set(&#8221;name&#8221;, &#8220;David&#8221;) directly?</p>
<p>Thanks.<br />
David</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Elkjær</title>
		<link>http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/#comment-15465</link>
		<dc:creator>Martin Elkjær</dc:creator>
		<pubDate>Thu, 23 Oct 2008 20:08:18 +0000</pubDate>
		<guid isPermaLink="false">http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/#comment-15465</guid>
		<description>&#60;![CDATA[

		
		GWT version=${toolsetup.gwt}
		Classpath is : ${gwt.classpath.tmp}
		

			
			

			
			
		
	

]]&#62;</description>
		<content:encoded><![CDATA[<p>&lt;![CDATA[</p>
<p>		GWT version=${toolsetup.gwt}<br />
		Classpath is : ${gwt.classpath.tmp}</p>
<p>]]&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Elkjær</title>
		<link>http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/#comment-15464</link>
		<dc:creator>Martin Elkjær</dc:creator>
		<pubDate>Thu, 23 Oct 2008 20:05:54 +0000</pubDate>
		<guid isPermaLink="false">http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/#comment-15464</guid>
		<description>Hi,

I got the exactly same problem, but just resolved it !
The problem for me was a wrong classpath for the GWT-compiler. You could try to include your compiled source classes for your domain classes to your classpath - that solved my problem.

My ant target look like this:
---------------------------------------------------------------

		
		GWT version=${toolsetup.gwt}
		Classpath is : ${gwt.classpath.tmp}
		

			
			

			
			
		
	
------------------------------------

the property "classes.main.dir" points to my compiled domain source classes.


Hope this can point you in the right direction...

Best regards Martin</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I got the exactly same problem, but just resolved it !<br />
The problem for me was a wrong classpath for the GWT-compiler. You could try to include your compiled source classes for your domain classes to your classpath - that solved my problem.</p>
<p>My ant target look like this:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>		GWT version=${toolsetup.gwt}<br />
		Classpath is : ${gwt.classpath.tmp}</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>the property &#8220;classes.main.dir&#8221; points to my compiled domain source classes.</p>
<p>Hope this can point you in the right direction&#8230;</p>
<p>Best regards Martin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kursat</title>
		<link>http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/#comment-15340</link>
		<dc:creator>Kursat</dc:creator>
		<pubDate>Tue, 21 Oct 2008 21:48:55 +0000</pubDate>
		<guid isPermaLink="false">http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/#comment-15340</guid>
		<description>Any progress about this issue? Deferred binding for BeanModel works in hosted-mode browser, but it does not compile for deployment.</description>
		<content:encoded><![CDATA[<p>Any progress about this issue? Deferred binding for BeanModel works in hosted-mode browser, but it does not compile for deployment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Auguste</title>
		<link>http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/#comment-15195</link>
		<dc:creator>Auguste</dc:creator>
		<pubDate>Sun, 19 Oct 2008 20:55:27 +0000</pubDate>
		<guid isPermaLink="false">http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/#comment-15195</guid>
		<description>Any solution for the error during build process ?
[ERROR] Line 17: Failed to resolve ‘com.extjs.gxt.ui.client.data.BeanModelLookup’ via deferred binding</description>
		<content:encoded><![CDATA[<p>Any solution for the error during build process ?<br />
[ERROR] Line 17: Failed to resolve ‘com.extjs.gxt.ui.client.data.BeanModelLookup’ via deferred binding</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeroen</title>
		<link>http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/#comment-14523</link>
		<dc:creator>Jeroen</dc:creator>
		<pubDate>Sat, 04 Oct 2008 21:06:08 +0000</pubDate>
		<guid isPermaLink="false">http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/#comment-14523</guid>
		<description>Hereby the build error,
Scanning for additional dependencies: jar:file:/G:/gwt/gxt-1.1/gxt.jar!/com/extjs/gxt/ui/client/data/BeanModelLookup.java
   Computing all possible rebind results for 'com.extjs.gxt.ui.client.data.BeanModelLookup'
      Rebinding com.extjs.gxt.ui.client.data.BeanModelLookup
         Invoking 
            [ERROR] Class com.extjs.gxt.ui.client.data.BeanModelLookup not found.
java.lang.NullPointerException
	at com.extjs.gxt.ui.rebind.core.BeanModelGenerator.getMarkerBean(BeanModelGenerator.java:169)
	at com.extjs.gxt.ui.rebind.core.BeanModelGenerator.generate(BeanModelGenerator.java:53)
	at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:51)
	at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind(StandardRebindOracle.java:116)
	at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:61)
	at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:166)
	at com.google.gwt.dev.GWTCompiler$DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(GWTCompiler.java:195)
	at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:128)
	at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.process(AbstractCompiler.java:150)
	at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:392)
	at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile(AbstractCompiler.java:84)
	at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile(AbstractCompiler.java:180)
	at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.access$400(AbstractCompiler.java:70)
	at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:493)
	at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:73)
	at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.(JavaToJavaScriptCompiler.java:277)
	at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:353)
	at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:564)
	at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:554)
	at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:214)
[ERROR] Errors in 'jar:file:/G:/gwt/gxt-1.1/gxt.jar!/com/extjs/gxt/ui/client/data/BeanModelLookup.java'
   [ERROR] Line 17:  Failed to resolve 'com.extjs.gxt.ui.client.data.BeanModelLookup' via deferred binding</description>
		<content:encoded><![CDATA[<p>Hereby the build error,<br />
Scanning for additional dependencies: jar:file:/G:/gwt/gxt-1.1/gxt.jar!/com/extjs/gxt/ui/client/data/BeanModelLookup.java<br />
   Computing all possible rebind results for &#8216;com.extjs.gxt.ui.client.data.BeanModelLookup&#8217;<br />
      Rebinding com.extjs.gxt.ui.client.data.BeanModelLookup<br />
         Invoking<br />
            [ERROR] Class com.extjs.gxt.ui.client.data.BeanModelLookup not found.<br />
java.lang.NullPointerException<br />
	at com.extjs.gxt.ui.rebind.core.BeanModelGenerator.getMarkerBean(BeanModelGenerator.java:169)<br />
	at com.extjs.gxt.ui.rebind.core.BeanModelGenerator.generate(BeanModelGenerator.java:53)<br />
	at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:51)<br />
	at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind(StandardRebindOracle.java:116)<br />
	at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:61)<br />
	at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:166)<br />
	at com.google.gwt.dev.GWTCompiler$DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(GWTCompiler.java:195)<br />
	at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:128)<br />
	at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.process(AbstractCompiler.java:150)<br />
	at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:392)<br />
	at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile(AbstractCompiler.java:84)<br />
	at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile(AbstractCompiler.java:180)<br />
	at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.access$400(AbstractCompiler.java:70)<br />
	at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:493)<br />
	at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:73)<br />
	at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.(JavaToJavaScriptCompiler.java:277)<br />
	at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:353)<br />
	at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:564)<br />
	at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:554)<br />
	at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:214)<br />
[ERROR] Errors in &#8216;jar:file:/G:/gwt/gxt-1.1/gxt.jar!/com/extjs/gxt/ui/client/data/BeanModelLookup.java&#8217;<br />
   [ERROR] Line 17:  Failed to resolve &#8216;com.extjs.gxt.ui.client.data.BeanModelLookup&#8217; via deferred binding</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeroen</title>
		<link>http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/#comment-14522</link>
		<dc:creator>Jeroen</dc:creator>
		<pubDate>Sat, 04 Oct 2008 21:01:38 +0000</pubDate>
		<guid isPermaLink="false">http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/#comment-14522</guid>
		<description>I'm trying to get the Java Bean stuff working.
But when I follow your example using the factory the system won't compile.

This is caused by the fact that the GWT compiler can't find the BeanModelLookup implementation which is made at run-time, but I need it to create instance of my model.

At the following code to a project that is not build with the GXT.gwt.xml.

BeanModelFactory factory = BeanModelLookup.get().getFactory(MyJavaBean.class);
BeanModel model = factory.createModel(myJavaBean);</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to get the Java Bean stuff working.<br />
But when I follow your example using the factory the system won&#8217;t compile.</p>
<p>This is caused by the fact that the GWT compiler can&#8217;t find the BeanModelLookup implementation which is made at run-time, but I need it to create instance of my model.</p>
<p>At the following code to a project that is not build with the GXT.gwt.xml.</p>
<p>BeanModelFactory factory = BeanModelLookup.get().getFactory(MyJavaBean.class);<br />
BeanModel model = factory.createModel(myJavaBean);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ext JS - Blog</title>
		<link>http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/#comment-14336</link>
		<dc:creator>Ext JS - Blog</dc:creator>
		<pubDate>Thu, 18 Sep 2008 05:39:27 +0000</pubDate>
		<guid isPermaLink="false">http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/#comment-14336</guid>
		<description>[...] With the 1.1 release of Ext GWT, it is possible to use any Java Beans in the Store and Binder API. This allows you to send your Java Beans from server to client using GWT RPC. More information can be found in this blog post. [...]</description>
		<content:encoded><![CDATA[<p>[...] With the 1.1 release of Ext GWT, it is possible to use any Java Beans in the Store and Binder API. This allows you to send your Java Beans from server to client using GWT RPC. More information can be found in this blog post. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmy</title>
		<link>http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/#comment-14246</link>
		<dc:creator>Jimmy</dc:creator>
		<pubDate>Fri, 05 Sep 2008 09:01:13 +0000</pubDate>
		<guid isPermaLink="false">http://extjs.com/blog/2008/07/14/preview-java-bean-support-with-ext-gwt/#comment-14246</guid>
		<description>Any idea on how to wire Enteprise Java Beans over the wire?
First problem is that the EJB wont compile in gwt becouse they relate to annotatioons in javax.persistence.*;
I then made fake annotation files, that made the gwt js compile and run.
But then the gwt-servlet fails to serialize the beans for transmission

This error is shown in console:
Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'oracle.toplink.essentials.internal.indirection.UnitOfWorkQueryValueHolder' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.</description>
		<content:encoded><![CDATA[<p>Any idea on how to wire Enteprise Java Beans over the wire?<br />
First problem is that the EJB wont compile in gwt becouse they relate to annotatioons in javax.persistence.*;<br />
I then made fake annotation files, that made the gwt js compile and run.<br />
But then the gwt-servlet fails to serialize the beans for transmission</p>
<p>This error is shown in console:<br />
Caused by: com.google.gwt.user.client.rpc.SerializationException: Type &#8216;oracle.toplink.essentials.internal.indirection.UnitOfWorkQueryValueHolder&#8217; was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
