GWT performance Testing

2009-09-30 Thread sim123
Hi, I came across gwt-debug-panel http://code.google.com/p/gwt-debug-panel/ on google codes and wondering if any one has tried it for performance testing gwt application? Can it be used for simulating multiple users? Thanks in advance for the help. --~--~-~--~~~---~

Re: GWT Module inheritance and entry point class

2009-05-13 Thread sim123
24 pm, Ian Bambury wrote: > Have a module (*.gwt.xml) file for A that doesn't define an entry point and > inherit that in the module file for B > Ian > > http://examples.roughian.com > > 2009/5/13 sim123 > > > > > I have two GWT modules A and B and where B is in

GWT Module inheritance and entry point class

2009-05-12 Thread sim123
I have two GWT modules A and B and where B is inheriting A. When I run B application, GWT tries to load B.java and then A.java. I don't want to load A.java. B uses A but it has it's own API, is there any way to prevent loading of A via B, as I can not make any changes in A. Thanks for all the hel

Re: Calling RPC Service inside another module

2009-05-11 Thread sim123
I think I got it, I had @RemoteServiceRelativePath("userinfo") missing in my service declaration inside application A and GWT 1.6 requires that. http://code.google.com/webtoolkit/doc/1.6/ReleaseNotes_1_6.html Thanks for the help. On May 11, 2:44 pm, sim123 wrote: > Its bro

Re: Calling RPC Service inside another module

2009-05-11 Thread sim123
r... > > Hope that helps, > > Salvador > > On May 8, 8:10 pm, sim123 wrote: > > > That works. Thanks for your help. I have other compilation warning > > like > > > [WARN] Server class 'com.test.UserServiceImpl' could not be found in > > the

Re: RPC vs non RPC methods order of execution

2009-05-11 Thread sim123
continue to requested location. This is a common use of > filtering. > > Trying to coordinate the timing of servet requests is much more > complicated/error prone solution... IMO > > On May 8, 4:28 pm, sim123 wrote: > > > Thanks for the reply, but I don't want to f

Re: RPC vs non RPC methods order of execution

2009-05-08 Thread sim123
01/tutorial-java-servlet-filter-exam... > > On May 8, 12:59 pm, sim123 wrote: > > > I have couple of RPC classes in my application and some plain old > > servlets to perform specific actions. I am wondering how is order of > > execution for RPC vs other HTTP requests

Re: RPC vs non RPC methods order of execution

2009-05-08 Thread sim123
calls UserService as its first task. Am I doing something wrong while creating modules? How can I avoid that call to UserService and do my login call first ? Thanks for the help. On May 8, 11:59 am, sim123 wrote: > I have couple of RPC classes in my application and some plain old > servl

RPC vs non RPC methods order of execution

2009-05-08 Thread sim123
I have couple of RPC classes in my application and some plain old servlets to perform specific actions. I am wondering how is order of execution for RPC vs other HTTP requests works. For example I have a login servlet which creates session for users and I want to make all RPC calls after successfu

Re: Calling RPC Service inside another module

2009-05-08 Thread sim123
p classpath for this session for all service implementations defined in A. any idea why I am getting this warning and what can be done to remove the same. Thanks for the help. On May 7, 6:11 pm, sim123 wrote: > in web.xml patterns are relative, I have given the path in web.xml, > but my appli

Re: Calling RPC Service inside another module

2009-05-07 Thread sim123
wrote: > In the web.xml for B, provide the proper paths for the RPC services.  I > think that'll work. > > On Thu, May 7, 2009 at 2:13 PM, sim123 wrote: > > > Can some one please help me with this issue and guide me to right > > directions?? > > > Thank

Re: Calling RPC Service inside another module

2009-05-07 Thread sim123
Can some one please help me with this issue and guide me to right directions?? Thanks a lot for your help. On May 6, 5:04 pm, sim123 wrote: > I have created two GWT projects A and B where A is an independent and > main application and B is more like test application for A, so I > inh

Re: Intergrating other GWT projects in eclipse

