ORM or JDBC?

2011-03-24 Thread csaffi
Hi everybody,
I would like your opinion regarding the use of ORM in web applications
built with GWT. I'm a little reconsider about the ORM, and I wonder
whether it is worth to use in web applications built with GWT. What
would be real advantages in addition to greater independence and
portability?

Waiting for your comments :)

-- 
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.



ORM or JDBC?

2011-03-23 Thread csaffi
Hi everybody,
I would like your opinion regarding the use of ORM in web applications
built with GWT. I'm a little reconsider about the ORM, and I wonder
whether it is worth to use in web applications built with GWT. What
would be real advantages in addition to greater independence and
portability?

Waiting for your comments :)

-- 
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: User roles in GWT applications

2011-03-08 Thread csaffi
I'm also considering java security frameworks like Apache Shiro and
Spring Security... What do you think about them?

-- 
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: User roles in GWT applications

2011-03-07 Thread csaffi
Thank you Lukasz.

> In my app I'm doing the security checks on the client- as well as on
> the server-side. After the user successfully logged into the app, the
> UserManager containes among other things a set of roles which are
> assigned to the current user enabling the role-checks without any rpc-
> callbacks. The client checks are done to provide only the necessary UI
> - only the system functions which can actually be accessed by the
> current user. The server checks provides the "true" security, ensuring
> that only the users with the corresponding rights can access the
> services.

UserManager is a list of roles assigned to user-groups? So, a key-
value table?

-- 
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: User roles in GWT applications

2011-03-02 Thread csaffi
On 2 Mar, 16:41, Ben Imp  wrote:
> This is basically what I have implemented in my system as well.  Our
> user roles are in the DB and I keep a copy on the client so all of the
> presenters can inspect it to see what the user can do.
>
> I should mention that double-checking the permissions on the server
> side for all requests is a very good idea.  A clients words are not to
> be trusted.
>
> -Ben

Thank you Ben.
How do you keep a copy of user roles on the client?

-- 
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: User roles in GWT applications

