Re: Do I have to use DTO if I use GWT + JPA?

2011-09-25 Thread ricu
Did you try GILEAD? It permits you to send Persistent entities over
the RPC.

On 26 ruj, 05:11, Warren Tang  wrote:
> Thanks for your reply. I also read this:
>
> http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html
>
> It seems that I have to go DTO anyway.
>
> --
> Regards,
> Warren Tang 
>
>
>
>
>
>
>
> On Monday, September 26, 2011 10:55:51 AM, Behi wrote:
>
> > Lazy loading won't work on the client side as the JPA session is only
> > maintained on the server side and only detached objects are sent down
> > to the client. You would need to use DTOs and send the fully-loaded
> > domain objects to the client.
>
> > On Sep 26, 12:21 pm, Warren Tang  wrote:
>
> >> Some say transferring entities cross the wire may cause problems,
> >> e.g. lazy
> >> loading.
>
> >> But I feel reluctant to introduce DTO. It's boilerplate and it's not
> >> right.
>
> >> I also looked at RequestFactory and it seems a solution. However I'm also
> >> using GWTP's command pattern, which doesn't seem to work with
> >> RequestFactory.
>
> >> Is there any alternatives? Do I have to use DTO?

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



Re: GWT MVP GIN - problem with nested views and presenters

2011-06-16 Thread ricu
I don't want share instances through modules that is why i didn't make
those view parts as singletons in the first place. But the view that
is injected in the parent view and the view injected into it's
presenter MUST be the same instance. But can you see what the problem
is? If I don't share instances through modules (view's are not
singletons) then I get two instances for the parent view and the
presenter even though it must be the same instance.

On 16 lip, 13:25, Juan Pablo Gardella 
wrote:
> If your widgets are reusable, if you create new instances there are not
> problem. Why you want to share instances?
>
> 2011/6/16 ricu 
>
>
>
>
>
>
>
> > Yes, but I have new instances because they are not singletons :). So
> > to solve this issue I must make them singletons? If I do that then I
> > can't reuse them across the application. Or can I?
>
> > On 16 lip, 12:50, Juan Pablo Gardella 
> > wrote:
> > > No, I don't say that. I say your problem about multiple instance is
> > becouse
> > > in each @Inject you have a new instance.
>
> > > 2011/6/16 ricu 
>
> > > > Are you trying to say that I make those views as singletons? The
> > > > problem is that I would like to reuse one widget on multiple places.
> > > > If I go with singletons I must create classes for every widget I use
> > > > (they will extend some class that has mutual functionality)?
>
> > > > On 16 lip, 02:27, Juan Pablo Gardella 
> > > > wrote:
> > > > > "The problem is that we get two objects of the sub-widget class"
> > becouse
> > > > > this widgets aren't singletons.
>
> > > > > 2011/6/15 ricu 
>
> > > > > > Anybody? Maybe someone has the same architecture without GIN. What
> > is
> > > > > > your experience?
>
> > > > > > On 13 lip, 21:16, ricu  wrote:
> > > > > > > Hi!
>
> > > > > > > We are usingGINin our application which is constructed in MVP
> > style.
> > > > > > > We tried to follow some best practices described in GWT pages and
> > > > here
> > > > > > > in GWT group so we design the application in the following
> > manner:
> > > > > > > 1) We have multiple main screens(pages) that have activities
> > attached
> > > > > > > to them. They are build in MVP  style where presenters are also
> > > > > > > activities.
> > > > > > > 2) Every main screen is a collection of some sub-widgets which
> > can
> > > > > > > also be created from some other sub-sub-widgets, so you can say
> > that
> > > > > > > we are nesting views and their presenters.
> > > > > > > 3) The main views are singletons. Our sub-widgets are not
> > singletons
> > > > > > > because we are reusing them.
> > > > > > > 4) All of our presenters aren't singletons.
> > > > > > > 5) They are created usingGIN
>
> > > > > > > GINBinding example:
> > > > > > > bind(SubWidgetView.class).to(SubWidget.class);
>
> > bind(MainWidgetView.class).to(MainWidget.class).in(Singleton.class);
>
> > > > > > > Injecting sub-widget into main widget through constructor
> > example:
> > > > > > > @Inject
> > > > > > > public MainWidget(SubWidget widget1)
>
> > > > > > > Injecting sub-widget's interface into presenter through
> > constructor
> > > > > > > example:
> > > > > > > @Inject
> > > > > > > public SubWidgetPresenter(SubWidgetView widget1)
>
> > > > > > > The problem is that we get two objects of the sub-widget class,
> > one
> > > > > > > for injecting the into main widget and the other one for while
> > > > > > > injecting into it's presenter. The first one is  shown on the
> > screen
> > > > > > > but the other one is bind to the presenter. When presenter
> > changes
> > > > its
> > > > > > > view, it changes the view that was not bin to the main widget and
> > we
> > > > > > > can't see anything.
>
> > > > > > > So our solution would be to create one sub-widget per main-widget
> > but
> > > > > > > we don't know how to do it and if we do, we don't k

