Upgrade problem 1.7 --> 2.0

2010-02-03 Thread iaio81
Hi all,
because of the slowness of GWT 1.7's hosted mode, I was trying
upgrading GWT to 2.0 but after having done it I have problems running
my projects created with 1.7. What I've to change?

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



How create an EAR with GWT and other jars?

2009-11-19 Thread iaio81
Hi all,
Iìve deployed GWT as WAR in JBOSS and EJBS as jars, I would put all
them in EAR. How can I include with Eclipse, GWT application in EAR
module?

--

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




Update data in real-time

2009-11-18 Thread iaio81
Hi all,
in my application I need update for example a number in a cell after
having inserted in the DB particular records...Is it better using RPC
call with Timer class every 1 minute ( for example) or using comet
(for example GWTAdapterStreamHub) or someone has some other advises?

Thanks 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: Static variables or Session?

2009-11-18 Thread iaio81
Ok, what I've done until nowthanks!!!
But in order to authorize RPC request, couldn't you use static
variables or you intend for make it easier?

On 18 Nov, 19:24, Sripathi Krishnan 
wrote:
> I am assuming you mean client side static variables v/s server session
> (doesn't make sense any other way)..
>
> GWT recommends going stateless - which means no session.
>
> In practice, however, we compromised a little. In our application, we store
> roles/permissions in session so that we can authorize a RPC request.
> Everything else is store in client side variables.
>
> --Sri
>
> 2009/11/18 iaio81 
>
>
>
> > Hi all,
> > according to you, in order to save user's information, is it better
> > saving them into static variables or in session?
>
> > Thanks 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 > cr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=.

--

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.




Static variables or Session?

2009-11-18 Thread iaio81
Hi all,
according to you, in order to save user's information, is it better
saving them into static variables or in session?

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




Comet and GWT

2009-11-16 Thread iaio81
Hi all,
I need implementing comet with my GWT application and I was reading
about Rocket-GWT. Can I decide when send updates to client ? And if
so, how?
How can Rocket GWT avoid too many connections opened at the same time?

Thanks all

--

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




Problem with memory of Form Panel

2009-11-09 Thread iaio81

Hi all,
I've a sequence of Form Panel in a Window. At the end I close the
window but if I click on the shortcuts GWT reopens it and I see the
last form panel with field filled.How can i reset 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: EXT-GWT BeanModelTag

2009-11-03 Thread iaio81

According to you, I have a separate jar with all entiites with
BeanModelTag implementation. In this jar I put in the persistence.xml
this code --> .gxt.jar..   Is
it enough or I'm missing something?

On 3 Nov, 18:52, charlie  wrote:
> Jboss NCDeff errors are ubiquitous, try another servlet container to
> see if its jboss or your app.
>
>
>
> On Tue, Nov 3, 2009 at 11:15 AM, iaio81  wrote:
>
> > Hi all,
> > I'm developing with EXT-GWT and I've problem with Entity in a separate
> > jar.
> > I've created entity class that implements BeanModelTag, but JBoss
> > doesn't deploy successfully because give me a NoClassDefError on
> > BeanModelTag.help me please
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



EXT-GWT BeanModelTag

2009-11-03 Thread iaio81

Hi all,
I'm developing with EXT-GWT and I've problem with Entity in a separate
jar.
I've created entity class that implements BeanModelTag, but JBoss
doesn't deploy successfully because give me a NoClassDefError on
BeanModelTag.help me please
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Which is the best way to manage many rows in a table with pagination?

2009-10-28 Thread iaio81

Hi all,
which is according to you the best way to manage many rows in a table
through pagination? I was seeing the incubator's widget
ScrollPagingTable, what do you think about 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
-~--~~~~--~~--~--~---



Group Async in one class

2009-10-27 Thread iaio81

Hi all,
I was thinking to group the Async call (client-side) in one class in
order to make code cleaner. In a multiuser application, could I create
a Singleton which return the Async reqested by client?

Thanks a lot!
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Entity Beans Problem

2009-10-18 Thread iaio81

Hi all,
I'm developing an application with GWT and like server-side i'm using
EJB 3.0 and Entity Beans.
I've tested my EJB deployed in JBOSS and all is fine with GWT.
The problem is that I cannot return an Entity Bean beacuse GWT needs
the.java file.

So I've created two JAR:

JAR1 -->  EJB+ .class Entity Bean
JAR2 -->  .java Entity Bean + .class Entity Bean

In GWT's client-side i import JAR2's .java  file of Entity Bean
while in server-side I have to import JAR1's .class file (because the
EJB's method return the object in its JAR).

I was thinking that a solution could be make EJB in a JAR points to an
Entity Bean in an other JAR.is it possible or are there a
different solution to resolve this problem?


I hope it's clear.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Which is the best way to intercept POST from an other web site?

2009-10-14 Thread iaio81

Hi all,
I need to receive a form (with POST method) from an other WEB site.
I've created in GWT a servlet and it's work fine. Is it correct or
there are other solutions?
--~--~-~--~~~---~--~~
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: Trouble with Entity Beans in GWT

2009-10-14 Thread iaio81

Thank you, first of all, for your support. I intended Entity Beans ,
so I should create a module with in it the Entity (.java + .class).
What do you mean with "+dtos"?
About EJB (Session and Stateless), I use a Facade Pattern and so the
client call it and don't the EJBs. According to you, for testing my
application in Eclipse together with GWT, have I to import jar of all
EJB or I leave them on JBOSS ?

Thank you very much

On 14 Ott, 16:30, mariyan nenchev  wrote:
> Let's make the things clear. Are you talking about entity beans or session
> beans? If session beans, you just have to add the interfaces to your sejbs
> and use them only at the server side. If you want to use entity beans you
> may make your persistance jar(that containes your entities + dtos) as gwt
> module, so the jar must contain .java and .class files and add it to your
> gwt project plus add it in the gwt.xml file as module.
>
> On Wed, Oct 14, 2009 at 12:34 PM, iaio81 wrote:
>
>
>
>
>
> > And how can i test my GWT application that call via-RPC EJB deployed
> > on my JBoss? Have I to import EJB as classes not compiled?
>
> > On 14 Ott, 10:32, mariyan nenchev  wrote:
> > > Hi, you do not have to add  your ejb jar in the gwt client side. It is
> > only
> > > needed in the server side. So you do not need to add it in the gwt.xml
> > file.
> > > As you may not know you can't add every kind of jars in the client
> > > side(which is compiled to js). Tell me how do you think the gwt compliler
> > > will compile ejb code into js?
>
> > > On Wed, Oct 14, 2009 at 3:15 AM, iaio81 
> > wrote:
>
> > > > Hi all,
> > > > I have a problem with GWT. I've imported my EJB's jar and I put in it
> > > > the *.gwt.xml with source equals to my entities folder and then I add
> > > > in the Main.gwt.xml --> inherits name=..
> > > > When I compile I've always the same error  --> No source code is
> > > > available for type ... and it doesn't find my entity.
>
> > > > Could you help me?
> > > > Thanks a lot
--~--~-~--~~~---~--~~
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: Trouble with Entity Beans in GWT

2009-10-14 Thread iaio81

And how can i test my GWT application that call via-RPC EJB deployed
on my JBoss? Have I to import EJB as classes not compiled?

On 14 Ott, 10:32, mariyan nenchev  wrote:
> Hi, you do not have to add  your ejb jar in the gwt client side. It is only
> needed in the server side. So you do not need to add it in the gwt.xml file.
> As you may not know you can't add every kind of jars in the client
> side(which is compiled to js). Tell me how do you think the gwt compliler
> will compile ejb code into js?
>
>
>
> On Wed, Oct 14, 2009 at 3:15 AM, iaio81  wrote:
>
> > Hi all,
> > I have a problem with GWT. I've imported my EJB's jar and I put in it
> > the *.gwt.xml with source equals to my entities folder and then I add
> > in the Main.gwt.xml --> inherits name=..
> > When I compile I've always the same error  --> No source code is
> > available for type ... and it doesn't find my entity.
>
> > Could you help me?
> > Thanks a lot
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Trouble with Entity Beans in GWT

2009-10-13 Thread iaio81

Hi all,
I have a problem with GWT. I've imported my EJB's jar and I put in it
the *.gwt.xml with source equals to my entities folder and then I add
in the Main.gwt.xml --> inherits name=..
When I compile I've always the same error  --> No source code is
available for type ... and it doesn't find my entity.

Could you help me?
Thanks a lot

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