Client Logging Question

2013-09-27 Thread Timothy Spear
I think I am missing a few simple things, and even Google Search has failed me 
this time. :D

The following covers some of the concepts fairly well:
http://www.gwtproject.org/doc/latest/DevGuideLogging.html

However a few simple questions:
1. I cannot find the actuating logging example project.
2. I want client logging enabled/disabled based on run time settings not 
compile time (I have a logging.properties file to control server logging). Has 
anyone done this?


Thanks,

Tim

-- 
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 Logging Question

2013-09-27 Thread Timothy Spear
I think I am missing a few simple things, and even Google Search has failed 
me this time. :D

The following covers some of the concepts fairly well:
http://www.gwtproject.org/doc/latest/DevGuideLogging.html

However a few simple questions:
1. I cannot find the actuating logging example project.
2. I want client logging enabled/disabled based on run time settings not 
compile time (I have a logging.properties file to control server logging). 
Has anyone done this?


Thanks,

Tim

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


Re: GWT Chat applications

2013-09-30 Thread Timothy Spear
I used get-eventservice to build a custom solution. 
Requirements were for system to client and client to client messaging. Uses one 
of the two RPC connections most browsers allow JS.
So far working well.

Tim

On Sep 30, 2013, at 11:03 AM, David Levesque  wrote:

> I have built a chat front-end using GWT, Strophe.js and gwt-strophe (bindings 
> for GWT). Strophe simulates persistent XMPP connections through BOSH. For the 
> server I used Tigase, but it should work with any XMPP complient server. 
> There are many good open source chat servers that allow you to write custom 
> plugins in java (e.g. for authentication and integration with your back-end). 
> Openfire is a popular one.
> 
> The advantage of having a separate chat server is that it removes a lot of 
> load (and at lot of long lived connections) from your servlet container. The 
> drawback is that it makes integration with your webapp harder, because you 
> have to write plugins to talk to your backend. But imo it scales better, 
> especially if you're going to have hundreds or thousands of simultaneous chat 
> users.
> 
> Basically my GWT app uses GWT-RPC to talk to Tomcat, but the chat stuff does 
> not go to Tomcat. It goes to the standalone Tigase server living on the same 
> machine. All traffic go through port 80 (or 443) and it is routed to either 
> Tomcat or Tigase using reverse proxy rules in Apache Web server.
> 
> Unfortunately I can't show you the code or point you to a live example 
> because it was developped for a company I worked for (closed source) and the 
> application is not open to public.
> 
> --
> David
> 
> 
> On Wednesday, December 9, 2009 7:13:16 AM UTC-5, abhiram wrote:
> Hi All, 
> 
>Can someone tell me which is the best (and convenient) method to 
> implement a chat application for my web page using GWT? 
> 
>   I believed using the comet.jar would be neat but had lot of problem 
> implementin it. Can you please tell me which is the best possible 
> approach? with any working examples / links? 
> 
> ~ Abhiram 
> 
> -- 
> 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.

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


Tablet and Desktop usage of GWT

2013-09-30 Thread Timothy Spear
I have been doing research on porting my application to run in the Andriod 
tablets and iPads. 
Most point to M-GWT with a few references to nextinterfaces.com

Does anyone have comments? Are they both still under active development?

Tim

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


Re: why the GWT button inside a Div with position-fixed doesn't work?

2013-10-04 Thread Timothy Spear
Use chrome developer tools and find what is residing in z-order in front of
your div. I have the same requirement and it works just fine.

Tim
On Oct 4, 2013 10:15 AM, "Tom"  wrote:

> I want to use a div to create a box that is near to the bottom right
> corner of the browser. The box Div will lie right on top of the footer &
> to the bottom right corner of the browser.
>
> The requirement is that that Div must be in that desired position *
> relatively* to the browser size. It means that when users shrink to
> extend the browser the div will be moved as well, but no matter how the div
> was moved, it should be always in that desired position.
>
> Here is my code:
> 
>  
> 
> 
> 
> 
> 
>
> Here is Css
> .bottomRightCornerPosition{
> position: fixed;
> bottom: 50px;
> right: 0;
> }
>
> After running, the HTMLPanel showed as expected, but I couldn't click on
> the button?
>
> Why is that? How to fix it?
>
> Can we have other solution sing Gwt coding rather css?
>
> --
> 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.
>

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


Re: why the GWT button inside a Div with position-fixed doesn't work?

2013-10-04 Thread Timothy Spear
Yes, but I am on a phone at a car dealership waiting for my car. :-)

Using Eclipse for three development tool does not matter. I use eclipse and
command line depending on what I am working on.

The CSS you displayed is correct. With the assumption you connected the
button click event correctly, The likely issue is there is another layer in
the browser display with a higher z-order value and a transparent
background preventing you from clicking the button. Chrome developr tools
will help you find the problem layer.

Lastly, your reply seems to emphasize that you do not truly understand the
environment you are working in and the available tools.

Tim
On Oct 4, 2013 10:48 AM, "Tom"  wrote:

> Can u talk clearly?
>
> I don't use development tool, but i am using eclipse to & GWTP.
>
> What is the correct way to code css in this case?
>
> On Saturday, October 5, 2013 12:37:21 AM UTC+10, Timothy Spear wrote:
>>
>> Use chrome developer tools and find what is residing in z-order in front
>> of your div. I have the same requirement and it works just fine.
>>
>> Tim
>> On Oct 4, 2013 10:15 AM, "Tom"  wrote:
>>
>>> I want to use a div to create a box that is near to the bottom right
>>> corner of the browser. The box Div will lie right on top of the footer
>>> & to the bottom right corner of the browser.
>>>
>>> The requirement is that that Div must be in that desired position *
>>> relatively* to the browser size. It means that when users shrink to
>>> extend the browser the div will be moved as well, but no matter how the div
>>> was moved, it should be always in that desired position.
>>>
>>> Here is my code:
>>> 
>>>  
>>> 
>>> 
>>> 
>>> 
>>> 
>>>
>>> Here is Css
>>> .bottomRightCornerPosition{
>>> position: fixed;
>>> bottom: 50px;
>>> right: 0;
>>> }
>>>
>>> After running, the HTMLPanel showed as expected, but I couldn't click on
>>> the button?
>>>
>>> Why is that? How to fix it?
>>>
>>> Can we have other solution sing Gwt coding rather css?
>>>
>>> --
>>> 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-we...@**googlegroups.com.
>>> Visit this group at 
>>> http://groups.google.com/**group/google-web-toolkit<http://groups.google.com/group/google-web-toolkit>
>>> .
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>  --
> 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.
>

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


Chasing CSS Error

2013-10-15 Thread Timothy Spear
I am getting the following warning on compile:

[INFO]  Invoking generator 
com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
[INFO] Preparing method css
[INFO]The following problems were detected
[INFO]   [WARN] Line 9 column 8: encountered "}". Was 
expecting one of: "+" "-" "," "/" ")" 



The problem is I have a lot of CSS. All of it displays correctly in Eclipse 
in CSS Editors.
So, is there a way to display the actual segment being processed? This 
would help find the offending file and segment.

Tim

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


Re: Chasing CSS Error

2013-10-16 Thread Timothy Spear
Thomas,

