Re: [appengine-java] Cron Jobs in Java
Its fairly simple to imlement a cron job. First Create a *cron.xml* in your web/WEB-INF folder. (Along with web.xml appengine-web.xml etc.) It contains the definition of the servlet the cron will perform. The url is the url for your servlet and schedule is the timing. /cron/myjob Process my job every 1 hours every 1 hours It is important to secure cron jobs from unauthorized access. So you can add the entries in web.xml /cron/* /admin/* admin and finally you should have some servlet def in web.xml myjob org.maksud.gwt.app.servlets.MyJobServlet myjob /cron/myjob Remeber the cron will call get method. So you must implement doGet in your servlet. And as always google and appengine docs are your best friend. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Exception while trying to run app
Sometimes I need to copy newer libs into my war/web-inf/lib folder. Creating a new project ensures that automatically. But old projects does not copy the newer jars there. So I do a manual copy. μακσυδ http://www.commlinkinfotech.com/~maksud On Mon, Oct 26, 2009 at 12:31 AM, laurent wrote: > > I have found that when using eclipse, after upgrading to new version > of app engine / gwt > it helps to use "run --> run configurations". at the very top of the > window it lists some > of the problem found with the configuration and how to fix it. (it > worked for the issue you > just encountered) > > On Oct 24, 6:15 pm, Shawn Brown wrote: > > seehttp://tinyurl.com/yzhwl6p > > > > It's a known issue with upgrading. Look at the top result. > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: Tomcat Instead of Jetty.
I am using apache commons fileupload plugins. But could not store the files in the server location(google app engine.) I used JDO Blob to store the file in appengine. But in real project I have to upload files without limit restriction and also want to store the file in web server folder instead of db. That why we are looking for another web server without java.io.File limitations. We also need JPA for the project. Currently we were using GlassFish with Netbeans. Thanks μακσυδ On Thu, Sep 10, 2009 at 11:23 PM, Nicolas Melendez < nmelen...@getsense.com.ar> wrote: > > there are some workaround for fileupload with some frameworks... what > frameworks are you using? > > > On Thu, Sep 10, 2009 at 6:13 PM, maksud wrote: > > Actually I wanted to port app-engine application in appengineserver with > > Jetty and extend it (without appengine restrictions) in our personal > tomcat > > server. We need support for file upload and other things. That's why we > are > > interested in Tomcat. > > > > μακσυδ > > http://www.commlinkinfotech.com/~maksud > > > > > > On Thu, Sep 10, 2009 at 8:17 PM, Nicolas Melendez > > wrote: > >> > >> hi! > >> be careful, those restrictions(threads, files,etc) are helpful, > >> because in production you will have the same restrictions and your app > >> won't work in app engine server. > >> NM > >> > >> > >> On Thu, Sep 10, 2009 at 1:19 PM, leszek > >> wrote: > >> > > >> > But do you mean GWT or Google App Engine application ? > >> > > >> > GWT comes with embedded tomcat to keep backward compatiblity. Although > >> > there is a warning that it is deprecated and can be deleted in the > >> > future. > >> > > >> > If you want to use tomcat simply start shell as it is described in > >> > documentation for GWT 1.5 (or earlier). > >> > > >> > > http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideHostedMode > . > >> > > >> > GWT application (without Google App Engine) can be run inside any > >> > container, just deploy it as a normal .war module. > >> > > >> > Google App Engine comes with its own embedded web server which cannot > >> > be switched. > >> > > >> > But what is used in the case of GWT/Google App Engine application and > >> > GWT running in hosted mode started to use deprecated tomcat ? Good > >> > question - I don't know what is the relationship between embedded GWT > >> > server running in hosted mode and embedded Google App Engine server. > >> > > > >> > > >> > >> > > > > > > > > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: Tomcat Instead of Jetty.
Actually I wanted to port app-engine application in appengineserver with Jetty and extend it (without appengine restrictions) in our personal tomcat server. We need support for file upload and other things. That's why we are interested in Tomcat. μακσυδ http://www.commlinkinfotech.com/~maksud On Thu, Sep 10, 2009 at 8:17 PM, Nicolas Melendez wrote: > > hi! > be careful, those restrictions(threads, files,etc) are helpful, > because in production you will have the same restrictions and your app > won't work in app engine server. > NM > > > On Thu, Sep 10, 2009 at 1:19 PM, leszek > wrote: > > > > But do you mean GWT or Google App Engine application ? > > > > GWT comes with embedded tomcat to keep backward compatiblity. Although > > there is a warning that it is deprecated and can be deleted in the > > future. > > > > If you want to use tomcat simply start shell as it is described in > > documentation for GWT 1.5 (or earlier). > > > http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideHostedMode > . > > > > GWT application (without Google App Engine) can be run inside any > > container, just deploy it as a normal .war module. > > > > Google App Engine comes with its own embedded web server which cannot > > be switched. > > > > But what is used in the case of GWT/Google App Engine application and > > GWT running in hosted mode started to use deprecated tomcat ? Good > > question - I don't know what is the relationship between embedded GWT > > server running in hosted mode and embedded Google App Engine server. > > > > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Tomcat Instead of Jetty.
Hi, I am planning to use GWT with Server integration to some project. Now google uses Jetty as its appengine server. But it have some restriction including JPA and Files. How can I use Tomcat as the server instead of Jetty? Thanks μακσυδ http://www.commlinkinfotech.com/~maksud --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: URL Rewrite
Thanks, I am currently analyzing it. Maksud On Sat, Sep 5, 2009 at 12:07 PM, Pandu Pradhana wrote: > Hi, > > You can use this http://tuckey.org/urlrewrite/ > > --Pandu > > > On Sat, Sep 5, 2009 at 11:51 AM, maksud wrote: > >> Hi, >> I am new to Google App Engine. I need some *URL Rewrite* techniques which >> are used in apache httpd *mod_rewrite*. What is the options for jetty >> server? Do you guys recommend some tutorial or documents. >> >> >> Thanks >> Maksud >> >> >> >> > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] URL Rewrite
Hi, I am new to Google App Engine. I need some *URL Rewrite* techniques which are used in apache httpd *mod_rewrite*. What is the options for jetty server? Do you guys recommend some tutorial or documents. Thanks Maksud --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---