2009-05-06 Thread sim123
If I am understanding your problem correctly, you are trying to inherit a module. This is what I did to inherit another module, when both projects are in my eclipse environment : Go to Project Properties > Java Build Path > Libraries > Add External Class Folder > Add source folder of your widget

Calling RPC Service inside another module

2009-05-06 Thread sim123
I have created two GWT projects A and B where A is an independent and main application and B is more like test application for A, so I inherit A as a module in B. I have a couple of RPC Service defined in A which I want to call from B to get the same data and use it in a different way. But when I

Re: Handling 404s

2009-01-29 Thread sim123
found: 67.html; (could a file be missing from the public path or a tag misconfigured in module com.test.mywebapp.Sim .gwt.xml ?) [TRACE] Loading module '404error.htm' [TRACE] Loading module '404error.htm' please help. On Jan 28, 10:44 pm, sim123 wrote: > I am not sure if it is

Handling 404s

2009-01-28 Thread sim123
I am not sure if it is GWT problem or I am missing something in my web.xml. I am using GWT and java for client and server on tomcat web container. I want to put a handler for 404 response so that it should display custom error page, I put 404 mapping in my web.xml file 404 /404error.html

Accessing Static Resources

2009-01-28 Thread sim123
Is there a way I could put all static resources like images into another location and access it from there. I want to use apache for static resources and tomcat as my server. specifies another directory only ? Thanks for all the help. --~--~-~--~~~---~--~~ You rec

Redirecting during RPC call

2009-01-13 Thread sim123
I have a login servlet, which do the login and redirect to GWT module. Now during every server call (update, add etc) I want to check if user's session is still valid. All server calls except login are RPC. I have servlet filter to check session's validity. I am trying to redirect from filter if s

getThreadLocalRequest() is returning Null request

2008-12-01 Thread sim123
Hello All, I have one servlet for login, which sets the session id in cookies, then I have different services to be called after user is logged in. I have one service which gets user preferences another service which gets all the products which a user would like to buy etc. When I try to validate

Re: GWT Date and Time serialization

2008-10-20 Thread sim123
Thank you so much Chris, this worked. On Oct 17, 8:49 pm, Chris <[EMAIL PROTECTED]> wrote: > As others replied, this is the expected behavior.  However, I also had > the need to make sure the date object was not changed due to different > timezones of the client and server.  There is another thre

Re: GWT Date and Time serialization

2008-10-17 Thread sim123
imply serialize the data   > yourself to something that doesn't include time zones ... like a   > string "Jan 28, 2008 1:45pm" > > -jason > > On Oct 17, 2008, at 12:56 PM, sim123 wrote: > > > > > Oh!! so no one knows is it the expected behavior? Or it could

Re: GWT Date and Time serialization

2008-10-17 Thread sim123
17, 2008 at 6:36 PM, Tahir Akhtar <[EMAIL PROTECTED]>wrote: > > > > > There is another issue related to serialization of dates that can > > occur due to emulation of long with double in generated JavaScript. > > > See: > > >http://groups.google.com/group/Goo

Re: GWT Date and Time serialization

2008-10-16 Thread sim123
ring if I could write custom serializer for java fields? I would really appreciate any help. Thanks On Oct 16, 8:28 pm, sim123 <[EMAIL PROTECTED]> wrote: > I looked into serialization code for Date/Time and Timestamp in > com.google.gwt.user.client.rpc.core.java.sql package, it seems tha

Re: GWT Date and Time serialization