I found the problem line this by adding "-Dgwt.logLevel=ALL" to a 
command line compile of Maven with a redirected output to a file (required to 
capture the very verbose output since it overflowed both terminal sessions and 
Eclipse console).
The warning error states line 9. But it is actually line 323 of the 
file that had the error. In the detailed compile log it actually stated line 
350 is the issue since it was part of a larger block. I deduced the problem 
area by in the detailed compile log it shows the statements being processed. 
This eventually allowed me to find the line causing the problem. 
The line counter is reseting somehow on the conditional compile. It was 
line 9 of a block delineated by the following:
@if user.agent safari {
/ 8 lines here **/
}

Jens,
Thanks for the hint of the literal. I had it as a literal statement, 
but my closing apostrophe was actually a !@#$ smart apostrophe so the literal 
statement was not closed correctly. 

Tim

On Oct 16, 2013, at 4:46 AM, Thomas Broyer  wrote:

> 
> 
> On Wednesday, October 16, 2013 6:21:38 AM UTC+2, Timothy Spear wrote:
> I am getting the following warning on compile:
> 
> [INFO]  Invoking generator 
> com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
> [INFO] Preparing method css
> [INFO]The following problems were detected
> [INFO]   [WARN] Line 9 column 8: encountered "}". Was 
> expecting one of: "+" "-" "," "/" ")" 
> 
> 
> 
> The problem is I have a lot of CSS. All of it displays correctly in Eclipse 
> in CSS Editors.
> So, is there a way to display the actual segment being processed? This would 
> help find the offending file and segment.
> 
> AFAICT, the log here (second line) points to a "css()" method in a 
> ClientBundle; that would help you find the CSS file with the error.
> The last line tells you it's line 9 in this file.
>  
> 
> -- 
> 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.

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


Re: UI Binder why?

2013-10-16 Thread Timothy Spear
How would the declarative UiBinder jeopardize browser independence?

Personally, I like UiBinder overall. There are few cases where I find it a 
pain, but overall for any screen which has multiple elements I have found it 
significantly cuts the amount of code required. It also has the benefit of 
making the Java class file significantly shorter making it easier to find the 
logic and not focus ignoring all the "wiring" of elements. This provides for 
much better separation in my opinion which simplifies code maintenance. 

Since I know it will come up. Here are the major downsides as I see it for 
UiBinder:
-- UiBinder requires two files which have to be maintained in sync.
-- UiBinder hides to much on occasion. This can produce very ugly HTML. You 
really have to learn how UiBinder generates the result (same issue with GWT, 
but adds another layer on top in my opinion).
-- UiBinder is not friendly in terms of using a ClientResourceBundle for CSS. 
(I use addStyleName a lot). So I end up adding most style names via Java code.

Tim

On Oct 16, 2013, at 2:19 PM, Tim McClure  wrote:

> What is the most used approach in GWT- the native approach where all web code 
> is generated through GWT or the declarative approach where HTML/CSS templates 
> are used and integrated through UIBinder?  It seems the declarative approach 
> was introduced for separation of concerns and allowing graphic designers the 
> ability to contribute to GWT systems.  However could it be argued that the 
> declarative approach jeopardizes the browser independence guaranteed by GWT.  
> We are new to GWT and we are trying to determine which direction we should 
> take - what is the most recommended design pattern?
> 
> -- 
> 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.

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


Re: GWT 2.6 Release Note

2013-10-21 Thread Timothy Spear
RC1 is November 4th.

Tim
On Oct 21, 2013 5:32 AM, "Davide Cerbo"  wrote:

> Hi all,
>
> somebody have news about GWT 2.6 release date, or information about new
> feature?
>
> Now we are in QA 2013 and the release date should be near.
>
> Should we have all feature specified in the slides below?
>
>
> https://docs.google.com/presentation/d/1PfXXegni0gcZQYpX09t0gs2Z9dqST5MmiHc_NoPSluo/edit#slide=id.p18
>
> Any news will be appreciated :)
>
> bye,
> Davide
>
> --
> --
> Davide Cerbo
> ---
> www.linkedin.com/in/davidecerbo
> + 39 329 70 81 927
> ---
>
> --
> 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.
>

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


Re: GWT 2.6 Release Note

2013-10-22 Thread Timothy Spear
Use Google to search if you want the details. Basically neither will be
complete but progress is being made on both.

Tim
On Oct 22, 2013 8:35 AM, "Davide Cerbo"  wrote:

> Thanks to all for the answer.
>
> About this features:
>
> *
>
>-
>
>Modularization and mavenization
>- Modular compilation
>
> *
>
> How much hopes should we have?
> *
>
> I'm working in a big project with more than 20 modules and I would like to
> have this features. Actually I used
> http://mojo.codehaus.org/gwt-maven-plugin/, not bad, but I hope in a
> better support :)
>
> bye,
> Davide
>
>
> *
>
>
> 2013/10/21 Timothy Spear 
>
>> RC1 is November 4th.
>>
>> Tim
>> On Oct 21, 2013 5:32 AM, "Davide Cerbo"  wrote:
>>
>>> Hi all,
>>>
>>> somebody have news about GWT 2.6 release date, or information about new
>>> feature?
>>>
>>> Now we are in QA 2013 and the release date should be near.
>>>
>>> Should we have all feature specified in the slides below?
>>>
>>>
>>> https://docs.google.com/presentation/d/1PfXXegni0gcZQYpX09t0gs2Z9dqST5MmiHc_NoPSluo/edit#slide=id.p18
>>>
>>> Any news will be appreciated :)
>>>
>>> bye,
>>> Davide
>>>
>>> --
>>> --
>>> Davide Cerbo
>>> ---
>>> www.linkedin.com/in/davidecerbo
>>> + 39 329 70 81 927
>>> ---
>>>
>>> --
>>> 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.
>>>
>>  --
>> 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.
>>
>
>
>
> --
> --
> Davide Cerbo
> ---
> www.linkedin.com/in/davidecerbo
> + 39 329 70 81 927
> ---
>
> --
> 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.
>

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


Re: Integration of desktop and mobile application

2013-10-22 Thread Timothy Spear
Add a servlet or JSP to handle the initial page request, look at user agent
and other request variables and redirect as required.

Tim
On Oct 22, 2013 5:24 AM, "Ben"  wrote:

> Hello all,
>
> we have two applications, a GWT application for desktop use and a M-GWT
> application for mobile devices.
>
> What we want:
>
> - the user should have to call only one URL regardless on what device
> - the GWT application should transparently direct the user to the M-GWT
> application if the user is using a mobile device
> - the two applications should be kept as two seperate modules / projects,
> so that they can be compiled separately
>
> We are using GWT 2.5.1, GWTP 1.0.1 and M-GWT 1.1.2.
> We already tried to accomplish this by using GWTPs form factors, but
> realized that this isn't suitable for our task, because we have two
> completely different apps.
>
> How can we achieve this?
>
> Regards
> Ben
>
> --
> 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.
>

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


Re: Is it possibile to have one GWT WebApp but more than one WAR files

2013-10-23 Thread Timothy Spear
Rajin,

1. Look into Gradle for compile. Allows for a more modular compilation process.
2. If you split the WAR file, you will need to use fairly standard web 
development techniques to share security information across web apps. As a 
general rule, you will need to store a session key in a cookie and have all 
sessions stored in the database or file system instead of the application 
server. This is really outside the scope of GWT.

Good luck,

Tim

On Oct 23, 2013, at 7:33 AM, rajin@infosmart-technologies.com wrote:

