Thursday, September 30, 2010

Re: Minimalistic JPA in GWT 2.1.0.M3

persistence.xml has <persistence-unit name="Domain">.
I tried @PersistenceContext, @PersistenceUnit and
Persistence.createEntityManagerFactory() without any result.
The problem is it does not matter what I type in persistence.xml,
jetty does not see the file.
I'm doing something fundamentally wrong, I'll try this again tomorrow
with a fresh head.
Thanks for sticking with me!


On Sep 30, 11:33 pm, lineman78 <linema...@gmail.com> wrote:
> Does your persistence.xml have the following:
>
>  <persistence-unit name="Domain">
>
> and using the following in your session bean:
>
> @PersistenceContext(unitName="Domain")
>   EntityManager em;
>
> On Sep 30, 11:08 pm, Y2i <yur...@gmail.com> wrote:
>
>
>
> > Thanks for the reply.  I'm doing something wrong because I'm getting
> > the same error even when I place persistence.xml to /war/META-INF.
> > javax.persistence.PersistenceException: No Persistence provider for
> > EntityManager named Domain
>
> > The exception is thrown in both hosted and stand-alone mode.  I'll try
> > to configure JTA transactions first before doing anything else with
> > the JPA.
>
> > On Sep 30, 6:15 pm, lineman78 <linema...@gmail.com> wrote:
>
> > > persistence.xml should be located in /war/META-INF
>
> > > On Sep 30, 4:28 pm, Y2i <yur...@gmail.com> wrote:
>
> > > > Client's requests go the server through RequestFactoryServlet.
> > > > My service objects (those annotated with
> > > > @Service(SomeDomainClass.class) on the client side are being called
> > > > fine.
> > > > When a service method explicitly creates an entity and returns it to
> > > > the client, the request returns without problems.
>
> > > > The problem occurs as soon as I start using JPA
> > > > I use EclipseLink 2.1.0.  The transaction type is Resource Local for
> > > > now
>
> > > > When I try to eject EntityManager using @PersistenceContext, it is
> > > > always null.
> > > > When I try to get the factory using
> > > > Persistence.createEntityManagerFactory("Domain"), the call would throw
> > > > javax.persistence.PersistenceException: No Persistence provider for
> > > > EntityManager named Domain
>
> > > > It seems that nether GWT hosted server nor deployment server
> > > > (jetty-6.1.23, same as hosted server) see persistence.xml file.  It
> > > > does not matter what I type inside persistence.xml - the error is the
> > > > same, as though it is not picked up by the server at all.
>
> > > > Any help, especially where to place persistance.xml for a GWT project,
> > > > would be greatly appreciated.  Thanks in advance.
> > > > Yuri

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Accessing class annotations on client side ?

There is a project http://gwtreflection.sourceforge.net/ that attempts
to provide reflection on the client side, but it only seems to support
Java 1.4 reflection API which does not have annotations.

On Sep 30, 11:28 pm, Didier DURAND <durand.did...@gmail.com> wrote:
> Hi there,
>
> the GWT compiler will not complain on annotations. But, I would like
> to check them on client side in Javascript.
>
> On server side, I usually use getAnnotations() from Class.  But
> current JRE emulation by GWT does not provide getAnnotations()
> although it provide the Annotation class.
>
> So, my question: how can I check on client side if a given annotation
> is present or not ?
>
> Thanks in advance !
>
> didier

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Minimalistic JPA in GWT 2.1.0.M3

Does your persistence.xml have the following:

<persistence-unit name="Domain">

and using the following in your session bean:

@PersistenceContext(unitName="Domain")
EntityManager em;

On Sep 30, 11:08 pm, Y2i <yur...@gmail.com> wrote:
> Thanks for the reply.  I'm doing something wrong because I'm getting
> the same error even when I place persistence.xml to /war/META-INF.
> javax.persistence.PersistenceException: No Persistence provider for
> EntityManager named Domain
>
> The exception is thrown in both hosted and stand-alone mode.  I'll try
> to configure JTA transactions first before doing anything else with
> the JPA.
>
> On Sep 30, 6:15 pm, lineman78 <linema...@gmail.com> wrote:
>
>
>
> > persistence.xml should be located in /war/META-INF
>
> > On Sep 30, 4:28 pm, Y2i <yur...@gmail.com> wrote:
>
> > > Client's requests go the server through RequestFactoryServlet.
> > > My service objects (those annotated with
> > > @Service(SomeDomainClass.class) on the client side are being called
> > > fine.
> > > When a service method explicitly creates an entity and returns it to
> > > the client, the request returns without problems.
>
> > > The problem occurs as soon as I start using JPA
> > > I use EclipseLink 2.1.0.  The transaction type is Resource Local for
> > > now
>
> > > When I try to eject EntityManager using @PersistenceContext, it is
> > > always null.
> > > When I try to get the factory using
> > > Persistence.createEntityManagerFactory("Domain"), the call would throw
> > > javax.persistence.PersistenceException: No Persistence provider for
> > > EntityManager named Domain
>
> > > It seems that nether GWT hosted server nor deployment server
> > > (jetty-6.1.23, same as hosted server) see persistence.xml file.  It
> > > does not matter what I type inside persistence.xml - the error is the
> > > same, as though it is not picked up by the server at all.
>
> > > Any help, especially where to place persistance.xml for a GWT project,
> > > would be greatly appreciated.  Thanks in advance.
> > > Yuri

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Access Bean (POJO) classes at Client Side

Hi,

Did you place it in package name "shared" so that it gets transcoded
to js ?
didier

On Oct 1, 6:23 am, Parth <parthbhaga...@gmail.com> wrote:
> Hi all,
>
> I am using GWT 2.0.4. I am not able to use user defined instance of
> class defined even at client side. I am able to access data using JSON
> object with JSNI at client side. But not found any way to pass object
> of  user defined class such as Bean class at client side in EntryPoint
> class. I had also tried it by implementing serializable interface to
> the class which I want at EntryPoint. But not got intended result.
>
> Do any one have idea about that?
>
> 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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Accessing class annotations on client side ?

Hi there,

the GWT compiler will not complain on annotations. But, I would like
to check them on client side in Javascript.

On server side, I usually use getAnnotations() from Class. But
current JRE emulation by GWT does not provide getAnnotations()
although it provide the Annotation class.

So, my question: how can I check on client side if a given annotation
is present or not ?

Thanks in advance !

didier

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Atomikos, hosted mode (Jetty): No Constructor:

I'm following these instructions http://docs.codehaus.org/display/JETTY/Atomikos
and got stuck on Step 2 in the hosted mode; stand-alone mode works
fine.

I added these lines to jetty-web.xml:

<New id="tx" class="org.mortbay.jetty.plus.naming.Transaction">
<Arg><New class="com.atomikos.icatch.jta.UserTransactionImp" /></
Arg>
</New>

In hosted mode I'm getting an exception:

java.lang.IllegalStateException: No Constructor: <New id="tx"
class="org.mortbay.jetty.plus.naming.Transaction">
<Arg><New class="com.atomikos.icatch.jta.UserTransactionImp" /></
Arg>
</New>

If I empty the <Arg/> like this:
<New id="tx" class="org.mortbay.jetty.plus.naming.Transaction">
<Arg></Arg>
</New>
there is no error. UserTransactionImpl by itself
<New class="com.atomikos.icatch.jta.UserTransactionImp" />
does not create an error.

The error occurs only when I try to pass UserTransactionImpl to
Transaction, and only in the hosted mode.

There is a post http://stackoverflow.com/questions/1368806/atomikos-jetty-in-a-maven-build-environment-classloader-issue
that says that there could be multiple copies of UserTransaction (an
argument for org.mortbay.jetty.plus.naming.Transaction parameter)
http://jetty.codehaus.org/jetty/jetty-6/apidocs/org/mortbay/jetty/plus/naming/Transaction.html#Transaction(javax.transaction.UserTransaction)
But I could not find anything yet in the jars that would contain
another copy of UserTransaction.
(the original UserTransaction sits in jta.jar described in Step 1 of
the intstructions)


Any help on how to fix this error would be greatly appreciated.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: SliderBar has yellow border after clicking

Thanks Jim, it helps me.

On 30 zář, 17:19, Jim Douglas <jdou...@basis.com> wrote:
> That's the focus rectangle.  Try adding these:
>
>     slider.getElement().getStyle().setProperty("outline", "none");
>     slider.getElement().setPropertyBoolean("hideFocus", true);
>
> And if you're targeting iOS, you'll probably want these as well:
>
>     slider.getElement().getStyle().setProperty("webkitTouchCallout",
> "none");
>     slider.getElement().getStyle().setProperty("webkitUserSelect",
> "none");
>
> On Sep 30, 5:20 am, vkrejcirik <vkrejci...@gmail.com> wrote:
>
>
>
> > Hi, could you help me to remove yellow border after clicking on
> > SliderBar? I cannot find it in css style.
>
> > 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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

plugin failed to connect to hosted mode server at...

I created a simple project that uses gwt and gwt-maps.jar, which
worked few days ago, and now all of a sudden not working. I recreated
it multiple times but no luck. Every time i put address into my
browser I get 'plugin failed to connect blah blah'

After running it Chrome the dev mode window gives me these errors:

22:31:23.739 [ERROR] [simplemaps] Exception initializing module
sun.misc.InvalidJarIndexException: Invalid index
at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source)
at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source)
at sun.misc.URLClassPath$JarLoader.findResource(Unknown Source)
at sun.misc.URLClassPath.findResource(Unknown Source)
at java.net.URLClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findResource(Unknown Source)
at java.lang.ClassLoader.getResource(Unknown Source)
at com.google.gwt.dev.javac.JdtCompiler
$INameEnvironmentImpl.findType(JdtCompiler.java:240)
at com.google.gwt.dev.javac.JdtCompiler
$INameEnvironmentImpl.findType(JdtCompiler.java:226)
at
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:
122)
at
org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage(PackageBinding.java:
181)
at
org.eclipse.jdt.internal.compiler.lookup.Scope.getTypeOrPackage(Scope.java:
2460)
at
org.eclipse.jdt.internal.compiler.lookup.Scope.getType(Scope.java:
2181)
at
org.eclipse.jdt.internal.compiler.ast.SingleTypeReference.getTypeBinding(SingleTypeReference.java:
44)
at
org.eclipse.jdt.internal.compiler.ast.TypeReference.internalResolveType(TypeReference.java:
130)
at
org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveType(TypeReference.java:
201)
at
org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveSuperType(TypeReference.java:
179)
at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.findSupertype(ClassScope.java:
1167)
at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectSuperclass(ClassScope.java:
867)
at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectTypeHierarchy(ClassScope.java:
1010)
at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectMemberTypes(ClassScope.java:
835)
at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectTypeHierarchy(ClassScope.java:
1018)
at
org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.connectTypeHierarchy(CompilationUnitScope.java:
290)
at
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:
185)
at
org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:
719)
at
org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:
376)
at
org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:420)
at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:
467)
at com.google.gwt.dev.javac.CompilationStateBuilder
$CompileMoreLater.compile(CompilationStateBuilder.java:142)
at
com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:
281)
at
com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:
182)
at
com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:
280)
at com.google.gwt.dev.DevModeBase
$UiBrowserWidgetHostImpl.createModuleSpaceHost(DevModeBase.java:99)
at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
180)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
380)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
222)
at java.lang.Thread.run(Unknown Source)

