Spring backend, and gwt frontend, seperation of concerns?

2013-10-13 Thread Nir Avital
Soon we are about to start developing a new project which is basically a 
Back-office application. 

We chose the following technologies in our backend:

Spring, JPA, mySQL , MongoDB, RabbitMQ..

We chose to use GWT as our frontend framework.

My question is very simple:

Should we create one project, that comprises both the backend and frontend??

OR:

Should we create 2 separate project, one will be a pure backend project 
while the other pure frontend?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Client side caching (CellTable)

2013-10-08 Thread Nir Avital
Hi,

We are trying to create a cell table with tons of entries.
We use pagination. (AsyncDataProvider and Pager)  and would like to fetch 
on demand entries.

Currently it does work as intended,

only problem is, when we show some entries on the cell table (let's say 
entries #1-#25) 
and then change page to fetch the entries (#1000 - #1025)
when changing back again to entries #1-#25  gwt still makes a server call !
we would like to create a simple cache in the client and by this skip the 
unnecessary call like the example above.

any ideas?

Thanks.
 

P.S here is a piece of code of the onRangeChanged:

AsyncDataProvider provider = new AsyncDataProvider() {
  @Override
  protected void onRangeChanged(HasData display) {
int start = display.getVisibleRange().getStart();
int end = start + display.getVisibleRange().getLength();
end = end >= DBHelper.size() ? DBHelper.size() : end;
List sub = DBHelper.get(start, end);
updateRowData(start, sub);
  }
};

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Load on demand - table \ grid

2013-10-03 Thread Nir Avital
Hi,
We're examining GWT for our next generation project.
We would like to create a simple table \ grid that will represent a 
database table.
What we want to do is to populate this table\grid with our database data.

Our tables are very big (~2 Million rows)

and therefore our requirements from the table\grid are:
1) to load on demand the results
2) to support pagination
3) do both automatically

Is there any quick way for us to experiment with such an example?
any code links \ references will be helpful.
thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.