Re: GWT MVP GIN - problem with nested views and presenters

2011-06-16 Thread ricu
Yes, but I have new instances because they are not singletons :). So
to solve this issue I must make them singletons? If I do that then I
can't reuse them across the application. Or can I?

On 16 lip, 12:50, Juan Pablo Gardella 
wrote:
> No, I don't say that. I say your problem about multiple instance is becouse
> in each @Inject you have a new instance.
>
> 2011/6/16 ricu 
>
>
>
>
>
>
>
> > Are you trying to say that I make those views as singletons? The
> > problem is that I would like to reuse one widget on multiple places.
> > If I go with singletons I must create classes for every widget I use
> > (they will extend some class that has mutual functionality)?
>
> > On 16 lip, 02:27, Juan Pablo Gardella 
> > wrote:
> > > "The problem is that we get two objects of the sub-widget class" becouse
> > > this widgets aren't singletons.
>
> > > 2011/6/15 ricu 
>
> > > > Anybody? Maybe someone has the same architecture without GIN. What is
> > > > your experience?
>
> > > > On 13 lip, 21:16, ricu  wrote:
> > > > > Hi!
>
> > > > > We are usingGINin our application which is constructed in MVP style.
> > > > > We tried to follow some best practices described in GWT pages and
> > here
> > > > > in GWT group so we design the application in the following manner:
> > > > > 1) We have multiple main screens(pages) that have activities attached
> > > > > to them. They are build in MVP  style where presenters are also
> > > > > activities.
> > > > > 2) Every main screen is a collection of some sub-widgets which can
> > > > > also be created from some other sub-sub-widgets, so you can say that
> > > > > we are nesting views and their presenters.
> > > > > 3) The main views are singletons. Our sub-widgets are not singletons
> > > > > because we are reusing them.
> > > > > 4) All of our presenters aren't singletons.
> > > > > 5) They are created usingGIN
>
> > > > > GINBinding example:
> > > > > bind(SubWidgetView.class).to(SubWidget.class);
> > > > > bind(MainWidgetView.class).to(MainWidget.class).in(Singleton.class);
>
> > > > > Injecting sub-widget into main widget through constructor example:
> > > > > @Inject
> > > > > public MainWidget(SubWidget widget1)
>
> > > > > Injecting sub-widget's interface into presenter through constructor
> > > > > example:
> > > > > @Inject
> > > > > public SubWidgetPresenter(SubWidgetView widget1)
>
> > > > > The problem is that we get two objects of the sub-widget class, one
> > > > > for injecting the into main widget and the other one for while
> > > > > injecting into it's presenter. The first one is  shown on the screen
> > > > > but the other one is bind to the presenter. When presenter changes
> > its
> > > > > view, it changes the view that was not bin to the main widget and we
> > > > > can't see anything.
>
> > > > > So our solution would be to create one sub-widget per main-widget but
> > > > > we don't know how to do it and if we do, we don't know how to inject
> > > > > that object of the sub-widget into the recreating presenter.
>
> > > > > Marko
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "Google Web Toolkit" group.
> > > > To post to this group, send email to
> > google-web-toolkit@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > google-web-toolkit+unsubscr...@googlegroups.com.
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

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



Re: GWT MVP GIN - problem with nested views and presenters

2011-06-15 Thread ricu
Are you trying to say that I make those views as singletons? The
problem is that I would like to reuse one widget on multiple places.
If I go with singletons I must create classes for every widget I use
(they will extend some class that has mutual functionality)?