2011-03-02 Thread csaffi
On 2 Mar, 14:31, Lukasz  wrote:
> I'm doing it by providing a self-implemented UserManager object on the
> client. It contains the currently signed in user and provides methods
> for access or role checks e.g. canEditUser(). This UserManager object
> is an singleton injected via gin into all relevant presenters (as you
> see I'm also using the MVP pattern in my app). When the presenter is
> rendering the view, it can check which functionality should be enabled
> or disabled.
>
> HTH,
> Lukasz

Thank you Lukasz.
Does UserManager check user roles server-side with an RCP call?

-- 
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: User roles in GWT applications

2011-03-02 Thread csaffi
A possible solution could be to make an RPC call to the server during
onModuleLoad. This RPC call would generate the necessary Widgets and/
or place them on a panel and then return this panel to the client end.

What do you think about this?

-- 
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.



User roles in GWT applications

2011-03-01 Thread csaffi
Hi everybody,
I'm wondering if you could suggest me any way to implement "user
roles" in GWT applications. I would like to implement a GWT
application where users log in and are assigned "roles". Based on
their role, they would be able to see and use different application
areas.

Thank you very much in advance for your help!

-- 
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.



Deploying on Google App Engine with GWT Designer

2011-02-25 Thread csaffi
Hi everybody,
I'm using GWT Designer + Google Plugin for Eclipse, and I'd like to
design the GUI with the designer and deploy the resulting app on
Google App Engine. I'm fighting from days with this problem: if I
deploy on GAE an application developed using the GWT Designer, it does
NOT run.

This is what I did:
- create a new project with wizard "New Web Application Project", with
package com.myproject
- check both "Use Google Web Toolkit" and "Use Google App Engine"
- create a new "GWT module", with package com.myproject.myapp
- deploy on GAE with id myapplication
- try running on http://myapplication.appspot.com, does NOT work

The only way for running it on GAE is creating a new project with "GWT
project sample code" and then modifying it.

Please help me! Thank you very much in advance!

-- 
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 Designer and GAE deployment

2011-02-24 Thread csaffi
Ok, I was able to open the Designer also when the project is created
using the "New Web Application Project" wizard. However the GAE
problem remains. This is what I did:

- create a new project with wizard "New Web Application Project", with
package com.myproject
- check both "Use Google Web Toolkit" and "Use Google App Engine"
- create a new "GWT module", with package com.myproject.myapp
- deploy on GAE with id myapplication
- try running on http://myapplication.appspot.com, does NOT work

The only way for running it on GAE is creating a new project with "GWT
project sample code" and then modifying it.

-- 
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 Designer and GAE deployment

2011-02-24 Thread csaffi
Please help!
I really don't know how to solve this. When I try to deploy on Google
App Engine a project created with "GWT Java Project", it does not run
on it!

-- 
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 Designer and GAE deployment

2011-02-23 Thread csaffi
Thank you for your answer Eric.

> We need more details here. What do you mean by you "cannot use the
> Designer because it seems disabled". Disabled in what way?

With disabled I mean that the "Design" tab is not present, there
should be these tabs Source, Design, Bindings, but they are not
present if the project was created using the "New Web Application
Project" wizard.

> With the second project, why can't you "run it on GAE after
> deployment"?

Because, after doing "Deploy App Engine Project", when I go to its web
page on http://myproject.appspot.com/, I get a 404 error: "Error:
NOT_FOUND".

> What version of GWT are you using? What version of GWT Designer?
GWT-2.2
GWT Designer 2.2.0.r36x20110255

-- 
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 Designer and GAE deployment

2011-02-23 Thread csaffi
Please help, I'm not able to run on GAE applications developed with
the GWT Designer, as described before...

Thank you very much in advance for your help!

-- 
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 Designer and GAE deployment

2011-02-22 Thread csaffi
Hi everybody,
I'm using GWT Designer + Google Plugin for Eclipse, and I'd like to
design the GUI with the designer and deploy the resulting app on
Google App Engine. I'm fighting from hours with this problem:

- if the application project is created using the "New Web Application
Project" wizard, I can successfully run it on GAE after deployment,
BUT I cannot use the Designer because it seems disabled

- if the application project is created using the "New-> Other->
WindowBuilder-> GWT Designer-> Model-> GWT Java Project", I can
successfully use Designer, BUT I cannot run it on GAE after deployment


Please help me!

-- 
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: Master-details with GWT

2011-02-21 Thread csaffi
Thank you for your suggestion Jeff.
I was talking about the UI implementation of master-details. If I'm
not wrong, this is what I could be:

when a row on CellTable gets selected -> get Master record from
DataProvider -> retreive related Details records from datastore

-- 
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.



Master-details with GWT

2011-02-19 Thread csaffi
Hi everybody,
I'd like to develop a web application using GWT for implementing the
master-details pattern. When clicking on the master-table, the details-
table will show all records related to the master.

For example, two related tables with a 1:n relation could be these:

- Master: orders(id, date, totalAmount)
- Details: order(order, code, description, price, qty)


Please help me if you could suggest anything. Thanks!

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



Re: Webtop development

2010-12-10 Thread csaffi
> GWT is probably the best choice if your competences in Java are
> already there and also if your backend system are written in Java
> because then you have the same core technology for front- and back-end
> and can leverage the great java tooling (junit, findbugs, etc.) for
> your front-end

Thank you for your answer Didier.

Do you know ExtGWT too?

I'm thinking about hiring a GWT programmer, could you be interested?
Please contact me on csaffi [at] tiscali(dot)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-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: Webtop development

2010-12-10 Thread csaffi
> http://www.sencha.com/examples/desktop.html

Thank you for your answer nino. The ExtGWT desktop is really what I
need.

I'm thinking about hiring a GWT programmer, could you be interested?
Please contact me on csaffi [at] tiscali(dot)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-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.



Webtop development

2010-12-10 Thread csaffi
Hi everybody,
I would like to develop a webtop on which running desktop-like web
applications. What do you think is the best technology for this
purpose? GWT could help me? Is there any GWT Webtop demo?


Thank you very much in advance for your help!

-- 
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.



GWT Examples

2010-11-26 Thread csaffi
Hi everybody,
I'm new to GWT, so I'm wondering if you could provide me some useful
examples and tutorials for building a client-side GUI and a server-
side backend, for developing a stupid simple Window with a Table
inside it, populated by data read from a db.

I hope you can help me. Thank you very much in advance!

-- 
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: GWT Designer and Data Binding

2010-11-06 Thread csaffi
Thank you Jeff, how could it help me with data binding of UI
components?

-- 
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.



GWT Designer and Data Binding

2010-11-05 Thread csaffi
Hi everybody,
I happily discovered that Google has released GWT Designer free for
use, and I immediately downloaded it for testing. Unfortunately I
realized that it lacks data binding features to bind data with UI
components... Maybe it will be introduced in future versions, but for
now remains a great lack.

Do you know any way to overcome this problem?

Thank you very much in advance!

-- 
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: Rapid development of desktop-like web applications

2010-09-15 Thread csaffi
Thank you for your answer Kasper.

> What about Eclipse with GWT Designer, GWT and GAE ? That's what I use...
I'd like to try GWT Designer but now Instantiations was acquired by
Google and GWT Designer is not available on 
http://www.instantiations.com/gwtdesigner...

Perhaps it's now replaced by http://code.google.com/eclipse ?

Does GWT Designer let you visually design UI and bind data ?


Thank you very much for your help

-- 
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: Rapid development of desktop-like web applications

2010-09-15 Thread csaffi
Thank you Kasper.

> What about Eclipse with GWT Designer, GWT and GAE ? That's what I use...
I'd like to try GWT Designer, but now Instantiations was acquired by
Google and GWT Designer is not available on 
http://www.instantiations.com/gwtdesigner

GWT Designer lets you visually design and bind UI ?

What about http://code.google.com/eclipse ?

What do you suggest? Thank you very much!

-- 
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: Rapid development of desktop-like web applications

2010-09-14 Thread csaffi
Thank you for your answer marius.

Talking about Visual Basic (and other IDEs like it as Delphi and C+
+Builder) I'm talking about an IDE with which is possible:
- Visual GUI design
- Event-driven programming
- Data binding support between GUI components and data

I was able to develop in this way using Netbeans for Swing desktop
applications, but not for web applications...


> You could have a look onhttp://www.springsource.org/roo
> (see this presentationhttp://www.youtube.com/watch?v=a46hJYtsP-8)
> Deployment is hassle-free on App Engine.
Roo works only with command line... I'd like to have a "visual"
environment with which I could design the UI and with which I could
manage data bindings...


Have you got any advice?

-- 
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.



Rapid development of desktop-like web applications

2010-09-13 Thread csaffi
Hello everybody,

I'm looking for a visual RAD IDE that would allow me the rapid
development of desktop-like web applications. It should assist me on
data binding too. If you know Visual Basic, it should be similar to
it.

The web application requirements are:
- CRUD functionality for record management in relational databases
- displaying data in tabular form, master/details form
- generate reports
- generate graphs

I've got no restrictions on languages, the goal is to find tools that
make development the fastest possible.

Would you have any advice?

Thank you very much in advance!

-- 
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.