> Hi,
> 
> I am working in large gwt application. I am using GWTP in the project and 
> have organised the project to be in different gwt modules under the same 
> project. while compiling all these modules are compiled to form a single war 
> file. 
> 
> Now my issue is that even with a machine having 16GB of RAM dedicated to 
> compiling the project I am facing out of memory error and not able to compile 
> the full project together. This is for the developmental build with one 
> browser and one language.
> 
> The solution I am planning is to have a separate war file for each module. 
> And I want to know is this solution is possible or not, If possible can any 
> one please direct me to some tutorials for the same, as I am not able to find 
> an answer to this question even though I found many have asked the same 
> question over different forums.
> 
> If we are able to split the modules to different war file, how can we use a 
> single sign-on for all the modules, as i don't want to ask for user id and 
> password when the user navigate from one module to another.
> 
> Thanks In Advance
> Rajin Das 
> 
> -- 
> 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.

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


Re: Is it possibile to have one GWT WebApp but more than one WAR files

2013-10-23 Thread Timothy Spear
David,

I was answering Rajin. I adjusted Eclipse startup and compile for more memory 
to address my GWT out of memory issue. My GWT is not large enough to bother 
doing more at this point.
I used Gradle on another project to reduce compile time and because of out of 
memory issues, it allowed for me to do a much more incremental compile. This 
project is server side only.

Tim

On Oct 23, 2013, at 9:58 AM, David  wrote:

> Tim,
>  
> It is in scope if the GWT compilation is failing. If that is the case, what 
> flags are you using when doing the GWT compilation ? Are you setting the 
> heap/stack size on the JVM that runs the GWT compiler ?
>  
> David
> 
> 
> On Wed, Oct 23, 2013 at 2:59 PM, Timothy Spear  wrote:
> Rajin,
> 
> 1. Look into Gradle for compile. Allows for a more modular compilation 
> process.
> 2. If you split the WAR file, you will need to use fairly standard web 
> development techniques to share security information across web apps. As a 
> general rule, you will need to store a session key in a cookie and have all 
> sessions stored in the database or file system instead of the application 
> server. This is really outside the scope of GWT.
> 
> Good luck,
> 
> Tim
> 
> On Oct 23, 2013, at 7:33 AM, rajin@infosmart-technologies.com wrote:
> 
>> Hi,
>> 
>> I am working in large gwt application. I am using GWTP in the project and 
>> have organised the project to be in different gwt modules under the same 
>> project. while compiling all these modules are compiled to form a single war 
>> file. 
>> 
>> Now my issue is that even with a machine having 16GB of RAM dedicated to 
>> compiling the project I am facing out of memory error and not able to 
>> compile the full project together. This is for the developmental build with 
>> one browser and one language.
>> 
>> The solution I am planning is to have a separate war file for each module. 
>> And I want to know is this solution is possible or not, If possible can any 
>> one please direct me to some tutorials for the same, as I am not able to 
>> find an answer to this question even though I found many have asked the same 
>> question over different forums.
>> 
>> If we are able to split the modules to different war file, how can we use a 
>> single sign-on for all the modules, as i don't want to ask for user id and 
>> password when the user navigate from one module to another.
>> 
>> Thanks In Advance
>> Rajin Das 
>> 
>> -- 
>> 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.
> 
> 
> -- 
> 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.
> 
> 
> -- 
> 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.

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


Re: Thoughts on GWT 3.0 re: Java 8 and IE 8/9

2013-10-25 Thread Timothy Spear
Ray,

There is already two existing versions of most container components. Are you 
stating GWT will introduce a third? Or just migrate the Layout ones?
In addition, do you know if there will be significant changes to UiBinder?

Tim

On Oct 25, 2013, at 1:21 PM, Ray Cromwell  wrote:

> 
> I think what we're really thinking about doing is preserving IE8 for the 
> existing gwt widget stuff, but any features (APIs) we add going forward are 
> going to leverage modern browser stuff, and we are not going to design 
> (poorly performing, hacky) fallback/polyfill workarounds. 
> 
> For GWT 3.0, we are looking at making a new, parallel way of writing Web UIs 
> that is based on the emerging Web Components standard, and we will lean 
> heavily on modern browser layout engines, e.g. flexible box model.  We're not 
> going to break your existing apps, but we're not going to make these new 
> models work on old browsers. For example, to make data-binding working 
> efficiently in Web Components, you need mutation observers, Node.bind, 
> Object.observe(), etc. 
> 
> We are not going to require Java7 or Java8 to run servlet code or even invoke 
> the compiler, but we will support compiling Java8 code to JS, and we'll have 
> super-sourced versions of java.util.function/java.util.stream.
> 
> Basically, the future is easier interop with the browser APIs, external 
> libraries, and web components, and less reliance on heavy weight widgets that 
> run lots of JS and shield the browser. This is a vision more in tune with the 
> fact that mobile is increasingly becoming a bigger and bigger chunk of the 
> web, and the original GWT metaphor of a Desktop-like AWT/Swing-like UI 
> library with layout done by executing code is less efficient on mobile and is 
> suboptimal for fast browser jank-free execution.  We don't want to break 
> existing applications, and we don't want to hamper designs for the future by 
> requiring them to work on ancient browsers.
> 
> 
> 
> On Friday, October 25, 2013 8:59:28 AM UTC-7, Andy wrote:
> Thanks for your input. It sounds like we're in the identical situation.
> 
> Regarding onFailure, do you use an abstract implementation of AsyncCallback, 
> like I mention in this post?
> 
> http://stackoverflow.com/a/4725052/497700
> 
> -Andy
> 
> On Friday, October 25, 2013 11:47:43 AM UTC-4, stuckagain wrote:
> IE8/IE9 I agree, we are in the same situation. Our customers only just 
> migrated to IE8, so that will take at least 2 years before they will move on.
> We could wait longer to move on to GWT 3.0, but the problem is that other 
> customers are already asking for IE11 support. 
> 
> About Java8 support on the client, I am looking forward to lambdas instead of 
> asynccallbacks, it would make my code a lot more compact! I only have one 
> onFailure implementation so it would be great if the APIs would decouple 
> these and allow for a default implementation.
> 
> But the gwt-servlet.jar will still need to be compiled for Java 7 
> compatibility or we will be really in big problems. A lot of customers are 
> still running Java 6 on the server side.
> Java 7 is about to become mandatory for us, but Java 8 that will take ages.
> 
> David
> 
> 
> 
> On Fri, Oct 25, 2013 at 4:50 PM, Andy  wrote:
> I just read through the notes from the GWT steering committee and would like 
> to share our perspective. I know you have a lot of survey results and we're 
> just 1 company, but here's some more info based on our needs.
> 
> Java 8 only
> 
> I would encourage and support this move. I've been writing a ton of 
> Javascript for the past few weeks and really miss the functional style when I 
> come back to Java. Lambdas in Java 8 are going to be powerful and fun and 
> they should be used liberally throughout the GWT 3.0 APIs. We won't be able 
> to move our backend to Java 8 for a while, but since we only ship the JS 
> output of the GWT compiler, I'm happy to use Java 8 for front-end development.
> 
> Dropping IE 8/9
> 
> We just decided on Tuesday to drop IE7 with our next release. We got tired of 
> working around hasLayout bugs, etc. We have several major customers that 
> still have users with XP/IE7, but after consulting with them, we decided we 
> could go ahead with dropping support. Unfortunately, many of our customers 
> are using IE8 and we won't be able to drop IE 8/9 anytime soon. As a 
> developer this is extremely frustrating, but it's the sad reality of the 
> enterprise.
> 
> So Java 8 would be awesome, but dropping support for IE 8/9 would prevent us 
> from being about to use GWT 3.0 until our enterprise customers upgrade their 
> browsers.
> 
> -- 
> 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-we...@googlegroups.com.
> Visit this group at http://gro