22:31:23.842 [ERROR] [simplemaps] Failed to load module 'simplemaps'
from user agent 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3'
at 192.168.1.100:65206
sun.misc.InvalidJarIndexException: Invalid index
at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source)
at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source)
at sun.misc.URLClassPath$JarLoader.findResource(Unknown Source)
at sun.misc.URLClassPath.findResource(Unknown Source)
at java.net.URLClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findResource(Unknown Source)
at java.lang.ClassLoader.getResource(Unknown Source)
at com.google.gwt.dev.javac.JdtCompiler
$INameEnvironmentImpl.findType(JdtCompiler.java:240)
at com.google.gwt.dev.javac.JdtCompiler
$INameEnvironmentImpl.findType(JdtCompiler.java:226)
at
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:
122)
at
org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage(PackageBinding.java:
181)
at
org.eclipse.jdt.internal.compiler.lookup.Scope.getTypeOrPackage(Scope.java:
2460)
at
org.eclipse.jdt.internal.compiler.lookup.Scope.getType(Scope.java:
2181)
at
org.eclipse.jdt.internal.compiler.ast.SingleTypeReference.getTypeBinding(SingleTypeReference.java:
44)
at
org.eclipse.jdt.internal.compiler.ast.TypeReference.internalResolveType(TypeReference.java:
130)
at
org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveType(TypeReference.java:
201)
at
org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveSuperType(TypeReference.java:
179)
at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.findSupertype(ClassScope.java:
1167)
at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectSuperclass(ClassScope.java:
867)
at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectTypeHierarchy(ClassScope.java:
1010)
at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectMemberTypes(ClassScope.java:
835)
at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectTypeHierarchy(ClassScope.java:
1018)
at
org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.connectTypeHierarchy(CompilationUnitScope.java:
290)
at
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:
185)
at
org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:
719)
at
org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:
376)
at
org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:420)
at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:
467)
at com.google.gwt.dev.javac.CompilationStateBuilder
$CompileMoreLater.compile(CompilationStateBuilder.java:142)
at
com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:
281)
at
com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:
182)
at
com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:
280)
at com.google.gwt.dev.DevModeBase
$UiBrowserWidgetHostImpl.createModuleSpaceHost(DevModeBase.java:99)
at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
180)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
380)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
222)
at java.lang.Thread.run(Unknown Source)


PLEASE I REALLY NEED TO GET THIS DONE

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Loading GWT module after page is loaded

Thanks for help, I think I will try to use a custom linker this way.

On szept. 30, 19:02, lineman78 <linema...@gmail.com> wrote:
> That is correct, you will end up with a blank page if you try to use
> the default iFrame linker and load modules dynamically.  This used to
> not be the case, but is now.  You could probably go back to GWT 1.5 or
> 1.6 and grab it's iFrame linker and use it.
>
> On Sep 30, 3:28 am, Denis Vilyuzhanin <dandsoft....@gmail.com> wrote:
>
>
>
> > I know that GWT has problem with dynamic loading after page already
> > loaded. Because default linker uses document.write() expression during
> > bootstrap. document.write() method replace all content of page and you
> > get empty page.
>
> > if you open you *.nocache.js which was compiled with -style DETAILED
> > parameters you will see this in computeScriptBase() function and the
> > last line.
> > and actually one solution I know is using custom GWT linker.
>
> > On Sep 29, 8:54 am, szebeni <kha...@gmail.com> wrote:
>
> > > Hy peps,
> > >  I have a GWT App which is loading perfectly on a host page, but I
> > > need to do some interaction before Its loaded, which cause this issue:
> > > I get only a loading blank screen if I'm writing the script tag for
> > > nocache.js into the document after the page loaded. Do you know why is
> > > it and how can I fix it?
> > > I checked and the path is fine, just the generated js code behaves
> > > differently (like the function from nocache.js is undefined in the
> > > browser specific one).

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Minimalistic JPA in GWT 2.1.0.M3

