Re: Deploying GWT application on a web server

2010-11-24 Thread hazy1
Um..the RPC implementations are servlet class file in the war. Have you even tried it? On Nov 23, 11:43 am, Noor baken...@gmail.com wrote: But only the client sides files are compiled to javascript then what happens to the server files, such as the a server file for handling rpc services --

Re: RegEx

2010-08-09 Thread hazy1
This sounds like a great idea. Matt On Aug 9, 6:10 am, Dunlord esque...@gmail.com wrote: For a Open Source project I'm working on I needed the java.util.regex.Matcher (and so the java.util.regex.Pattern) classes, in the client side. They are not in the GWT JRE emulation library, but the

Re: GWT hostmode in weblogic

2010-06-03 Thread hazy1
Use -noserver On Jun 2, 10:29 pm, GWT_novice ssu...@gmail.com wrote: i am very new to GWT. I want deploy GWT app in weblogic app server instead of using in-built jetty. Can someone let me know how to do that? I googled it but not much info regarding set up in weblogic. Thanks in advance. --

Re: FastTree in GWT 2.0.3

2010-05-30 Thread hazy1
Fast tree has always had a lot of bugs, we basically took some of the concepts from Fast Tree but wrote our own. On May 28, 5:03 am, jla ner...@gmail.com wrote: Hi, Are there any known problems about the GWT-Incubator fastTree and GWT 2.0.3. I can't seem to be able to get it to work properly.

Re: does anyone fancy testing the security on my test application?

2010-04-27 Thread hazy1
A lot of your problems are because you don't seem to have any idea how Java enterprise or web applications (of any kind) work with sessions - which is a totally separate issue from GWT. I suggest reading up on this prior to trying to use sophisticated frameworks like GWT/GAE. It is usually

Re: how large of your GWT compiled code? My one is 850K

2009-11-13 Thread hazy1
Our code size, uncompressed is several megabytes. We compress and cache it (both on the client and on the server - cache the zipped file in memory). It is not much trouble after doing this. On Nov 12, 6:48 pm, Edgenius dapeng...@edgenius.com wrote: I am very excited for code split feature on

Re: I'm a web developer - where do i fit in?

2009-10-22 Thread hazy1
There is no 'spreading thin'. All these languages, design patterns, idioms, hacks all start to look the same, regardless of language, after you get enough experience and then it is just picking the right tool for the job. On Oct 22, 11:05 pm, mattkime mattk...@gmail.com wrote: I think its

Re: Pre-Compress GWT compiler output for web server

2009-07-22 Thread hazy1
It is dead simple to create a simple in-memory cache in your web application for gzipped data. Gzip the web page in memory the first time it is created and then use this for subsequent requests to that resource. On Jul 22, 7:06 am, martinhansen martin.hanse...@googlemail.com wrote: Hello, I

Re: The future of GWTTestCase (and OOPHM)

2009-07-12 Thread hazy1
I hope that they make GWTTestCase work with the hosted mode and any OOPHM-enabled browser depending on configuration...lets hope we get it. On Jul 12, 10:12 pm, Daniel Wellman etl...@gmail.com wrote: With OOPHM coming in GWT 2.0, which will as I understand will no longer require the Hosted

Re: java.util.Date, TimeZone and RPC Serialization

2009-07-10 Thread hazy1
Why don't you just use Date.getTime() and Calendar.setTimeInMillis() on the serverside? On Jul 10, 3:11 pm, Monica premamon...@gmail.com wrote: thakker, I have the same issue as well, we are live in production and found this issue for users accessing from a different timezone , we pushed in

Re: call more than one service

2009-07-10 Thread hazy1
'Better' depends on what you are trying to do. It is easy to know when a service finishes because the onSuccess/ Failure handler will execute at that time. You probably need to familiarize yourself with async programming. On Jul 10, 5:49 am, retha pasalli re...@wacana-inti.com wrote: Hi guys,

Re: Help with storing into session and accessing the session value in a Panel

2009-07-10 Thread hazy1
Yes, obviously you had better check the role on the client and on the server. It is best if you use a shared class (one that is compiled to JS and is also available as Java on the server) to do this. On May 21, 6:29 am, Magius antonio.diaz@gmail.com wrote: You can create a RPC to ask the