Re: GWT - Send a message from the server to the client?

2013-10-28 Thread Timothy Spear
Google gwteventservice.

Tim

On Oct 28, 2013, at 5:01 PM, Joshua Godi  wrote:

> Good afternoon,
> 
> I was curious how I would properly send a message from the server to the 
> client? Here is my scenario:
> 
> Client A - Modifies User1 from the GUI and pushes the data to the server
> Client B - Is looking at User1 and needs to be notified that there are 
> changes that have been made
> 
> So the server needs to send a message to all clients that the user has 
> changed.
> 
> What is the best way to solve this?
> 
> Thanks,
> Joshua
> 
> -- 
> 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.

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


Re: GWT, Hibernate and a many to many relationship

2014-07-31 Thread Timothy Spear
The basic answer is you cannot. You will need to transform the Hibernate object 
into a POJO to make it serial, this is a requirement of any object being passed 
between the client and the server in GWT.

Tim
 
On Jul 30, 2014, at 5:07 AM, Peter S.  wrote:

> Hey all,
> 
> after searching the complete web for a solution and didn't find one, I will 
> try to share my problem with you ;).. 
> 
> Well I have the famous failure with GWT and Hibernate:
> 
> java.lang.RuntimeException: 
> com.google.gwt.user.client.rpc.SerializationException: Type 
> 'org.hibernate.collection.PersistentSet' was not included in the set of types 
> which can be serialized by this SerializationPolicy or its Class object could 
> not be loaded. For security purposes, this type will not be serialized.: 
> instance = []
> 
> I have a hbm.xml file where Hibernate generates an Entity.
> 
>  name="com.egrima.webinfotools.common.entity.PointOfInterest"
> table="witpois">
> net.sf.gilead.pojo.gwt.LightEntity  
> 
>  attribute="implements">com.egrima.webinfotools.common.entity.BasisEntity
> 
> 
> SEQ_WITPOIS
> 
> 
> 
>  name="zaltkn" length="6" type="java.lang.String" />
>  length="255" type="java.lang.String" />
>  name="address" length="512" type="java.lang.String" />
>  name="longitude" type="java.lang.Double" />
>  name="latitude" type="java.lang.Double" />
>  name="createdDate" type="java.util.Date" />
>  name="changedDate" type="java.util.Date" />
>  length="12" type="java.lang.String" />
>  length="8" type="java.lang.String" />
> 
>  cascade="all"
> column="category_id" lazy="false"
> class="com.egrima.webinfotools.common.entity.generated.PointOfInterestCategory"
>  />
> 
>  foreign-key="fk_witpoi_translation" 
> class="com.egrima.webinfotools.common.entity.generated.PointOfInterestTranslation"/>
> 
>  lazy="false" cascade="all" fetch="select">
>   
>  class="com.egrima.webinfotools.common.entity.generated.PointOfInterestAttribute"
>  column="ATTRIBUTE_ID"   fetch="join"/>
> 
> 
> 
> 
> 
> 
> The generated Class looks like this:
> 
> 
> package com.egrima.webinfotools.common.entity;
> // Generated 30.07.2014 10:56:07 by Hibernate Tools 3.2.2.GA
> 
> 
> import 
> com.egrima.webinfotools.common.entity.generated.PointOfInterestAttribute;
> import 
> com.egrima.webinfotools.common.entity.generated.PointOfInterestCategory;
> import 
> com.egrima.webinfotools.common.entity.generated.PointOfInterestTranslation;
> import java.util.Date;
> import java.util.HashSet;
> import java.util.Set;
> 
> /**
>  * PointOfInterest generated by hbm2java
>  */
> public class PointOfInterest  implements 
> com.egrima.webinfotools.common.entity.BasisEntity,java.io.Serializable {
> 
> 
> private static final long serialVersionUID = 42L;
> 
> 
>  private Long id;
>  private String zaltkn;
>  private String name;
>  private String address;
>  private Double longitude;
>  private Double latitude;
>  private Date createdDate;
>  private Date changedDate;
>  private String hostname;
>  private String username;
>  private PointOfInterestCategory category;
>  private PointOfInterestTranslation poiNameTranslation;
>  private Set attributes = new 
> HashSet(0);
> 
> 
> public PointOfInterest() {
> }
> 
> public PointOfInterest(String zaltkn, String name, String address, Double 
> longitude, Double latitude, Date createdDate, Date changedDate, String 
> hostname, String username, PointOfInterestCategory category, 
> PointOfInterestTranslation poiNameTranslation, Set 
> attributes) {
>this.zaltkn = zaltkn;
>this.name = name;
>this.address = address;
>this.longitude = longitude;
>this.latitude = latitude;
>this.createdDate = createdDate;
>this.changedDate = changedDate;
>this.hostname = hostname;
>this.username = username;
>this.category = category;
>this.poiNameTranslation = poiNameTranslation;
>this.attributes = attributes;
> }
>
> 
> 
> @Override
> public Long getId() {
> return id;
> }
> 
> public void setId(Long id) {
> this.id = id;
> }
> public String getZaltkn() {
> return zaltkn;
> }
> 
> public void setZaltkn(String zaltkn) {
> this.zaltkn = zaltkn;
> }
> public String getName() {
> return name;
> }
> 
> public void setName(String name) {
> this.name = name;
> }
> public String getAddress() {
> return address;
> }
> 
> public void setAddress(String address) {
> this.address = add

Re: Scheduler in GWT?

2014-08-05 Thread Timothy Spear
I use scheduler often to set initial focus on a dynamic and complex screen
and to load asynchronous cached data.

Tim
On Aug 5, 2014 8:17 AM, "Mohammed Sameen"  wrote:

> Any Suggestion on this?Is there any performance issue if we use scheduler
> commands?
>
> On Tuesday, August 5, 2014 12:41:10 PM UTC+5:30, Mohammed Sameen wrote:
>>
>> Hi,
>> What is Scheduler in GWT?What is the use of Scheduler?Is there any
>> performance issue if we use scheduler commands?Thanks in Advance...
>>
>  --
> 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/d/optout.
>

-- 
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/d/optout.


Re: GWT seems deprecated according to Thoughtworks

2014-08-08 Thread Timothy Spear
Thoughtworks is trying to sell a product, and the concept of their products do 
not match GWT. So they are therefore going to be against it.
Also, you should never preselect a tool to match the requirements. One major 
requirement often over looked is the ongoing MX costs, therefore you should 
only change tools if there is a major driver to select something which will 
lower your long term costs. Never select a technology for just the sake of a 
technology, have a reason.

In my opinion, the "problems" Thoughtworks has with GWT are exactly its 
strengths. It is a large complex framework which encourages specific patterns 
and types of development needed by larger and more complex projects. The quick, 
dirty and small applications which Thoughtworks advocates in the article are a 
MX nightmare of one of custom code jobs, especially in a large organization 
with complex requirements.

Lastly, in terms of Spring and Angular, they meet specific goals. Decide what 
you are trying to do and then determine if you want/need to use the tools. How 
do they help you? Never just use a tool because.

Tim

On Aug 8, 2014, at 1:36 PM, Axel Regnoult  wrote:

> Hi,
> 
> I am asking about the future of GWT (here, in France, it does not seem 
> that is have a so good reputation, but this is just my feeling)
> 
> I have read this article : http://www.thoughtworks.com/radar/platforms/gwt 
> (the citation is at the end of this mail)
> 
> Martin Fowler, a worldwide reconized expert is working at Thoughtworks, so I 
> think their opinions are well thinked...and I would like to know the opinion 
> of some gwt gurus about it...
> 
> I have used GWT 3 years and I personally liked it; but my lack of experience 
> in other frameworks doesn t allow me to give an opinion. And I am asking if I 
> should use, and learn, for exemple Spring, or Angular.js to develop my next 
> application... 
> 
> Thanks you,
> Axel
> 
> 
> 
> GWT is a reasonable implementation of a poor architectural choice. GWT 
> attempts to hide many of the details of the web as a platform by creating 
> desktop metaphors in Java and generating JavaScript code to implement them. 
> First, in many ways, JavaScript is more powerful and expressive than Java, so 
> we suspect that the generation is going in the wrong direction. Secondly, it 
> is impossible to hide a complex abstraction difference like that from 
> event-driven desktop to stateless-web without leaky abstraction headaches 
> eventually popping up. Third, it suffers from the same shortcomings of many 
> elaborate frameworks, where building simple, aligned applications is quick 
> and easy, building more sophisticated but not supported functionality is 
> possible but difficult, and building the level of sophistication required by 
> any non-trivial application becomes either impossible or so difficult it 
> isn't reasonable.
> 
> Google Web Toolkit (GWT) offers an interesting premise: write Swing-like Java 
> code and generate unit testable JavaScript widgets and user interfaces. From 
> a practical standpoint this doesn't work well. First, using code-gen to 
> produce the artifacts is time consuming, artificially extending build times 
> and requiring manual changes to obtain optimal package layout. Second, if the 
> JavaScript doesn't behave exactly as you want you will have to hack the 
> generated code. Third, using Java to generate JavaScript means that you can't 
> take direct advantage of the powerful features of JavaScript or numerous 
> libraries such as JQuery. Finally, the JUnit support is quite limited, for 
> example code using reflection cannot be tested.
> 
> 
> 
> 
> -- 
> 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/d/optout.

-- 
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/d/optout.


Re: Problem in fetching Large amount of data approximately 75,456 from server side to client side using GWT RPC

2014-08-11 Thread Timothy Spear
You have two choices.
1. Increase memory allocation for the server.
2. Break the data down and send less.

The first one avoids the problem and likely did not scale very well.

Tim
On Aug 11, 2014 3:42 AM, "Vikas Yadav"  wrote:

> I store data in arraylist in sever side from database .I can get data from
> database into arraylist but problem is that so much data is not transfer
> from server to client side datagrid. there is 500 error. Out of  Memory
> heap space
>
> exact error is
>
>
>
> arr list in server74950
> Starting Jetty on port 
>[ERROR] Exception while dispatching incoming RPC call
> java.lang.OutOfMemoryError: Java heap space
> at java.util.Arrays.copyOf(Arrays.java:2760)
> at java.util.Arrays.copyOf(Arrays.java:2734)
> at java.util.ArrayList.ensureCapacity(ArrayList.java:167)
> at java.util.ArrayList.add(ArrayList.java:351)
> at
> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.append(ServerSerializationStreamWriter.java:631)
> at
> com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeInt(AbstractSerializationStreamWriter.java:100)
> at
> com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeString(AbstractSerializationStreamWriter.java:134)
> at
> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter$ValueWriter$10.write(ServerSerializationStreamWriter.java:165)
> at
> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:584)
> at
> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeClass(ServerSerializationStreamWriter.java:757)
> at
> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java:796)
> at
> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:669)
> at
> com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:126)
> at
> com.google.gwt.user.client.rpc.core.java.util.Collection_CustomFieldSerializerBase.serialize(Collection_CustomFieldSerializerBase.java:44)
> at
> com.google.gwt.user.client.rpc.core.java.util.ArrayList_CustomFieldSerializer.serialize(ArrayList_CustomFieldSerializer.java:39)
> at
> com.google.gwt.user.client.rpc.core.java.util.ArrayList_CustomFieldSerializer.serializeInstance(ArrayList_CustomFieldSerializer.java:51)
> at
> com.google.gwt.user.client.rpc.core.java.util.ArrayList_CustomFieldSerializer.serializeInstance(ArrayList_CustomFieldSerializer.java:28)
> at
> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java:788)
> at
> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:669)
> at
> com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:126)
> at
> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter$ValueWriter$8.write(ServerSerializationStreamWriter.java:153)
> at
> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:587)
> at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:605)
> at
> com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java:471)
> at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:563)
> at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
> at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
> at
> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
>   [ERROR] Out of memory; to increase the amount of memory, use the
> -Xmx flag at startup (java -Xmx128M ...)
> [ERROR] 500 - POST /otcvalidationschecklistreport/greet (127.0.0.1) 57
> bytes
>Request headers
>   Host: 127.0.0.1:
>   User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:19.0) Gecko/20100101
> Firefox/19.0
>   Accept:
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
>   Accept-Language: en-US,en;q=0.5
>   Accept-Encoding: gzip, deflate
>   X-GWT-Permutation: HostedMode
>   X-GWT-Module-Base:
> http://127.0.0.1:/otcvalidationschecklistreport/
>   Content-Type: text/x-gwt-rpc; charset=utf-8
>   Referer:
> http://127.0.0.1:/OTCValidationsCheckListReport.html?gwt.codesvr=127.0.0.1:9997/
>   Content-Length: 360
>   Connection: keep-alive
>   Pragma: no-cache
>   Cache-Control: no-cache
>Response 