On 16 lip, 02:27, Juan Pablo Gardella 
wrote:
> "The problem is that we get two objects of the sub-widget class" becouse
> this widgets aren't singletons.
>
> 2011/6/15 ricu 
>
>
>
>
>
>
>
> > Anybody? Maybe someone has the same architecture without GIN. What is
> > your experience?
>
> > On 13 lip, 21:16, ricu  wrote:
> > > Hi!
>
> > > We are usingGINin our application which is constructed in MVP style.
> > > We tried to follow some best practices described in GWT pages and here
> > > in GWT group so we design the application in the following manner:
> > > 1) We have multiple main screens(pages) that have activities attached
> > > to them. They are build in MVP  style where presenters are also
> > > activities.
> > > 2) Every main screen is a collection of some sub-widgets which can
> > > also be created from some other sub-sub-widgets, so you can say that
> > > we are nesting views and their presenters.
> > > 3) The main views are singletons. Our sub-widgets are not singletons
> > > because we are reusing them.
> > > 4) All of our presenters aren't singletons.
> > > 5) They are created usingGIN
>
> > > GINBinding example:
> > > bind(SubWidgetView.class).to(SubWidget.class);
> > > bind(MainWidgetView.class).to(MainWidget.class).in(Singleton.class);
>
> > > Injecting sub-widget into main widget through constructor example:
> > > @Inject
> > > public MainWidget(SubWidget widget1)
>
> > > Injecting sub-widget's interface into presenter through constructor
> > > example:
> > > @Inject
> > > public SubWidgetPresenter(SubWidgetView widget1)
>
> > > The problem is that we get two objects of the sub-widget class, one
> > > for injecting the into main widget and the other one for while
> > > injecting into it's presenter. The first one is  shown on the screen
> > > but the other one is bind to the presenter. When presenter changes its
> > > view, it changes the view that was not bin to the main widget and we
> > > can't see anything.
>
> > > So our solution would be to create one sub-widget per main-widget but
> > > we don't know how to do it and if we do, we don't know how to inject
> > > that object of the sub-widget into the recreating presenter.
>
> > > Marko
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

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



Re: GWT MVP GIN - problem with nested views and presenters

2011-06-15 Thread ricu
Anybody? Maybe someone has the same architecture without GIN. What is
your experience?

On 13 lip, 21:16, ricu  wrote:
> Hi!
>
> We are usingGINin our application which is constructed in MVP style.
> We tried to follow some best practices described in GWT pages and here
> in GWT group so we design the application in the following manner:
> 1) We have multiple main screens(pages) that have activities attached
> to them. They are build in MVP  style where presenters are also
> activities.
> 2) Every main screen is a collection of some sub-widgets which can
> also be created from some other sub-sub-widgets, so you can say that
> we are nesting views and their presenters.
> 3) The main views are singletons. Our sub-widgets are not singletons
> because we are reusing them.
> 4) All of our presenters aren't singletons.
> 5) They are created usingGIN
>
> GINBinding example:
> bind(SubWidgetView.class).to(SubWidget.class);
> bind(MainWidgetView.class).to(MainWidget.class).in(Singleton.class);
>
> Injecting sub-widget into main widget through constructor example:
> @Inject
> public MainWidget(SubWidget widget1)
>
> Injecting sub-widget's interface into presenter through constructor
> example:
> @Inject
> public SubWidgetPresenter(SubWidgetView widget1)
>
> The problem is that we get two objects of the sub-widget class, one
> for injecting the into main widget and the other one for while
> injecting into it's presenter. The first one is  shown on the screen
> but the other one is bind to the presenter. When presenter changes its
> view, it changes the view that was not bin to the main widget and we
> can't see anything.
>
> So our solution would be to create one sub-widget per main-widget but
> we don't know how to do it and if we do, we don't know how to inject
> that object of the sub-widget into the recreating presenter.
>
> Marko

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



GWT MVP GIN - problem with nested views and presenters

2011-06-13 Thread ricu
Hi!

We are using GIN in our application which is constructed in MVP style.
We tried to follow some best practices described in GWT pages and here
in GWT group so we design the application in the following manner:
1) We have multiple main screens(pages) that have activities attached
to them. They are build in MVP  style where presenters are also
activities.
2) Every main screen is a collection of some sub-widgets which can
also be created from some other sub-sub-widgets, so you can say that
we are nesting views and their presenters.
3) The main views are singletons. Our sub-widgets are not singletons
because we are reusing them.
4) All of our presenters aren't singletons.
5) They are created using GIN

GIN Binding example:
bind(SubWidgetView.class).to(SubWidget.class);
bind(MainWidgetView.class).to(MainWidget.class).in(Singleton.class);

Injecting sub-widget into main widget through constructor example:
@Inject
public MainWidget(SubWidget widget1)

Injecting sub-widget's interface into presenter through constructor
example:
@Inject
public SubWidgetPresenter(SubWidgetView widget1)