2008-10-16 Thread sim123
I looked into serialization code for Date/Time and Timestamp in com.google.gwt.user.client.rpc.core.java.sql package, it seems that these classes are cause of time zone conversion, is that so and is it expected behavior?? Some one please help me. Thanks. On Oct 16, 6:21 pm, sim123 <[EM

Re: RPC + Serializable objects

2008-10-16 Thread sim123
Yes. On Oct 16, 11:26 am, Suri <[EMAIL PROTECTED]> wrote: > Hi, > I'm trying to write a service that will return objects to be used at > the client side. I understand that I'll need to create transfer > objects essentially implementing the isSerializable interface so that > GWT can correctly comp

GWT Date and Time serialization

2008-10-16 Thread sim123
Hello, I noticed strange behavior of GWT serialization when handling Date/ Time/Timestamp values. When client and servers are in different time zones like server is in GMT and client is running in PST time zone, RPC does timezone conversion for Date/Time and Timestamp, I am not sure if this is ac

Re: GWT and servlet session

2008-10-02 Thread sim123
Thanks for your reply Walden, I would try to implement this solution and let you/ forum know about my progress or any other doubts. I appreciate your help. On Oct 1, 10:08 am, walden <[EMAIL PROTECTED]> wrote: > In addition, note that it's relatively easy to mark-up a link or image > for maliciou

Re: GWT and servlet session

2008-10-02 Thread sim123
Thanks for your reply, but how can I access sessionID value from POST Parameter in my filter? as request.getParameter("sessionID") is returning null? On Oct 1, 12:16 am, Lothar Kimmeringer <[EMAIL PROTECTED]> wrote: > sim123 schrieb: > > > If I should not piggyback m

Re: GWT and servlet session

2008-09-30 Thread sim123
On Sep 30, 4:32 am, walden <[EMAIL PROTECTED]> wrote: > Sim123, > > I don't think you mentioned whether you are using the regular Hosted > Mode or the -noserver variant of that.  To test ServletFilter > behavior, you will have to go with -noserver, or else test in a web &

Re: GWT and servlet session

2008-09-29 Thread sim123
origins requiring > separate sessions. > If this is your only problem, then don't use the IP address to access > your site. > > If it's not the only problem, thenpostsome meaningful diagnostics > from your server log.  You should have done that in your firstpost. > >

Re: GWT and servlet session

2008-09-28 Thread sim123
Someone please look into this issue, I really have no clue what is going on. On Sep 27, 3:38 pm, sim123 <[EMAIL PROTECTED]> wrote: > I have a simple application built in GWT and java servlet > > 1. User login : user logs in using a asynchronous call to server, RPC > service cre

GWT and servlet session

2008-09-27 Thread sim123
I have a simple application built in GWT and java servlet 1. User login : user logs in using a asynchronous call to server, RPC service creates a session and return it to client, on OnSuccess of this login call I load data on to browser, there are few RPC calls and one call to downlaod pictures f

Re: GWT And HTTPServlet

2008-09-18 Thread sim123
I have done that, but class is not found :( On Sep 18, 2:23 am, Pierre Mage <[EMAIL PROTECTED]> wrote: > Hi sim123, > > If you are working with GWTShell, you should specify your servlet in > your GWT module (*.gwt.xml file) just like RPC servlets. > > -- > Pierre >

GWT And HTTPServlet

2008-09-17 Thread sim123
I have couple of RPC servlet(which extends RemoteServiceServlet) and couple of HTTPServlet (TestJSONServlet) which extends from HTTPServlet, when I am trying to call non RPC servlet from my application I am getting an error saying "ClassNotFound", my compilation output folder has TestJSONServlet.c

GWT and web.xml configuration

2008-09-03 Thread sim123
I have created a web application for GWT using cypal studio, I have different servlets handling different requests (based on different business modules I have), Now I want to configure Servlet Listener and Servlet Filter, how should I configure those in GWT application? In traditional web applicat

Servlet & GWT

2008-09-03 Thread sim123
How can I configure servlet Filters with GWT? Thanks for all the help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.

Re: GWT and web.xml configuration

2008-09-02 Thread sim123
ect's webcontent folder? Thanks On Sep 2, 3:42 pm, sim123 <[EMAIL PROTECTED]> wrote: > I have created a web application for GWT using cypal studio, I have > different servlets handling different requests (based on different > business modules I have), Now I want to configure Servl

Re: Servlet & GWT

2008-09-02 Thread sim123
I got it working thanks, If any one interested : put all configuration (servlet-mapping, filters) etc in your bundled tomcat's webapps/Root/WEB_INF/Web.xml I am not sure if it is an appropriate way of doing this, please let me know if any one has a better solution. On Sep 2, 3:45 pm, s