CSS

2013-05-15 Thread Timothy Spear
I am trying to understand the purpose and why GWT has made it so dam 
painful to implement CSS in GWT.

How is that for an opening line? :D

Based on the rather profuse rendered HTML, you are kinda directed down the 
path of UiBinder. Ok, I can kinda follow that. Docs not the best, but once 
you sorta figure it out, I can see how to apply it as a general set of 
rules. I can almost explain it to other developers.

Anyway, CSS files are a pain to maintain; as a result I and many others are 
used to splitting CSS files in many smaller files to facilitate 
maintenance. 
Further, the way the UiBinder works you have to replicate and repeat style 
elements to include them or use a complicated and obscure ClientBundle 
system which does not even work with the GWT Designer!
Not only is this tedious, but it replicates huge amounts of code, makes 
things harder to change.
As a last point, it overrides any generic styling I have applied across all 
elements. Body.

I have to be missing something. This seems like incredible overkill and 
there is no way I can explain all the linkages to junior developers who get 
to maintain code or assist on projects.

Tim

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




DataGrid Debug (missing data)

2013-05-20 Thread Timothy Spear
I am sure I am missing something very basic. :D
Anyway, here is the setup:

After login I clear all contents and create the following basic structure:

StackLayoutPanel 
LayoutPanel
TabLayoutPanel
 FlowPanel* (Place holder for future)*
 FlowPanel* (Place holder for future)*
   LayoutPanel