The problem is that we get two objects of the sub-widget class, one
for injecting the into main widget and the other one for while
injecting into it's presenter. The first one is  shown on the screen
but the other one is bind to the presenter. When presenter changes its
view, it changes the view that was not bin to the main widget and we
can't see anything.

So our solution would be to create one sub-widget per main-widget but
we don't know how to do it and if we do, we don't know how to inject
that object of the sub-widget into the recreating presenter.

Marko

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



Re: ValueListBox custom binding

2011-06-06 Thread ricu
Ok, that helps a lot. Thank you both!

On 6 lip, 14:45, Thomas Broyer  wrote:
> On Monday, June 6, 2011 2:12:34 PM UTC+2, ricu wrote:
>
> > I have ValueListBox where  A is my POJO class. So I have editor
> > with fields:
>
> > ValueListBox field1;
> > ValueListBox field2;
> > ValueListBox field3;
>
> Having these in an Editor would mean that X has 3 fields field1, field2
> and field3 of respective type A, B and C. Otherwise, you'd have to
> @Editor.Ignore these fields (and they would not participate in the editing
> of an object of type X)
>
> > I also have a POJO D with String properties which are A.code, B.code,
> > C.code. It is some kind of specification pattern where I specify a
> > search filter.
> > So my question is how can I bind only CODE property from classes A,B,C
> > into my D class?
>
> As Vinayak told you earlier, you have to "adapt" the String to/from the A
> (resp. B, C) code by creating a LeafValueEditor that wraps a (in
> your case) ValueListBox (resp. B, C).
> Vinayak's code is not quite complete/correct though:
>
>    - in setValue(String) you'd have to select the appropriate A (resp. B, C)
>    object in the ValueListBox
>    - in getValue, you'd have to get the selected A (resp. N, C) value from
>    the ValueListBox and return its getCode() (no need for a ValueChangeHandler
>    and selectedValue field)
>
> Note that, alternatively, you can have your ValueListBoxes directly in your
> Editor, but @editor.Ignore-d, and have the Editor implement
> ValueAwareEditor: in setValue you'd select the appropriate values in the
> ValueListBoxes and save the D value in a field, and in flush() you'd push
> the appropriate values within the edited D object (that you previously saved
> in the setValue).

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



Re: ValueListBox custom binding

2011-06-06 Thread ricu
I have ValueListBox where  A is my POJO class. So I have editor
with fields:

ValueListBox field1;
ValueListBox field2;
ValueListBox field3;

I also have a POJO D with String properties which are A.code, B.code,
C.code. It is some kind of specification pattern where I specify a
search filter.
So my question is how can I bind only CODE property from classes A,B,C
into my D class?


On 6 lip, 11:17, vinayak kulkarni  wrote:
> Dear,
> Here is how you can achieve this:
> May be a crude solution but it works.
>
> Make your editor as LeafValueEditor
> ie.
> public class MyWidget extends Composite implements LeafValueEditor
>
> @UiField
>   ValueListBox  listOfString;
>
>  private static String selectedValue;
>
> //holds the values
> public final List listBoxValueList = new ArrayList();
>
>  @Override
>   public String  getValue()
>   {
>       return selectedValue;
>  }
>
> @Override
>   public void setValue(String  valueToSet)
>   {
>     // dont do anything.. since, it is an editor of  but not editor
> of List
>  }
>
> write your own method
> public void seListValues(List valueList){
>   for (String originStr : valueList)
>     {
>       listOfString.addItem(originStr);
>       listBoxValueList.add(originStr);
>     }
>
> listOfString.addChangeHandler(new ChangeHandler() {
>
>       public void onChange(ChangeEvent event)
>       {
>
>         // get the selected value from the selected index
>         final int selectedIndex = listOfString.getSelectedIndex();
>         selectedValue = listOfString.getValue(selectedIndex);
>
>       }
>     });
>
> }
>
> From presenter,
> call  editorDriver.edit( );  and then seListValues();
>
> editorDriver.flush() would flush the selected string value.
>
> Hope this helps
>
>
>
>
>
>
>
> On Mon, Jun 6, 2011 at 12:52 PM, ricu  wrote:
> > Hi!
>
> > I use ValueListBox field in one of my widget that acts as an editor. I
> > populate this ValueListBox with the list of objects but I would like
> > to bind it to a String property of my object model. For example, I
> > have a list of A objects in the ValueListBox and with the custom
> > renderer I display A.name in the list. When I change the selected item
> > in the list I want to copy (when driver.flush is called) only A.code
> > to the String property of the object that is binded to my widget.
>
> > How can I achieve this and is the editor framework appropriate for
> > such scenarios?
>
> > Marko
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

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