Thanks for the reply. I'm doing something wrong because I'm getting
the same error even when I place persistence.xml to /war/META-INF.
javax.persistence.PersistenceException: No Persistence provider for
EntityManager named Domain

The exception is thrown in both hosted and stand-alone mode. I'll try
to configure JTA transactions first before doing anything else with
the JPA.


On Sep 30, 6:15 pm, lineman78 <linema...@gmail.com> wrote:
> persistence.xml should be located in /war/META-INF
>
> On Sep 30, 4:28 pm, Y2i <yur...@gmail.com> wrote:
>
>
>
> > Client's requests go the server through RequestFactoryServlet.
> > My service objects (those annotated with
> > @Service(SomeDomainClass.class) on the client side are being called
> > fine.
> > When a service method explicitly creates an entity and returns it to
> > the client, the request returns without problems.
>
> > The problem occurs as soon as I start using JPA
> > I use EclipseLink 2.1.0.  The transaction type is Resource Local for
> > now
>
> > When I try to eject EntityManager using @PersistenceContext, it is
> > always null.
> > When I try to get the factory using
> > Persistence.createEntityManagerFactory("Domain"), the call would throw
> > javax.persistence.PersistenceException: No Persistence provider for
> > EntityManager named Domain
>
> > It seems that nether GWT hosted server nor deployment server
> > (jetty-6.1.23, same as hosted server) see persistence.xml file.  It
> > does not matter what I type inside persistence.xml - the error is the
> > same, as though it is not picked up by the server at all.
>
> > Any help, especially where to place persistance.xml for a GWT project,
> > would be greatly appreciated.  Thanks in advance.
> > Yuri

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Access Bean (POJO) classes at Client Side

Hi all,

I am using GWT 2.0.4. I am not able to use user defined instance of
class defined even at client side. I am able to access data using JSON
object with JSNI at client side. But not found any way to pass object
of user defined class such as Bean class at client side in EntryPoint
class. I had also tried it by implementing serializable interface to
the class which I want at EntryPoint. But not got intended result.

Do any one have idea about that?

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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Cannot specify different version of App Engine SDK

Hi

It seem like the Google plugin doesn't allow me to select version of App Engine SDK for a Maven project.

to enable Google Plugin for Eclipse to work with an existing Maven project.

Here are the steps I performed:

1. Build the GWT source code:
>cd C:\gwt\trunk
>ant

2. Import existing Maven project:
Select File | Import | Maven | Existing Maven Projects and
set the root directory to C:\gwt\trunk\build\out\samples\Expenses

3. Select version of the App Engine SDK:
Open the properties of the expenses project,
        Under Google | App Engine,
        Check 'Use Google App Engine',
Select 'Use default SDK (App Engine 1.3.4 - 1.3.4) instead of 'Use specific SDK (C:\...\.m2\repository\com\google\appengine - unknown version)'.
Click OK.


The problem is when I open the Google App Engine settings again (step 3), the 'Use specific SDK' is still selected!


--

Hez

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Minimalistic JPA in GWT 2.1.0.M3

persistence.xml should be located in /war/META-INF

On Sep 30, 4:28 pm, Y2i <yur...@gmail.com> wrote:
> Client's requests go the server through RequestFactoryServlet.
> My service objects (those annotated with
> @Service(SomeDomainClass.class) on the client side are being called
> fine.
> When a service method explicitly creates an entity and returns it to
> the client, the request returns without problems.
>
> The problem occurs as soon as I start using JPA
> I use EclipseLink 2.1.0.  The transaction type is Resource Local for
> now
>
> When I try to eject EntityManager using @PersistenceContext, it is
> always null.
> When I try to get the factory using
> Persistence.createEntityManagerFactory("Domain"), the call would throw
> javax.persistence.PersistenceException: No Persistence provider for
> EntityManager named Domain
>
> It seems that nether GWT hosted server nor deployment server
> (jetty-6.1.23, same as hosted server) see persistence.xml file.  It
> does not matter what I type inside persistence.xml - the error is the
> same, as though it is not picked up by the server at all.
>
> Any help, especially where to place persistance.xml for a GWT project,
> would be greatly appreciated.  Thanks in advance.
> Yuri

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: servlet mapping

Servlet mapping is a part of the servlet specification. It maps a
servlet name to a URI that is used to access the servlet.
A minimalistic description that is enough to get started can be found
here: http://code.google.com/appengine/docs/java/config/webxml.html

On Sep 30, 7:49 am, András Csányi <sayusi.a...@gmail.com> wrote:
> Hi Guys,
>
> I'm really new at gwt world and this is my first steps in JEE world
> to. I'm working as tester so I think I'm able to understand lot of
> things but the experience is missing.
> After Stockwatcher tutorial I wanted to built something else but I'm
> totally lost at servlet mapping. I got always 404 error.
>
> Is there some description what a really new man able to understand?
>
> Thanks for the help in advance!
>
> András
>
> --
> - -
> --  Csanyi Andras (Sayusi Ando)  --http://sayusi.hu--http://facebook.com/andras.csanyi
> --  ""Trust in God and keep your gunpowder dry!" - Cromwell

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: PagingScrollTable Future

Sure, did you take a look at the Expenses sample? thats the new table

gwt-bikeshed.appspot.com/Expenses.html

On Thu, Sep 30, 2010 at 6:35 PM, Adam <ambrons@gmail.com> wrote:

So the features were similar? Meaning support for pagination and
sorting?

Thanks,
Adam

On Sep 30, 12:37 pm, Gal Dolber <gal.dol...@gmail.com> wrote:
> I did the migration from PagingScrollTable to CellTable 2 weeks ago. It
> didn't take very much.. less than a day.
> The new table work awesome, it is very customizable and fast as hell. They
> are still working on it, a few days ago they added keyboard support! BTW
> thanks for that GWT team!
>
> Definitely give it a shoot.
>
>
>
>
>
> On Thu, Sep 30, 2010 at 9:21 AM, Adam <ambr...@gmail.com> wrote:
> > I've done some googling around and curious if anyone knows what the
> > future holds for PagingScrollTable.
>
> > We're currently using GWT 2.0.4 and have a need for such a table, but
> > our hesitant to start using it if it's going to be replaced in the
> > near future.  I've not done a tone of digging around GWT 2.1, but I
> > know that they're working on a new Cell Table and my gut tells me that
> > it or one of it's kin folk will replace PagingScrollTable.
>
> > Any thoughts or suggestions would be appreciated.
>
> > --
> > 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+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> Guit: Elegant, beautiful, modular and *production ready* gwt applications.
>
> http://code.google.com/p/guit/

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.




--
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/




--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: PagingScrollTable Future

So the features were similar? Meaning support for pagination and
sorting?

Thanks,
Adam

On Sep 30, 12:37 pm, Gal Dolber <gal.dol...@gmail.com> wrote:
> I did the migration from PagingScrollTable to CellTable 2 weeks ago. It
> didn't take very much.. less than a day.
> The new table work awesome, it is very customizable and fast as hell. They
> are still working on it, a few days ago they added keyboard support! BTW
> thanks for that GWT team!
>
> Definitely give it a shoot.
>
>
>
>
>
> On Thu, Sep 30, 2010 at 9:21 AM, Adam <ambr...@gmail.com> wrote:
> > I've done some googling around and curious if anyone knows what the
> > future holds for PagingScrollTable.
>
> > We're currently using GWT 2.0.4 and have a need for such a table, but
> > our hesitant to start using it if it's going to be replaced in the
> > near future.  I've not done a tone of digging around GWT 2.1, but I
> > know that they're working on a new Cell Table and my gut tells me that
> > it or one of it's kin folk will replace PagingScrollTable.
>
> > Any thoughts or suggestions would be appreciated.
>
> > --
> > 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+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> Guit: Elegant, beautiful, modular and *production ready* gwt applications.
>
> http://code.google.com/p/guit/

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: keyboard shortcuts with CTRL

I'm also interested in that topic. Does anybody has some experience
with keyboard shortcuts in gwt.

I'd like to have at least one application wide shortcut for opening a
log panel and a few shortcuts
dependent of what panel actually has focus on.

On 1 Wrz, 19:13, levier <levi.mail.l...@gmail.com> wrote:
> Hi all,
>
> I'm developing an enterprise application and all users scream forkeyboardshortcuts.
> And not shortcuts like you see in GMail (focus some widget, press c to
> compose a new mail etc) but true CTRL+N, CTRL+S like you see in a
> desktop application.
> I thought it really couldn't be done, till I tried the google docs in
> Chrome: CTRL+B made my text bold. Wow, that works! But probably it
> only works on Chrome right, I thought, so I didn't really believe in
> it and let it pass.
>
> Then I saw Microsoft releasingkeyboardshortcuts in Hotmail. I tried
> one and I got a pop up saying "hey you pressed some key, did you mean
> it askeyboardshortcut?"... hahaha, so again I let it pass and
> thought it couldn't be done.
> But today I saw Microsoft releasing their Word, Excel... Office suite
> on-line (search for Office Web Apps). I tried CTRL+B and it put my
> text in bold and didn't show my Bookmarks bar instead! In IE8 and
> Chrome.
>
> Now, some proof that it doesn't really work all of the time: I
> selected the text on the top of the page, hit CTRL+S and nothing
> happens... there goes my belief in in-browserkeyboardshortcuts
> again.
> I guess thekeyboardlistener is only put on the textarea and ribbon
> bar and not a "true browser window listener".
>
> Still, my question stands:
> how can I blockkeyboardshortcuts like CTR+O, CTRL+N and do something
> with them instead of letting the browser handle them (CTRL+N typically
> opens a new browser window, I don't want that)? Any advice is much
> appreciated.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Minimalistic JPA in GWT 2.1.0.M3

Client's requests go the server through RequestFactoryServlet.
My service objects (those annotated with
@Service(SomeDomainClass.class) on the client side are being called
fine.
When a service method explicitly creates an entity and returns it to
the client, the request returns without problems.

The problem occurs as soon as I start using JPA
I use EclipseLink 2.1.0. The transaction type is Resource Local for
now

When I try to eject EntityManager using @PersistenceContext, it is
always null.
When I try to get the factory using
Persistence.createEntityManagerFactory("Domain"), the call would throw
javax.persistence.PersistenceException: No Persistence provider for
EntityManager named Domain

It seems that nether GWT hosted server nor deployment server
(jetty-6.1.23, same as hosted server) see persistence.xml file. It
does not matter what I type inside persistence.xml - the error is the
same, as though it is not picked up by the server at all.

Any help, especially where to place persistance.xml for a GWT project,
would be greatly appreciated. Thanks in advance.
Yuri

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Project works in development mode but compiled version fails!!!

Your regex is invalid and the unexpected quantifier is being ignored
in java, but javascript is throwing an exception. The '+' after the
{2,} is a quantifier after a quantifier, it needs some sort of
character class before it. Depending on the goal of your match here
are some valid regex strings:

replaceAll("((<br>\\s*){2,})+", "<br>") matches: <br> <br> \n<br> <br>
doesn't match: <br><br><br> (only multiples of 2)
replaceAll("(<br>\\s*)+", "<br>") matches: <br> <br> \n<br> <br> (any
number of <br>'s separated by white space)
replaceAll("(<br>\\ *)+", "<br>") matches: <br> <br> <br> doesn't
match: <br> <br>\n<br> (only spaces, not all white space)

On Sep 30, 1:24 pm, Jan <jan.morl...@googlemail.com> wrote:
> Hi,
>
> I just stumbled upon a very weird problem. My gwt project (GWT
> 2.1.0.M3/AE 1.3.6) worked flawlessly in development mode. However
> after compiling, it failed. I was able to reduce the problem to the
> following minimal example:
>
> import com.google.gwt.core.client.EntryPoint;
> import com.google.gwt.user.client.Window;
>
> public class Compiletest implements EntryPoint {
>
>         class AcceptorDTO {
>                 public String company;
>                 public String additionalInformation;
>         }
>
>         public void onModuleLoad() {
>                 AcceptorDTO acceptor = new AcceptorDTO();
>                 acceptor.company = "";
>                 acceptor.additionalInformation = "";
>
>                 String acceptorString = acceptor.company + "<br>" +
> acceptor.additionalInformation + "<br>";
>
>                 Window.alert(acceptorString);
>                 acceptorString = acceptorString.replaceAll("(<br> *){2,}+", "<br>");
>                 Window.alert(acceptorString);
>         }
>
> }
>
> In development mode, two popups appear as expected. However the
> compiled versions shows only one. This means that the program aborts
> during the replaceAll function!
> In my opinion, this must not happen. However before I file a bug
> report, I would like to know if somebody can confirm or even explain
> this behaviour.
>
> Thanks in advance
> Jan

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: GWT Spring integration - what is the best method in late 2010?

I took a brief look at gwt-platform.  I didn't see examples where the GWT 2.0 UI binding capability is used.  We are successfully using this with Gin.  Do you know of examples that include the use of UI Binder?

On Thu, Sep 30, 2010 at 2:35 PM, PhilBeaudoin <philippe.beaudoin@gmail.com> wrote:
Many gwt-platform [1] users have also successfully integrated its
dispatch module with Spring. The next version (0.5), planned in a
month or so, will add built-in support for Spring. It will also make
it easy and seamless to switch the backing service for your various
server actions. (Some can use GWT rpc's, some can use REST, etc.) The
latter is already available in the trunk, although it's likely to
change before the release.

Cheers,

  Philippe

[1] http://gwtplatform.com


On Sep 30, 10:59 am, Jason Hatton <jashat...@gmail.com> wrote:
> I honestly can't weigh in on all of these framesworks.  Gwt-dispatch is
> maintained and is pretty light weight and extensible which we have extended
> ourselves to add Spring support.  Looks like the latest version adds that in
> for anyone needing it.  We have also extended it to lessen the burden of
> creating new GWT-RPC end points.  We use an annotation based approach that
> basically adds a new Gwt-Dispatch action handler which equates to a new
> GWT-RPC endpoint.  Our current production code base is using Spring 3.x and
> Gwt-Dispatch 1.0.0.
>
>
>
> On Thu, Sep 30, 2010 at 12:22 PM, David <dmartin....@gmail.com> wrote:
> > Any other feedback about this ?
> > What's odd is that we are still asking this very same question after
> > several years of existence of both frameworks, don't you think ?
>
> > So, we have :
> > - GWT SL
> > - Spring4GWT
> > - Gwt-dispatch
> > - gwt-spring
>
> > (My) Questions are :
> > - which of them are still maintained ?
> > - which of them do provide a compatibility with the latest versions of
> > GWT and Spring ?
> > - which of them are non intrusive ?
>
> > David
>
> > On 20 sep, 23:41, Jason Hatton <jashat...@gmail.com> wrote:
> > > Hey lalit,
>
> > > I will take a look at this further this was and example of how to
> > implement
> > > Spring on a previous version and is basically the servlet example class I
> > > posted earlier.  I will take a look at the newer version of gwt-dispatch
> > to
> > > see what else has been included.  We were waiting on upgrading but this
> > > peaks my interested on upgrading sooner.  WebApplication context is just
> > > Spring's way of bootstrapping an application context in a web container.
> > >  What that class does is grab the application context wires in the
> > > DispatchServlet so POJOS can be injected in to all the classes it
> > supports.
> > >  Definitely it is in the spring-web jar  but it appears that is the only
> > > Spring feature gwt-dispatch project takes advantage of.  If you take a
> > look
> > > at the ActionHandler and base dispatch classes you don't see any other
> > > Springy stuff.
>
> > > Gwt-dispatch helps us to avoid having to code the separate interfaces.
> >  We
> > > just code actions, action handlers, and result objects.  All the dispatch
> > > traffic routes through the one GWT-RPC service that gwt-dispatch
> > implements.
> > >  All the async workings have to be there but, we get to work on valuable
> > > object interactions and avoid ceremonial grunt work which always makes
> > > coding more fun.
>
> > > Later,
> > > Jas
>
> > > On Fri, Sep 17, 2010 at 1:12 AM, lalit <lalit.bh...@gmail.com> wrote:
> > > > Hi Jason,
>
> > > > I agree that both the approaches are same. But I still have a feeling
> > > > that gwtDispatch uses Spring MVC infra to do its job. The code that
> > > > you have posted above has WebApplicationContext. Also I looked into
> > > > gwtDispatch code and it seems it is using Spring MVC infra. The code I
> > > > looked into is here
>
> > > >http://code.google.com/p/gwt-dispatch/source/browse/src/main/java/net.
> > ..
>
> > > > Another thing you mentioned in your mail that you do not have to code
> > > > two interfaces which looked interesting. If possible can you elaborate
> > > > on that? We would like to incorporate that in our approach also if
> > > > possible.
>
> > > > thanks,
>
> > > > On Sep 16, 7:15 pm, Jason Hatton <jashat...@gmail.com> wrote:
> > > > > Lalit we are not using Spring MVC.  We am using gwt-dispatch and have
> > > > > extended that project's dispatch servlet to get the Spring
> > integration.
> > > >  We
> > > > > then added a custom annotation to pick up the appropriate dispatch
> > action
> > > > > handler for a particular GWT-RPC on the server side.  All of our
> > GWT-RPC
> > > > > calls go through this servlet so we avoid the overhead and code bloat
> > of
> > > > > having to create the standard GWT-RPC interfaces for every new
> > service
> > > > call
> > > > > we want to implement.  I looked over your example again and they are
> > > > pretty
> > > > > similar.  I like your integration approach with Spring but I prefer
> > > > service
> > > > > call handling because we don't have to code the two separate RPC
> > > > interfaces,
> > > > >  i.e. the Service and ServiceAsync for every service we want to
> > > > implement.
> > > > >  We just create an new dispatch handler apply an annotation to it and
> > we
> > > > are
> > > > > off and running.
>
> > > > > On Wed, Sep 15, 2010 at 11:33 PM, lalit <lalit.bh...@gmail.com>
> > wrote:
> > > > > > Deepak - I have used the following structure
> > > > > >   SpringApplicationContext, SpringGwtRemoteServiceServlet ,
> > > > > > PersonServiceImpl go into the server side code.
> > > > > >  The interfaces PersonService and PersonServiceAsync  become part
> > of
> > > > > > GWT client side code.
>
> > > > > > Regarding wsdl files consumption see the section on JAX-WS here
> > > > > >http://www.lalitbhatt.com/tiki-index.php?page=JAX-WSespeciallJAX-WS
> > > > > > client side section. This approach uses JAX-WS approach.
>
> > > > > > For data binding you can use JAXB. The details can be seen here
> > > > > >http://www.lalitbhatt.com/tiki-index.php?page=JAXB. JAX-WS anyway
> > uses
> > > > > > it internally.
>
> > > > > > Also just a disclaimer, the approach I took is as per Spring4GWT
> > > > > > project so it's there idea.
>
> > > > > > Jason- I looked into your approach and conceptually they look
> > similar
> > > > > > in terms of that you are redirecting the request to Spring MVC
> > > > > > infrastructure. IMHO the aprroach I took as per Sping4GWT is better
> > as
> > > > > > one does not have to carry the SpringMVC baggage.
>
> > > > > > --
> > > > > > 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+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@googlegroups.com>
> > <google-web-toolkit%2Bunsubscribe@googlegroups.com<google-web-toolkit%252Bu nsubscribe@googlegroups.com>
> > ><google-web-toolkit%2Bunsubs
> > > > cribe@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+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@googlegroups.com>
> > <google-web-toolkit%2Bunsubscribe@googlegroups.com<google-web-toolkit%252Bu nsubscribe@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+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@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+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Where can I find documentation to GWT MVP comming with version 2.1

I just wrote a blog post about gwt 2.1 m3 mvp, containing a small
example how to use activities and activitiesmappers:

http://blog.daniel-kurka.de/2010/09/testdriving-gwt-mvp-from-gwt-21-m3-part.html

On 28 Sep., 21:25, Kasper Hansen <kbhdk1...@gmail.com> wrote:
> Sounds good !! Can you provide a link in this thread when its ready ? Thanks.
>
> Sent from my iPhone
>
> On 28/09/2010, at 20.53, "David Chandler (Google)" <drfibona...@google.com> wrote:
>
>
>
> > I'll be posting a doc on using GWT 2.1 MVP Activities and Places
> > within the next week or so, and another on RequestFactory shortly
> > thereafter.
>
> > /dmc
> > David Chandler
> > Developer Programs Engineer, Google Web Toolkit
> > Atlanta, GA USA
>
> > On Sep 27, 5:08 am, Kardigen <mar...@kardigen.org> wrote:
> >> Hi, herehttp://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html#MvpFra...
> >> is mentioned that MVP framework is coming in version 2.1. We have 2.1
> >> M3 release, but I can not find any documentation for MVP. Do anyone
> >> know where can I find any classes, examples documentation?
>
> > --
> > 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+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

MathML support...

Greetings folks

How to add support for equations and MathML into your GWT
applications...

I proved to myself the faisability using the JavaScript library
ASCIIMathML.js from Peter Jipsen de Chapman University (GNU LGPL 2.1+
license).

http://www1.chapman.edu/~jipsen/mathml/asciimath.html

So, I'm working now on different issues.

Hope this will help somebody

Claude

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: GWT Spring integration - what is the best method in late 2010?

Many gwt-platform [1] users have also successfully integrated its
dispatch module with Spring. The next version (0.5), planned in a
month or so, will add built-in support for Spring. It will also make
it easy and seamless to switch the backing service for your various
server actions. (Some can use GWT rpc's, some can use REST, etc.) The
latter is already available in the trunk, although it's likely to
change before the release.

Cheers,

Philippe

[1] http://gwtplatform.com


On Sep 30, 10:59 am, Jason Hatton <jashat...@gmail.com> wrote:
> I honestly can't weigh in on all of these framesworks.  Gwt-dispatch is
> maintained and is pretty light weight and extensible which we have extended
> ourselves to add Spring support.  Looks like the latest version adds that in
> for anyone needing it.  We have also extended it to lessen the burden of
> creating new GWT-RPC end points.  We use an annotation based approach that
> basically adds a new Gwt-Dispatch action handler which equates to a new
> GWT-RPC endpoint.  Our current production code base is using Spring 3.x and
> Gwt-Dispatch 1.0.0.
>
>
>
> On Thu, Sep 30, 2010 at 12:22 PM, David <dmartin....@gmail.com> wrote:
> > Any other feedback about this ?
> > What's odd is that we are still asking this very same question after
> > several years of existence of both frameworks, don't you think ?
>
> > So, we have :
> > - GWT SL
> > - Spring4GWT
> > - Gwt-dispatch
> > - gwt-spring
>
> > (My) Questions are :
> > - which of them are still maintained ?
> > - which of them do provide a compatibility with the latest versions of
> > GWT and Spring ?
> > - which of them are non intrusive ?
>
> > David
>
> > On 20 sep, 23:41, Jason Hatton <jashat...@gmail.com> wrote:
> > > Hey lalit,
>
> > > I will take a look at this further this was and example of how to
> > implement
> > > Spring on a previous version and is basically the servlet example class I
> > > posted earlier.  I will take a look at the newer version of gwt-dispatch
> > to
> > > see what else has been included.  We were waiting on upgrading but this
> > > peaks my interested on upgrading sooner.  WebApplication context is just
> > > Spring's way of bootstrapping an application context in a web container.
> > >  What that class does is grab the application context wires in the
> > > DispatchServlet so POJOS can be injected in to all the classes it
> > supports.
> > >  Definitely it is in the spring-web jar  but it appears that is the only
> > > Spring feature gwt-dispatch project takes advantage of.  If you take a
> > look
> > > at the ActionHandler and base dispatch classes you don't see any other
> > > Springy stuff.
>
> > > Gwt-dispatch helps us to avoid having to code the separate interfaces.
> >  We
> > > just code actions, action handlers, and result objects.  All the dispatch
> > > traffic routes through the one GWT-RPC service that gwt-dispatch
> > implements.
> > >  All the async workings have to be there but, we get to work on valuable
> > > object interactions and avoid ceremonial grunt work which always makes
> > > coding more fun.
>
> > > Later,
> > > Jas
>
> > > On Fri, Sep 17, 2010 at 1:12 AM, lalit <lalit.bh...@gmail.com> wrote:
> > > > Hi Jason,
>
> > > > I agree that both the approaches are same. But I still have a feeling
> > > > that gwtDispatch uses Spring MVC infra to do its job. The code that
> > > > you have posted above has WebApplicationContext. Also I looked into
> > > > gwtDispatch code and it seems it is using Spring MVC infra. The code I
> > > > looked into is here
>
> > > >http://code.google.com/p/gwt-dispatch/source/browse/src/main/java/net.
> > ..
>
> > > > Another thing you mentioned in your mail that you do not have to code
> > > > two interfaces which looked interesting. If possible can you elaborate
> > > > on that? We would like to incorporate that in our approach also if
> > > > possible.
>
> > > > thanks,
>
> > > > On Sep 16, 7:15 pm, Jason Hatton <jashat...@gmail.com> wrote:
> > > > > Lalit we are not using Spring MVC.  We am using gwt-dispatch and have
> > > > > extended that project's dispatch servlet to get the Spring
> > integration.
> > > >  We
> > > > > then added a custom annotation to pick up the appropriate dispatch
> > action
> > > > > handler for a particular GWT-RPC on the server side.  All of our
> > GWT-RPC
> > > > > calls go through this servlet so we avoid the overhead and code bloat
> > of
> > > > > having to create the standard GWT-RPC interfaces for every new
> > service
> > > > call
> > > > > we want to implement.  I looked over your example again and they are
> > > > pretty
> > > > > similar.  I like your integration approach with Spring but I prefer
> > > > service
> > > > > call handling because we don't have to code the two separate RPC
> > > > interfaces,
> > > > >  i.e. the Service and ServiceAsync for every service we want to
> > > > implement.
> > > > >  We just create an new dispatch handler apply an annotation to it and
> > we
> > > > are
> > > > > off and running.
>
> > > > > On Wed, Sep 15, 2010 at 11:33 PM, lalit <lalit.bh...@gmail.com>
> > wrote:
> > > > > > Deepak - I have used the following structure
> > > > > >   SpringApplicationContext, SpringGwtRemoteServiceServlet ,
> > > > > > PersonServiceImpl go into the server side code.
> > > > > >  The interfaces PersonService and PersonServiceAsync  become part
> > of
> > > > > > GWT client side code.
>
> > > > > > Regarding wsdl files consumption see the section on JAX-WS here
> > > > > >http://www.lalitbhatt.com/tiki-index.php?page=JAX-WSespeciallJAX-WS
> > > > > > client side section. This approach uses JAX-WS approach.
>
> > > > > > For data binding you can use JAXB. The details can be seen here
> > > > > >http://www.lalitbhatt.com/tiki-index.php?page=JAXB. JAX-WS anyway
> > uses
> > > > > > it internally.
>
> > > > > > Also just a disclaimer, the approach I took is as per Spring4GWT
> > > > > > project so it's there idea.
>
> > > > > > Jason- I looked into your approach and conceptually they look
> > similar
> > > > > > in terms of that you are redirecting the request to Spring MVC
> > > > > > infrastructure. IMHO the aprroach I took as per Sping4GWT is better
> > as
> > > > > > one does not have to carry the SpringMVC baggage.
>
> > > > > > --
> > > > > > 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+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@googlegroups.com>
> > <google-web-toolkit%2Bunsubscribe@googlegroups.com<google-web-toolkit%252Bu nsubscribe@googlegroups.com>
> > ><google-web-toolkit%2Bunsubs
> > > > cribe@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+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@googlegroups.com>
> > <google-web-toolkit%2Bunsubscribe@googlegroups.com<google-web-toolkit%252Bu nsubscribe@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+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Slow Connection

Hello Stefan,

There is the Firefox Throttle (Windows only) addon, another tool
(Windows only) called NetLimiter which operates on a network basis and
I hear there is a Linux distro that can do this, also simulating
packet loss etc, you might want to check the discussion over at
stackoverflow [1]. Personally I just take my laptop to the basement
over a WLAN connection with reduced transmission power :-)

[1] http://stackoverflow.com/questions/182077/best-way-to-simulate-a-wan-network

On Sep 30, 3:17 pm, Stefan Bachert <stefanbach...@yahoo.de> wrote:
> Hi,
>
> Does anyone know a tool which slows down the http connection to
> simulate a slow internet connection?
> I would like to have the impression as an internet user while testing
>
> Stefan Bacherthttp://gwtworld.de

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Project works in development mode but compiled version fails!!!

Hi,

I just stumbled upon a very weird problem. My gwt project (GWT
2.1.0.M3/AE 1.3.6) worked flawlessly in development mode. However
after compiling, it failed. I was able to reduce the problem to the
following minimal example:

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.Window;

public class Compiletest implements EntryPoint {

class AcceptorDTO {
public String company;
public String additionalInformation;
}

public void onModuleLoad() {
AcceptorDTO acceptor = new AcceptorDTO();
acceptor.company = "";
acceptor.additionalInformation = "";

String acceptorString = acceptor.company + "<br>" +
acceptor.additionalInformation + "<br>";

Window.alert(acceptorString);
acceptorString = acceptorString.replaceAll("(<br> *){2,}+", "<br>");
Window.alert(acceptorString);
}
}

In development mode, two popups appear as expected. However the
compiled versions shows only one. This means that the program aborts
during the replaceAll function!
In my opinion, this must not happen. However before I file a bug
report, I would like to know if somebody can confirm or even explain
this behaviour.

Thanks in advance
Jan

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: GWT-Platform with GWT 2.1

Also, the following discussion will likely be of interest to you:
http://groups.google.com/group/gwt-platform/browse_thread/thread/4c00e59dc139ccdf

On Sep 30, 11:01 am, PhilBeaudoin <philippe.beaud...@gmail.com> wrote:
> One good place to start are Thomas Broyer article on 2.1 MVP in case
> you haven't read them already:http://tbroyer.posterous.com/gwt-21-placeshttp://tbroyer.posterous.com/gwt-21-places-part-iihttp://tbroyer.posterous.com/gwt-21-activitieshttp://tbroyer.posterous.com/gwt-21-activities-nesting-yagni
>
> I have never tried writing a complete app using 2.1 MVP classes, so my
> analysis here is mostly based on the above articles and the javadoc.
> As a result, I'm pretty sure there are some mistakes and I'd be more
> than happy to listen to corrections from people who have used the 2.1
> MVP clases.
>
> If you don't have the time to read what follows my conclusion is that:
> - 2.1 MVP is closer to the metal and will need you to write more
> code ;
> - 2.1 MVP takes the stance that presenter hierarchies are not
> desirable, GWTP takes the opposite stance ;
> - GWTP MVP's have more features out-of-the-box ;
> - 2.1 MVP are still meant to sit behind a 3rd party tool, i.e.
> SpringRoo or (eventually) GWTP.
>
> 1) Place mechanism
>
> GWTP tries to make places really easy. A simple annotation is often
> all you need to get your presenter to respond to a place. If you need
> parameters your parse them in your presenter's prepareFromRequest()
> method. This handles the 95% use case in a few lines of code. For the
> exceptional situations where you want to do something else than reveal
> a presenter on a place request (reveal non-nested presenters, trigger
> an action, ...), you will have to go through the event bus.
>
> GWTP shadows each of your presenter with an automatically generated
> proxy (hurray for GWT's generators!). This is a light weight class
> that listens on the event bus even before the presenter has been
> instantiated. As a result GWTP's will always lazily load your
> presenter. An annotation also makes it trivial to have your presenter
> sit behind a GWT code splitting point. As a bonus, this proxy is the
> perfect place for your presenter to listen to events that may be of
> interest to him before it's instantiated.
>
> In GWT 2.1, places are a subsystem entirely decoupled from the MVP
> layer. You connect them via the ActivityManager and ActivityMapper,
> which lets you lazily load or code split your presenters. The
> ActivityManager and ActivityMapper are not generated for you however,
> you have to maintain them manually. If you want your presenter to
> listen to other events before it's instantiated, then you will
> probably also have to create a proxy manually (or accept that your
> presenter is not lazily instantiated).
>
> Some features are offered by both framework (i.e. user confirmation
> before navigation), but GWTP places offers more features out-of-the-
> box:
> - Gatekeepers makes it very easy to implement a right management
> mechanism client-side. For example, you can make a presenter
> accessible only to the admin, another one only to logged in users,
> etc.
> - Hierarchical places make it easy to implement breadcrumbs or a "back
> to what I was doing before" link
>
> 2) Presenters (Called activities in 2.1)
>
> GWTP offers two different concepts: Presenters, which are singletons
> and PresenterWidget which can be non-singleton. These can be nested in
> one another, offering a powerful set of cascading lifecycle hooks that
> you can override: onBind, onReveal, onReset, onHide and onUnbind.
> These are cascading in the sense that a call to onHide on a parent
> presenter will cause onHide to be called on the child presenters. It
> makes it easy to organize your app logically.
>
> This ability to nest presenters doesn't imply higher coupling since
> the nesting is entirely done via the event bus. A parent presenter
> does not know who is child are until they are connected and vice-
> versa. This makes it very easy to reorganize your app layout, either
> dynamically or based on the configuration. For example, you can make a
> different hierarchical layout for your mobile version.
>
> Activities in 2.1 takes the stance that presenter nesting is not
> required. This means, for one thing, that you will have to think in
> advance as to how you want to split your screen in display regions.
> Modifying the layout within one presenter means you have to modify the
> global screen layout. This also means that you cannot get cascading
> effects: you will have to manually stop all the presenters that need
> to go away when you navigate.
>
> For me, this last point is the most important turn off. In my
> experience, building reusable components in the form of
> PresenterWidgets (widgets with a nice separation between logic and
> view) is really useful. In GWT 2.1 you would have to do these
> manually, and to manually hook them to the lifecycle methods of your
> presenter (mayStop, onStart, onStop). I'm sure users of 2.1 MVP have
> found a solution to this -- or maybe it's just a question of
> approaching the problem differently.
>
> * In conclusion
>
> It looks to me, and I remember hearing Thomas saying something to that
> effect, that GWT 2.1 MVP classes are still meant to sit behind a third
> party tool, be it SpringRoo or (eventually) GWTP. In their current
> form they offer a very nice decoupled abstraction between the various
> components of a well-written application: MVP, places, event bus. But
> in order to write such an application effectively you have to bring
> these components together in a way that helps the developer get more
> things done with less code. This has been GWTP's goal from day one and
> I think its large user base is an indication that we succeeded.
>
> Looking forward to hearing from others on that topic! In the end, I'll
> gather everything into a wiki page on the GWTP wiki.
>
> Cheers,
>
>    Philippe
>
> On Sep 29, 4:25 pm, Travis Camechis <camec...@gmail.com> wrote:
>
>
>
> > understand. We are mainly trying to figure out which MVP framework to start
> > with but not sure which one would be the wise decision.  Can you tell me
> > some of the benefits of GWTP over 2.1 MVP are?
>
> > On Wed, Sep 29, 2010 at 6:38 PM, Christian Goudreau <
>
> > goudreau.christ...@gmail.com> wrote:
> > > There's no big plan for now, since features are moving a lot in trunk of
> > > Gwt, but I can assure you that we will include every Gwt core features that
> > > we can.
>
> > > Cheers,
>
> > > On Wed, Sep 29, 2010 at 6:26 PM, Travis Camechis <camec...@gmail.com>wrote:
>
> > >> Does anyone know what the plan is for GWT-Platform with the upcoming 2.1
> > >> release?   Will GWT-Platform integrate the new features or some of them?
>
> > >> On Wed, Sep 29, 2010 at 4:04 PM, Bayard Randel <k...@bestpractice.net.nz>wrote:
>
> > >>> Yes, I'm currently working on a GWTP project using 2.1M3 without any
> > >>> issues.
>
> > >>> On Sep 30, 9:01 am, tc <camec...@gmail.com> wrote:
> > >>> > We currently looking at starting a new project.  I like what GWT 2.1
> > >>> > provides.  Does anyone know if you can use GWT-PLATFORM with 2.1M3+?
> > >>> > The main thing we would like to use if using GWT-Platform is the Cell
> > >>> > widgets.
>
> > >>> --
> > >>> 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+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@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+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@googlegroups.com>
> > >> .
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > > --
> > > Christian Goudreau
> > >www.arcbees.com
>
> > >  --
> > > 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+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: GWT-Platform with GWT 2.1

Thanks for you response.  I think we will use GWTP along with 2.1M3+ so we can take advantage of the cell widgets.  Hopefully in doing so I will also be able to make contributions to GWTP.

Travis Camechis
Software Engineer

On Thu, Sep 30, 2010 at 2:01 PM, PhilBeaudoin <philippe.beaudoin@gmail.com> wrote:
One good place to start are Thomas Broyer article on 2.1 MVP in case
you haven't read them already:
http://tbroyer.posterous.com/gwt-21-places
http://tbroyer.posterous.com/gwt-21-places-part-ii
http://tbroyer.posterous.com/gwt-21-activities
http://tbroyer.posterous.com/gwt-21-activities-nesting-yagni

I have never tried writing a complete app using 2.1 MVP classes, so my
analysis here is mostly based on the above articles and the javadoc.
As a result, I'm pretty sure there are some mistakes and I'd be more
than happy to listen to corrections from people who have used the 2.1
MVP clases.

If you don't have the time to read what follows my conclusion is that:
- 2.1 MVP is closer to the metal and will need you to write more
code ;
- 2.1 MVP takes the stance that presenter hierarchies are not
desirable, GWTP takes the opposite stance ;
- GWTP MVP's have more features out-of-the-box ;
- 2.1 MVP are still meant to sit behind a 3rd party tool, i.e.
SpringRoo or (eventually) GWTP.

1) Place mechanism

GWTP tries to make places really easy. A simple annotation is often
all you need to get your presenter to respond to a place. If you need
parameters your parse them in your presenter's prepareFromRequest()
method. This handles the 95% use case in a few lines of code. For the
exceptional situations where you want to do something else than reveal
a presenter on a place request (reveal non-nested presenters, trigger
an action, ...), you will have to go through the event bus.

GWTP shadows each of your presenter with an automatically generated
proxy (hurray for GWT's generators!). This is a light weight class
that listens on the event bus even before the presenter has been
instantiated. As a result GWTP's will always lazily load your
presenter. An annotation also makes it trivial to have your presenter
sit behind a GWT code splitting point. As a bonus, this proxy is the
perfect place for your presenter to listen to events that may be of
interest to him before it's instantiated.

In GWT 2.1, places are a subsystem entirely decoupled from the MVP
layer. You connect them via the ActivityManager and ActivityMapper,
which lets you lazily load or code split your presenters. The
ActivityManager and ActivityMapper are not generated for you however,
you have to maintain them manually. If you want your presenter to
listen to other events before it's instantiated, then you will
probably also have to create a proxy manually (or accept that your
presenter is not lazily instantiated).

Some features are offered by both framework (i.e. user confirmation
before navigation), but GWTP places offers more features out-of-the-
box:
- Gatekeepers makes it very easy to implement a right management
mechanism client-side. For example, you can make a presenter
accessible only to the admin, another one only to logged in users,
etc.
- Hierarchical places make it easy to implement breadcrumbs or a "back
to what I was doing before" link

2) Presenters (Called activities in 2.1)

GWTP offers two different concepts: Presenters, which are singletons
and PresenterWidget which can be non-singleton. These can be nested in
one another, offering a powerful set of cascading lifecycle hooks that
you can override: onBind, onReveal, onReset, onHide and onUnbind.
These are cascading in the sense that a call to onHide on a parent
presenter will cause onHide to be called on the child presenters. It
makes it easy to organize your app logically.

This ability to nest presenters doesn't imply higher coupling since
the nesting is entirely done via the event bus. A parent presenter
does not know who is child are until they are connected and vice-
versa. This makes it very easy to reorganize your app layout, either
dynamically or based on the configuration. For example, you can make a
different hierarchical layout for your mobile version.

Activities in 2.1 takes the stance that presenter nesting is not
required. This means, for one thing, that you will have to think in
advance as to how you want to split your screen in display regions.
Modifying the layout within one presenter means you have to modify the
global screen layout. This also means that you cannot get cascading
effects: you will have to manually stop all the presenters that need
to go away when you navigate.

For me, this last point is the most important turn off. In my
experience, building reusable components in the form of
PresenterWidgets (widgets with a nice separation between logic and
view) is really useful. In GWT 2.1 you would have to do these
manually, and to manually hook them to the lifecycle methods of your
presenter (mayStop, onStart, onStop). I'm sure users of 2.1 MVP have
found a solution to this -- or maybe it's just a question of
approaching the problem differently.

* In conclusion

It looks to me, and I remember hearing Thomas saying something to that
effect, that GWT 2.1 MVP classes are still meant to sit behind a third
party tool, be it SpringRoo or (eventually) GWTP. In their current
form they offer a very nice decoupled abstraction between the various
components of a well-written application: MVP, places, event bus. But
in order to write such an application effectively you have to bring
these components together in a way that helps the developer get more
things done with less code. This has been GWTP's goal from day one and
I think its large user base is an indication that we succeeded.

Looking forward to hearing from others on that topic! In the end, I'll
gather everything into a wiki page on the GWTP wiki.

Cheers,

  Philippe

On Sep 29, 4:25 pm, Travis Camechis <camec...@gmail.com> wrote:
> understand. We are mainly trying to figure out which MVP framework to start
> with but not sure which one would be the wise decision.  Can you tell me
> some of the benefits of GWTP over 2.1 MVP are?
>
> On Wed, Sep 29, 2010 at 6:38 PM, Christian Goudreau <
>
>
>
> goudreau.christ...@gmail.com> wrote:
> > There's no big plan for now, since features are moving a lot in trunk of
> > Gwt, but I can assure you that we will include every Gwt core features that
> > we can.
>
> > Cheers,
>
> > On Wed, Sep 29, 2010 at 6:26 PM, Travis Camechis <camec...@gmail.com>wrote:
>
> >> Does anyone know what the plan is for GWT-Platform with the upcoming 2.1
> >> release?   Will GWT-Platform integrate the new features or some of them?
>
> >> On Wed, Sep 29, 2010 at 4:04 PM, Bayard Randel <k...@bestpractice.net.nz>wrote:
>
> >>> Yes, I'm currently working on a GWTP project using 2.1M3 without any
> >>> issues.
>
> >>> On Sep 30, 9:01 am, tc <camec...@gmail.com> wrote:
> >>> > We currently looking at starting a new project.  I like what GWT 2.1
> >>> > provides.  Does anyone know if you can use GWT-PLATFORM with 2.1M3+?
> >>> > The main thing we would like to use if using GWT-Platform is the Cell
> >>> > widgets.
>
> >>> --
> >>> 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+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@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+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@googlegroups.com>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > --
> > Christian Goudreau
> >www.arcbees.com
>
> >  --
> > 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+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@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+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.