TabLayoutPanel
 CustomList (Widget: UiBinder Composite)
  DockLayoutPanel
  center:DataGrid
  south: HorizontalPanel
   SimplePager
   PageSizePager
 FlowPanel* (Place holder for future)*
 FlowPanel* (Place holder for future)*

Symptoms:
-- Table Header is Displayed
-- Pager stuff displayed
-- No entries in table displayed
-- Via Firefox checked DOM and no TR for any data present
-- In hosted mode, checked the return call from the server and verified the 
following:
** raw data present
** ListDataProvider has data
** calls to ListDataProvider.addDataDisplay has no errors
** Tried ListDataProvider refresh and redraw

Any other ideas or places to check?

Tim

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Overuse of "AssumedStale" Issue Tag

2013-06-03 Thread Timothy Spear
What some call a bug others call a feature. Since bug is generic for all
issues, features, and requests making the assumption that won't fix is also
equally invalid. Unless you are going to spend the time and effort to
validate all the items you are making a large presumption upon others.

Tim in a very sarcastic mode.
On Jun 3, 2013 10:42 AM, "brad"  wrote:

> Stale implies that these bugs no longer exist, ASSUMESTALE I suppose means
> that whoever is closing the bug doesn't even care enough to check to see if
> the bug exists or not, but presumes that it doesn't. Since I've seen very
> few bugs fix themselves I have no idea where this presumption comes from.
> WONTFIX is a much better fit. That acknowledges that there is a bug, but
> for whatever reason no one wants to fix it. Which with the 'you could have
> submitted a patch yourself' response, seems to be exactly what's going on
> here.
>
> --
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Overuse of "AssumedStale" Issue Tag

2013-06-09 Thread Timothy Spear
Mauro,

I am going to be slightly cheeky here.
http://www.youtube.com/watch?v=V2f-MZ2HRHQ

At the end of the day. The public issue tracker that was available was not
being managed and was largely not maintainable or sustainable in the
current form. Google felt an obligation to turn over an issue tracker in a
more sustainable and manageable form.

To clean up the issue tracker Google had three basic choices.
1. Invest massive amounts of man power to triage each issue and make
determinations themselves. Including fixing/patching or prioritizing. This
is not practical from both a resource and a public perception standpoint.
If Google puts in the resources, they will not be rewarded because too many
people will object to how Google's triage the issues.
2. Start a new issue tracker. This loses all history, and there would be
massive screaming and objections.
3. Close everything over a certain age, tell people to submit patches
and/or reopen them.


Tim


On Sun, Jun 9, 2013 at 11:14 AM, Mauro Molinari  wrote:

> Il 09/06/2013 14:48, Johannes Barop ha scritto:
>
>> I had some free time lately where I wanted to work on some random issue.
>> It turned out that it is very hard to find one because all of junk
>> floating around in the tracker.
>>
>
> I still don't understand (and never will) why old non-fixed bug reports
> should be considered "junk". I won't bother to open a new issue again if
> this is the case.
>
> Mauro.
>
> --
> 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?hl=en
> **.
> For more options, visit 
> https://groups.google.com/**groups/opt_out
> .
>
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Overuse of "AssumedStale" Issue Tag

2013-06-09 Thread Timothy Spear
Mauro,

To be blunt. You are still complaining and not offering a viable solution.

Tim
On Jun 9, 2013 2:44 PM, "Mauro Molinari"  wrote:

> Il 09/06/2013 19:38, Johannes Barop ha scritto:
>
>> If you find an important bug/issue marked as AssumedStale then talk about
>> it.
>>
>
> All the bugs I opened were supposed to be important to me, otherwise I
> wouldn't have spent time to open the issues.
> Well, all of them were closed with "AssumedStale" without any evaluation.
> A couple of them were evaluated after complaining (and the solution was to
> be "NotPlanned", of course, even though the problems existed). For the
> other ones I got tired to complain, so they will stay not fixed and
> "AssumedStale".
>
> Mauro
>
> --
> 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?hl=en
> **.
> For more options, visit 
> https://groups.google.com/**groups/opt_out
> .
>
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Best practices for inlining build (revision) number into GWT App?

2013-06-11 Thread Timothy Spear
I have a version.txt included in the src/java/resources

> NAME=${name}
> VERSION=${version}
> BUILD_DATE=${timestamp}


The values are retrieved from the POM. My current project does not go the next 
step of pushing the completed branch on "deploy" to a tagged release in 
subversion. I have traditionally done release management via shell scripts and 
have not migrated that aspect to Maven yet.

Tim

On Jun 11, 2013, at 1:17 PM, Joseph Lust  wrote:

> For various reasons you need to know the revision of the GWT app code. For 
> example to verify that the server API is not newer than the JS code (i.e. if 
> you deploy GWT JS to a CDN).
> 
> Some common approaches which I find to be rather hackish:
> Use Maven replacer to replace a sequence in a source file at the validation 
> stage and have that inlined into your GWT file at compile (hackish)
> Use Maven replacer or Maven war plugin filters to add the build number to the 
> index.html page, or a backend service (JS code still not independently 
> versioned, more API calls)
> Hardcode it (don't hardcode things)
> After two years, the best method I've see is to create a code generator to 
> allow deferred binding of the build number. This however has always stuck me 
> as massively overkill to add a number to a build artifact.
> 
> 
> So, I was curious how others here have dealt with this common issue. 
> Hopefully there is a simpler way.
> 
> 
> Sincerely,
> Joseph
> 
> -- 
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Best practices for inlining build (revision) number into GWT App?

2013-06-13 Thread Timothy Spear
Honza,

Nice solution. My old solution using shell scripts and ant was a lot simpler. 
-- A java class object with just static variables, BUILD_DATE, BUILD_NUMBER….
-- In shell scrips I would pull the date and last revision number from 
subversion. Then using a simple echo command I would build a new java class 
file.
-- I have yet to take the time and see how I can integrate the ability to pull 
the information from subversion  into Maven. I even had shell scripts to 
generate release changes, store the RPM in a repository…. At some point I think 
I will have to spend a few weeks converting all my shell scripts, ant build 
scripts to Maven.

Tim

On Jun 13, 2013, at 10:21 AM, Honza Rames  wrote:

> Hi Frank,
> 
> I have a XML (version.xml) document in my war directory:
> 
> 
> ]>
> 
>   76
>   
> 
> 
> A linker that increments the build number after the link process has been 
> completed:
> 
> package my.pkg;
> 
> import com.google.gwt.core.ext.LinkerContext;
> import com.google.gwt.core.ext.TreeLogger;
> import com.google.gwt.core.ext.UnableToCompleteException;
> import com.google.gwt.core.ext.linker.AbstractLinker;
> import com.google.gwt.core.ext.linker.ArtifactSet;
> import com.google.gwt.core.ext.linker.LinkerOrder;
> import com.google.gwt.core.ext.linker.LinkerOrder.Order;
> import com.google.gwt.core.ext.linker.Shardable;
> 
> /**
>  * Just a linker that will increment build after compilation is done
>  * @author SHadoW
>  *
>  */
> @LinkerOrder(Order.POST)
> @Shardable
> public class IncBuildLinker extends AbstractLinker
> {
>   private static boolean incremented = false;
> 
>   @Override
>   public String getDescription()
>   {
> return "IncBuildLinker";
>   }
> 
>   @Override
>   public ArtifactSet link(TreeLogger logger, LinkerContext context,
>   ArtifactSet artifacts, boolean onePermutation) throws 
> UnableToCompleteException
>   {
> //Do this only once after the entire link process has completed
> if (onePermutation && (! incremented)) 
> {
>   BuildHelper.incBuildAndSave(logger); //Do this only after all 
> permutations has been compiled
>   incremented = true;
> }
> return super.link(logger, context, artifacts);
>   }
> }
> 
> the BuildHelper class accesses the version.xml and I don't want to post it 
> here because it is pretty straight forward but still a lot of code ;-). And 
> the generator (it uses some of my classes that ease the code generation) 
> which creates an implementation for BuildInfo interface that you instantiate 
> with GWT.create(BuildInfo.class) which looks as follows:
> 
> package my.pkg;
> 
> import java.util.Date;
> 
> import com.google.gwt.dev.About;
> import my.pkg.generators.BaseGenerator;
> import my.pkg.generators.BaseGeneratorClient;
> 
> public class BuildGenerator extends BaseGenerator
> {
>   /* I'm using some helpers in generation process that's why I have the 
> Client class here, it defines some functions that make it easier to generate 
> java code in hand*/
>   @Override
>   protected BaseGeneratorClient getClient()
>   {
> return new Client();
>   }
>   
>   class Client extends BaseGeneratorClient
>   {
> /* This gets called by the generator once the class imports and 
> declaration is written by the generator */
> @Override
> protected void doGenerate()
> {
>   writeBlockIntro("public String getBuildDate()");
>   writeReturn(STR, (new Date()).toString());
>   writeBlockOutro();
>   
>   writeBlockIntro("public int getBuildNumber()");
>   writeReturn(BuildHelper.getBuildNumber());
>   writeBlockOutro();
>   
>   writeBlockIntro("public String getGwtSvnRev()");
>   writeReturn(STR, About.getGwtSvnRev());  //This is saved during GWT 
> build process and can only be accessed in plain java
>   writeBlockOutro();
> }
>   }
> }
> 
> and of course appropriately set module.gwt.xml that includes:
> 
> 
> 
> 
> 
>   
> 
> 
> it is useful to have multiple modules that only one of them includes the 
> linker so you only increment the build number after you compile for 
> production so that development builds don't increment the build number.
> 
> Everybody else not interested in my solution sorry for the longish post, I 
> din't see any other way how to do this. 
> If anybody else need more explanation I could provide full source codes 
> directly if needed, feel free to ask any questions ;-)
> 
> Honza
> 
> On Thursday, June 13, 2013 9:46:22 AM UTC+2, Frank Hossfeld wrote:
> Hi Honza,
> 
> your implementation sounds intresting.
> Can you provide more informations about your solution?
> 
> Thanks Frank
>  
> Am Mittwoch, 12. Juni 2013 09:50:41 UTC+2 schrieb Honza Rames:
> I have a XML file that stores various information about my build and is 
> updated by a Linker which increments build number each build I make. And I 
> have a generator that returns an interface that I can use in GWT app which 
> includes the build number, revision, buil

Re: Killing myself for a good database example GWT Combo and Listbox

2013-07-03 Thread Timothy Spear
Bob,

To many variables and possible ways to solve that puzzle. Since you are using 
documentation on the web I would suggest the following.
First:  If you want to use Hibernate, get a simple Hibernate application 
working first.
Second: Build a simple GWT application  where you create a stub to return the 
list. Hard code the values in the list. 
Third: Integrate what you learned about Hibernate into the stub which calls the 
database.

Good luck, 

Tim

On Jul 3, 2013, at 11:30 PM, Bob Spero  wrote:

> I can really use some direction, I worked all day on this and made little 
> progress. I have a GWT application that has a combo box and list box, I want 
> the selection of the combo box to load values from my MSSql server 2008 box, 
> I want my list box to populate the value based on the selected value of the 
> combo box so I can select the values as select from emp where id = 
> gwt_cobmo_box. But I keep veering off because you search and you go down the 
> session factory, hibernate, etc...
>  
> I would love to use hibernate to allow for growth, I have tried so many 
> tutorials any sample code or good web site would be so much appreciated.
>  
> 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.
>  
>  

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




Re: GWT and Hibernate

2013-07-09 Thread Timothy Spear
I looked at Dozzer and ran into to many issues. Since I was going with the 
command pattern I converted all result sets to a simple 
>
For performance reasons, I do cap the amount of data I return. 
Much smaller code base (but does dramatically increase runtime error checking).

Tim

On Jul 9, 2013, at 10:30 AM, Juan Pablo Gardella  
wrote:

> I've used "detach solution" using a filter, so it is transparent for you. I 
> put a sample using it: 
> https://groups.google.com/forum/#!topic/google-web-toolkit/fkbowz5-5do
> 
> But I prefer using the DTO alternative (I am using Dozzer). As Ed said, 
> perhaps you spent some time in the configuration, but I prefer this 
> alternative instead sending the model. A DTO can adjust better to the UI than 
> an entity. 
> 
> Juan
> 
> 
> 2013/7/9 Ed 
> +1 For Karim solution.
> 
> 
> 
> I use Dozer now, but it costs a lot of time to put it all together, I even 
> had to patch Dozer :(..
> 
> So I would go for the manual solution: you have full control, compose one dto 
> that exists of several other domain objects. 
> At the end the manual solution costs you almost the same as the 
> "configuration" solution like I did, and don't forget the Reflection overhead 
> that is certainly impacting your performance.
> 
> 
> -- 
> 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.
>  
>  
> 
> 
> -- 
> 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.
>  
>  

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




Re: GWT and Hibernate

2013-07-09 Thread Timothy Spear
Juan,

All the issues I ran into were probably solvable. But here is the high level:
-- Since I was using the command pattern I initially returned a list of my 
parent abstract data object which all data objects inherit from. This created a 
very large code base, and in fact would get random errors in Dev Mode and 
alternate behavior compared to what was expected when I deployed. 
-- I do stateless sessions, each call to the server is atomic in nature. This 
is for scaling reasons, I test with multiple servers and will via scripts 
rotate a single client session to multiple servers to verify I can scale 
horizontally. I did not look into why, but Dozzer seemed to have issues with 
this (I would get persistence errors), my assumption it is caching something on 
the server.
-- Compile time, drove me nuts. I am impatient. :D
-- I have a fair number of database linkages all defined as lazy. Dozzer by 
default seemed to instantiate them or I ended up with errors when I serialized 
them for sending to the client.


Tim 


On Jul 9, 2013, at 10:42 AM, Juan Pablo Gardella  
wrote:

> I don't have issues with Dozzer. What kind of problems dou you have?
> 
> 
> 2013/7/9 Timothy Spear 
> I looked at Dozzer and ran into to many issues. Since I was going with the 
> command pattern I converted all result sets to a simple 
> >
> For performance reasons, I do cap the amount of data I return. 
> Much smaller code base (but does dramatically increase runtime error 
> checking).
> 
> Tim
> 
> On Jul 9, 2013, at 10:30 AM, Juan Pablo Gardella 
>  wrote:
> 
>> I've used "detach solution" using a filter, so it is transparent for you. I 
>> put a sample using it: 
>> https://groups.google.com/forum/#!topic/google-web-toolkit/fkbowz5-5do
>> 
>> But I prefer using the DTO alternative (I am using Dozzer). As Ed said, 
>> perhaps you spent some time in the configuration, but I prefer this 
>> alternative instead sending the model. A DTO can adjust better to the UI 
>> than an entity. 
>> 
>> Juan
>> 
>> 
>> 2013/7/9 Ed 
>> +1 For Karim solution.
>> 
>> 
>> 
>> I use Dozer now, but it costs a lot of time to put it all together, I even 
>> had to patch Dozer :(..
>> 
>> So I would go for the manual solution: you have full control, compose one 
>> dto that exists of several other domain objects. 
>> At the end the manual solution costs you almost the same as the 
>> "configuration" solution like I did, and don't forget the Reflection 
>> overhead that is certainly impacting your performance.
>> 
>> 
>> -- 
>> 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.
>>  
>>  
>> 
>> 
>> -- 
>> 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.
>>  
>>  
> 
> 
> -- 
> 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.
>  
>  
> 
> 
> -- 
> 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.
>  
>  

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




Re: push data from server to clients

2013-07-14 Thread Timothy Spear
I am using gwteventservice

Tim
On Jul 13, 2013 5:57 PM, "Gal Lavie"  wrote:

> hello
> I want when first client do action on data base (update ,delete or add)
> the server updating client b
> I want that my server can push data to clients how I can do this?
> I hope you understand me
> thank you
>
> --
> 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.
>
>
>

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




Re: Tabs in DialogBox popup

2013-07-16 Thread Timothy Spear
I have found most of the Layout Panels do not work well in the dialog popups. 
To make them work I have had to use absolute positions for everything. As a 
result, I use the TabPanel or regular panels for all dialog boxes.

Tim


On Jul 16, 2013, at 4:27 PM, Tim Hill  wrote:

> Good evening,
> 
> I wish to have a tabbed dialogbox popup (UiBinder). I have tried using 
> TabLayoutPanel, but all I get is a small box in the centre of the screen when 
> it gets displayed. From what I have read, there are quite a few issues with 
> TLP and I have seen a number of recommendations to use TabPanel instead, even 
> though it is deprecated.
> 
> Am I able to accomplish what I want with TLP? If so, any pointers/example 
> code would be very much appreciated!
> 
> Cheers
> 
> Tim
> 
> -- 
> 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.
>  
>  

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




Re: Google GWT with Eclipse eats up disk space -

2013-07-24 Thread Timothy Spear
Look for hidden files as a starting point. 
Eclipse Version, GWT Version and OS would also be helpful. 

Tim

On Jul 24, 2013, at 12:15 PM, fedex  wrote:

> Before I started working on the GWt project I have 50 to 60 GB space in hard 
> disk. I am currently building an application using GWT. I found that my hard 
> disk space is keep getting reduced every day and now i am left with only 200 
> MB. I have folder users in which i have all my project files and rest. The 
> user folder shows the size as 199GB and when I see the indiviudal file sixe 
> of the folders in it they seem far less. They won't consummate to 199 GB.  I 
> have no idea what's happening? Every time when i compile the project it eats 
> away my hard disk. Please help me resolve this issue. 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.
>  
>  

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




Re: Google GWT with Eclipse eats up disk space -

2013-07-24 Thread Timothy Spear
Use Google search for hidden files.

Tim
On Jul 24, 2013 1:38 PM, "fedex"  wrote:

> how do I look for it? can we have any java code to make sure all these
> files get deleted?
>
> On Wednesday, July 24, 2013 11:31:11 AM UTC-5, Timothy Spear wrote:
>>
>> Look for hidden files as a starting point.
>> Eclipse Version, GWT Version and OS would also be helpful.
>>
>> Tim
>>
>> On Jul 24, 2013, at 12:15 PM, fedex  wrote:
>>
>> Before I started working on the GWt project I have 50 to 60 GB space in
>> hard disk. I am currently building an application using GWT. I found that
>> my hard disk space is keep getting reduced every day and now i am left with
>> only 200 MB. I have folder users in which i have all my project files and
>> rest. The user folder shows the size as 199GB and when I see the indiviudal
>> file sixe of the folders in it they seem far less. They won't consummate to
>> 199 GB.  I have no idea what's happening? Every time when i compile the
>> project it eats away my hard disk. Please help me resolve this issue.
>> 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-we...@**googlegroups.com.
>> Visit this group at 
>> http://groups.google.com/**group/google-web-toolkit<http://groups.google.com/group/google-web-toolkit>
>> .
>> For more options, visit 
>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>> .
>>
>>
>>
>>
>>

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




Re: push data from server to clients

2013-07-26 Thread Timothy Spear
I am using the gwteventservice.
Fairly simple, light and does a decent job.

Tim
On Jul 26, 2013 9:26 AM, "Magnus"  wrote:

> Hi,
>
> I also had such a requirement and I tried some libraries providing special
> technologies for this purpose (Comet, WebSockets, etc.). However, none of
> these libraries was "light-weight", because they provided a lot of
> funcitionality that I did not need.
>
> Now I realized it using a polling technique: The clients make a server
> call every 3 seconds requesting the next event. The server maintains event
> queues for every client that made such a call within the last period of
> time (1 hour). If something happens on the server, a new event is created
> and put into the queues of the listening clients.
>
> This solution works perfectly for me. I am sure, I could increase the
> polling frequency without problems, and I also believe that the special
> technologies like Comet do not provide much more realtime handling, because
> there are many disturbing factors (network traffic, server load, etc.).
>
> Magnus
>
> --
> 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.
>
>
>

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




Re: Deploying tomcat server

2013-09-05 Thread Timothy Spear
You have closed the database connection.
Look into how you are doing your connection management.

Tim

On Sep 6, 2013, at 12:19 AM, siva kumar  wrote:

> Hi
> 
> While i am deploying war file and test the application with intranet i got 
> this kind of error ..my application is not working on that timebut in my 
> localhost
> its working fine...can you give me any solution..
> 
> com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No 
> operations allowed after connection closed.
>   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
>   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
> Source)
>   at java.lang.reflect.Constructor.newInstance(Unknown Source)
>   at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
>   at com.mysql.jdbc.Util.getInstance(Util.java:386)
>   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013)
>   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
>   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
>   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
>   at 
> com.mysql.jdbc.ConnectionImpl.throwConnectionClosedException(ConnectionImpl.java:1205)
>   at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.java:1197)
>   at 
> com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4186)
>   at 
> com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4152)
>   at data.DataBase.Write(DataBase.java:164)
>   at 
> com.hellomvp.data.dao.PageAccessDAO.accessPagesInsert(PageAccessDAO.java:41)
>   at 
> com.hellomvp.data.bo.useraccountBO.Saveuseraccount(useraccountBO.java:82)
>   at 
> com.hellomvp.server.useraccountserviceImpl.saveuseraccount(useraccountserviceImpl.java:28)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>   at java.lang.reflect.Method.invoke(Unknown Source)
>   at 
> com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)
>   at 
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
>   at 
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
>   at 
> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>   at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>   at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>   at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>   at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>   at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>   at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
>   at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>   at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>   at 
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
>   at 
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>   at 
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
>   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
>   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>   at java.lang.Thread.run(Unknown Source)
> 
> Any help would be appreciated...
> 
> 
> Regards,
> 
> Harsha Infotech
> 
> -- 
> 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.

-- 
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, se