ValueListBox custom binding

2011-06-06 Thread ricu
Hi!

I use ValueListBox field in one of my widget that acts as an editor. I
populate this ValueListBox with the list of objects but I would like
to bind it to a String property of my object model. For example, I
have a list of A objects in the ValueListBox and with the custom
renderer I display A.name in the list. When I change the selected item
in the list I want to copy (when driver.flush is called) only A.code
to the String property of the object that is binded to my widget.

How can I achieve this and is the editor framework appropriate for
such scenarios?

Marko

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



Re: A gwt-sample. Integrate Spring, JPA2.

2011-05-28 Thread ricu
Hi Juan,

Do you know how to manage a session expired situation when using
spring security? The problem is that HTML code is showing in a alert
window every time the spring tries to redirect to the login page.
I don't know how to solve this problem without parsing of the error
message and I'm not satisfied with that solution.

Tnx,
Marko
On 27 svi, 21:06, Juan Pablo Gardella 
wrote:
> Hi folks,
>
> I wanna contribute to the communitiy with a little sample. I put 
> inhttps://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home
>
> Features:
>
>    - JPA 2.
>    - gin.
>    - gwt-dispatch. Handlers are spring managed beans.
>    - jsr-330 in client and server side.
>    - Spring.
>    - Spring Security.
>    - H2 database.
>    - Build by maven.
>    - Runnable by jetty (mvn jetty:deploy-war).
>    - Autogenerate database by reading domain classes.
>
> Use activity and places.
>
> Regards,
> Juan

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



Re: Good book on GWT

2011-05-09 Thread ricu
I think that all these book are a little bit old. Take a look at this
one: http://code.google.com/p/gwt-gae-book/

On 8 svi, 17:49, "pawanpreet...@gmail.com" 
wrote:
> Thanks guys. It will help me a lot.
>
> Thanks
> -Pawan
>
> On May 8, 10:57 am, nino ekambi  wrote:
>
>
>
>
>
>
>
> >http://www.manning.com/tacy/
>
> > one of my favorite beeing
>
> >http://www.gwtapps.com/
>
> > but more then a book  the GWT  is the best
> > ressource i d say. The technology is moving so fast. It s hard  for books to
> > keep the pace
>
> > 2011/5/8 pawanpreet...@gmail.com 
>
> > > Hi All,
>
> > > I am new to GWT and had gone through initial quick starts on GWT site.
>
> > > Is there any book for getting clear fundamentals on GWT, more examples
> > > and helps me to build a project. I mean to say best book in market.
>
> > > Thanks
> > > Pawan
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > --
>
> > GWT API for  non Java based 
> > platformshttp://code.google.com/p/gwt4air/http://www.gwt4air.appspot.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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT 2.1 transaction

2010-11-14 Thread ricu
Hi all,

I want to migrate my application from 2.0.4 to 2.1.0 and I was
wondering how does GWT 2.1 handle transaction. At what point does GWT
commit changes made to some entity? I see that RequestContext has fire
method which probably commits all changes made to entities but would
like to know more about this process.
Can we combine spring's @Transactional annotations and gwt 2.1
features?

Thanks in advance.

*Marko Curi*

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



Re: Advice for site design

2010-10-06 Thread ricu
I suggest you to go with pure GWT and JAVA backend.
I tried to work with PHP backend on one of my project and after a few
months I realized that JAVA backend is much much simpler to use with
GWT.
With JAVA you are equipped with full stack needed to build web app -
SPRING, HIBERNATE, GILEAD...

On 6 list, 07:24, "Paul Grenyer"  wrote:
> I see no reason you would want PHP if you can use GWT. For security use 
> Spring.
>
>
>
> -Original Message-
> From: nick kov 
>
> Sender: google-web-toolkit@googlegroups.com
> Date: Tue, 5 Oct 2010 14:45:29
> To: Google Web Toolkit
> Reply-To: google-web-toolkit@googlegroups.com
> Subject: Advice for site design
>
> I'm creating a site which will have a sign up screen, a login system,
> and then interaction with the site once you login. My question is, can
> I mix GWT with PHP in a healthy manner? I don't know how well GWT
> handles client-server interactions. But should I stick to pure GWT for
> ease and cross browser compatibility, a mix with PHP, or just pure
> PHP ?
>
> 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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.