Re: FF 3.5 + GWT 1.5.3 + Large App (script/stack errors)

2009-07-08 Thread hazy1
Yes, we have run into browser limits but these were mostly solved by optimizing search algorithms and using lazy panel to separate rendering from the client side data model processing. On Jul 7, 11:14 am, JacoGr jac...@gmail.com wrote: Hi all, I'm not 100% sure how to address this, or

Re: how to authenticate user in GWT RPC(include Async)

2009-07-08 Thread hazy1
GWT has easy ways to access the HttpSession through the request in the normal way: getThreadLocalRequest On Jul 8, 5:39 am, 任胜韦 slayersxi...@gmail.com wrote: under jsp + servlet,  I usually set the username into session,then in the servlet  writes code like:

Re: RootPanel.get(aaa) in Junit test throws NPE

2009-07-06 Thread hazy1
The work around I ended up using is to parameterize the RootPanel.get (xxx) call with a public static member. In my JUnit test cases, I set this public static to null prior to calling onModuleLoad. On Jul 3, 10:58 pm, hazy1 matt.egyh...@gmail.com wrote: I have the same problem.  No solution

Re: Best pattern for client/server communication?

2009-07-03 Thread hazy1
I typically share as much as possible. If it has to be different then subclass for the server-side only stuff and don't compile the subclass on the client. On Jul 3, 2:34 am, Kwhit kwhitting...@gmail.com wrote: I don't have a boilerplate pattern available as I'm still experimenting myself.

Re: New site created with GWT

2009-07-03 Thread hazy1
Wow, the text boxes are ginormous in FF 3.5. On Jun 30, 4:34 pm, Michael W mwang_2...@yahoo.com wrote: I am happy to announce that we launched beta version of holidayinn website written with GWT this past weekend. The new sitehttp://www.holidayinn.com/hotels/us/en/reservationwill replace

Re: RootPanel.get(aaa) in Junit test throws NPE

2009-07-03 Thread hazy1
I have the same problem. No solution/work around that I know of. On Jun 26, 12:45 pm, Владимир Петрухин mylonglongn...@gmail.com wrote: I generate a simple project with maven gwt plugin: mvn archetype:generate \    -DarchetypeGroupId=org.codehaus.mojo \    

Re: show/hide widget based on user's credentials

2009-06-23 Thread hazy1
This is correct, the RPC must also verify user permissions. The easiest way to do this is to keep the 'user validation/permission' code the same on the client and on the server. This can easily be accomplished in GWT since the client code is Java compiled to JavaScript. BTW, you should be

Re: Fast Tree Migration Path

2009-06-23 Thread hazy1
Thomas, Thank you! Matt On Jun 18, 5:37 am, Thomas Broyer t.bro...@gmail.com wrote: On 18 juin, 04:23,hazy1matt.egyh...@gmail.com wrote: Hi, We are using the Fast Tree widget in the 1.6 incubator with the 1.6.4 GWT release.  The Fast Tree still uses the old event model so we get a

Fast Tree Migration Path

2009-06-17 Thread hazy1
Hi, We are using the Fast Tree widget in the 1.6 incubator with the 1.6.4 GWT release. The Fast Tree still uses the old event model so we get a lot of warnings. We have trees with potentially thousands of nodes (don't worry, it has a client side search option to find nodes), so Fast Tree is

Re: GWT RPC Encryption

2009-05-30 Thread hazy1
If you are worried about replay attacks use a random token as part of each response/request pair. On May 29, 11:09 pm, Deep Blue deep.blue...@gmail.com wrote: Hi, Thanks all for the comments / opinions. I agreed with Daniel and Jason that we shouldn't send any extra info. to client and

Re: Help with storing into session and accessing the session value in a Panel

2009-05-20 Thread hazy1
Send the role information to your GWT client side application. On May 20, 1:38 am, Chetan chetan.minaj...@gmail.com wrote: Hi, I am new to GWT.We have a requirement to hide a button based on the role of the user. We are able to get the correct data from the database based on SOP statements

Re: GWT Upgradation error from 1.4 to 1.5/1.6

2009-05-20 Thread hazy1
Incubator releases have breaking changes so you will have to adjust. Some of the classes get moved to the main GWT trunk. On Apr 23, 5:56 am, Satya Bobba nasbo...@yahoo.com wrote: Hi hazy, thanks, i tried with latest version of incubator, but i am getting different errors means some of the

Re: how to integrate an ejb jar within my gwt web application ?

2009-05-19 Thread hazy1
Uh, just make an .ear in the normal way and call your EJBs from your RPC servlets. Hopefully you used stateless session beans. On May 19, 6:43 am, adel2009 adel.say.e...@gmail.com wrote: Hi, I have an ear which contains an ejb jar file and a war file (the old application). I created a new

Re: How to compile code for UNIX

2009-05-05 Thread hazy1
Do you know what the output of the GWTCompiler is? It is Javascript and HTML. The bar to the IT industry is so low sometimes I wonder how any software works at all. Sorry to be mean, but seriously. How many seconds would it take to deploy your javascript/html/etc to a Unix web server and see

Re: GWT Upgradation error from 1.4 to 1.5/1.6

2009-04-22 Thread hazy1
Um, there is probably a new incubator release for 1.6. Might want to try it. On Apr 22, 11:40 am, Satya Bobba nasbo...@yahoo.com wrote: Hi, I am upgrading my existing code from GWT 1.4 to GWT 1.6.we have used the FastTree.java in our code. it is compiling fine with 1.4. I have kept the

Re: GWT RPC filter

2009-04-17 Thread hazy1
Yes, use the GWT RPC classes to return failure or exception to the client in the servlet filter. On Apr 17, 4:49 am, dialloma malim...@gmail.com wrote: Hello group, I would like to implement the method or class that will be called before each GWT-RPC. Is there any method in GWT to do that ?

Re: GWT for Solaris

2009-04-05 Thread hazy1
Wow, you actually develop on Solaris? I think your kind will soon be extinct. You realize that GWT runs just fine on Solarisright? On Apr 5, 12:02 pm, Peter Ondruška peter.ondru...@gmail.com wrote: Hello, Are there any plans to provide GWT for Solaris? If not is it OK to request this

Re: Dealing with session timeout and container managed security

2009-03-08 Thread hazy1
I handle this in the following way: Use a servlet filter to check the status of the authentication. Check the URL requested (this can be done using a specific kind of filter mapping and initialization parameter), if it is a GWT request then send back an encoded exception that the GWT client

Re: Sequential workflow in an asynchronous GWT world

2009-03-04 Thread hazy1
Making an async call appear to be sequential is easy, just block or fade out or have a pop up progress bar until the async operation completes. On Mar 4, 10:15 pm, rlaferla robertlafe...@comcast.net wrote: How is everyone managing to implement sequential workflows when GWT only allows async

Re: No source code is available for type com.google.gwt.xml.client.XMLParser Erorr

2009-01-31 Thread hazy1
Add the xml module to your gwt.xml. On Jan 31, 11:03 am, taha taha...@gmail.com wrote: i wanna use XMLParser class in my project but i've faced below error message No source code is available for type com.google.gwt.xml.client.XMLParser; did you forget to inherit a required module? my

Re: How to log/audit/track GWT RPC calls?

2009-01-27 Thread hazy1
Here are some options: 1) Using a servlet filter mapped to the URL pattern of your GWT servlets 2) Log yourself inside of the GWT servlet Matt On Jan 27, 4:01 pm, ka1n leskap...@gmail.com wrote: I'd like to track the usage of my GWT application.  Specifically, I'd like to be able to log

Re: How to Debug GWT code using eclipse Remote Debugging feature

2009-01-26 Thread hazy1
Once compiled into JavaScript you cannot use a Java remote debugger on your GWT project. You can debug using hosted mode, see the docs. On Jan 25, 1:30 pm, Ashish Soni learnspr...@gmail.com wrote: Hi All , I am new to GWT and have below problem , please help... I have a java web

Servlet filter compression interfere with GWT RPC?

2009-01-25 Thread hazy1
Hello all, Assume the following: 1) A GWT application using RPC 2) A servlet filter that dynamically gzip's HttpServletResponses based on file size Given that GWT-RPC already will compress responses, will the response potentially be compressed twice? If so, will this have any impact?