Re: [appengine-java] calling rest api

2011-07-17 Thread Khor Yong Hao
Should you trying to use URL Fetch, issue a HTTP request to your rest api URL? On Mon, Jul 18, 2011 at 1:20 AM, Vik wrote: > Hie > > In my code i am looking to call rest api to send some sms to a sms > gateway. > > How can i do it from my app engine code for java ? > > Please advise > > Thankx a

Re: [appengine-java] How to run quatz(kind) of scheduler service on appengine?

2011-07-21 Thread Khor Yong Hao
Amazon EC2 to run your quartz service seem to be your option. On Fri, Jul 22, 2011 at 3:31 AM, Kesava Neeli wrote: > Hi, > > I have a requirement to run a quatrz scheduler service and fire off jobs > based on the contents in the appengine datastore objects. We cannot run any > quarts service tha

Re: [appengine-java] Sending email in Java development environment

2011-07-28 Thread Khor Yong Hao
That's mean the log is resided in Admin Console. If in local, you can access http://localhost:8080/_ah/admin On Wed, Jul 27, 2011 at 5:19 AM, Bruce Davis wrote: > Thanks in advance for help with this newbie question. > > The documentation states: > > When an application running in the developmen

Re: [appengine-java] Re: SQL Like operator with %

2010-07-05 Thread Khor Yong Hao
Why not directly use String.contains("searchstring") method? -- 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

Re: [appengine-java] Re: Java Server Faces 2.0 does not works in GAE (for me)

2010-07-14 Thread Khor Yong Hao
Yes, it worked for me too, http://fyhaosecs.appspot.com is part of my final year project, I am working through. -- 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

Re: [appengine-java] Using Blobstore with JSF

2010-07-14 Thread Khor Yong Hao
I used common Blob but not BlobstoreService, and use non-jsf Servlet to handle uploading, it is challenging to make it run. On Wed, Jul 14, 2010 at 10:55 PM, John wrote: > Has anybody worked out how to use the Blobstore service with JSF. When > writing a JSF form with facelets there is no option

Re: [appengine-java] Re: PDF Files

2010-07-18 Thread Khor Yong Hao
Your Problem is not using iText to generate PDF content and download it, but is able to allow user upload their own PDF and providing download, right? On Thu, Jul 15, 2010 at 3:25 PM, dovm wrote: > Hi, > > Check this one > http://www.pdfjet.com/java/index.html > > They claim to support Google A

Re: [appengine-java] Pushlets HTTP-based publish/subscribe framework?

2010-07-18 Thread Khor Yong Hao
Sorry, you can't, Appengine had set 30 seconds request time limit, it is impossible to use such kind of server push technology. On Sat, Jul 17, 2010 at 6:43 AM, Phạm Hưng wrote: > http://www.pushlets.com/ HTTP-based publish/subscribe framework > > Can I use it? > > -- > You received this message

Re: [appengine-java] About Google App Engine & Google API

2010-07-18 Thread Khor Yong Hao
Is you meant that you want to create another SNS that consisted of all members of google appengine java group? On Sat, Jul 17, 2010 at 6:27 PM, Tan Duy wrote: > Hi all, > I'm a student in senior year. > Now, I'm researching G.A.E and I try to make an application server > community. > Would you l

Re: [appengine-java] Re: Oracle sues Google on Java Patents and Copyright

2010-08-16 Thread Khor Yong Hao
go away oracle, no politic, no politic, java must be free and open freely, use freely!!! On Mon, Aug 16, 2010 at 5:15 PM, asianCoolz wrote: > just ask Oracle to fire all their lawyers and hire 'better > programmers' like google if they are serious about innovation. ask > them make better web, n

Re: [appengine-java] Google App Engine on Netbeans

2010-10-25 Thread Khor Yong Hao
You may refer to http://java.wildstartech.com/Java-Platform-Enterprise-Edition/JavaServer-Faces/sun-javaserver-faces-reference-implementation/configuring-jsf-20-to-run-on-the-google-app-engine-using-netbeans I had successed last time for configuring JSF+Facelets on Google Appengine using Netbean 6

Re: [appengine-java] Re: Google App Engine with MySQL Database.

2010-11-23 Thread Khor Yong Hao
appengine is designed to be more applicable to run on distributed server. mysql is relational database and that is not suitable to scale when it supports sql join (fetch data from multiple tables) in distributed system. however the design of google bigtable, objects (key - value based) is suited in

Re: [appengine-java] Direct access to JSF source

2010-11-23 Thread Khor Yong Hao
make your url pattern be *.jsf instead of faces/ then you can access index.jsf in your URL while it calls index.xhtml file. On Wed, Nov 24, 2010 at 12:34 AM, Stephen Johnson wrote: > I don't know JSF so perhaps this is a stupid option, but can't you put the > index.xhtml in the WEB-INF directory.

Re: [appengine-java] Re: cost effective way to store PDF and word docs in datastore / blobstore service

2010-12-25 Thread Khor Yong Hao
It is possible to store one page / two page PDF (smaller than 1 mb) inside normal datastore. By using byte[] in entity datatype. On Sat, Dec 25, 2010 at 12:31 PM, Patrick Twohig wrote: > Just because billing is enabled that doesn't mean that you are billed for > using it. It just uncaps your quot

Re: [appengine-java] Error Running GuestBook !~

2011-01-05 Thread Khor Yong Hao
Refer to http://fyhao.com/2010/12/computer-and-it/appengine/google-appengine-jsp-compilation-problem/ where the solution I have stated, thanks. On Thu, Jan 6, 2011 at 2:30 PM, A. Stevko wrote: > seems pretty straight forward - jetty could not find javac.exe; probably to > compile a jsp > > > On

Re: [appengine-java] Datastore doesnot stote @embedded List

2011-01-13 Thread Khor Yong Hao
Try em.refresh() before em.persist() On Thu, Jan 13, 2011 at 6:36 PM, frank wrote: > Hello, > > I try to store an embedded List in an Entity. > I runs without errors, but no elements of the List are stored > > Thanks for your help. > > here is the code: > > @Entity > public class Cont implements

Re: [appengine-java] Re: Is App Engine Down? Unable to access my website

2011-01-23 Thread Khor Yong Hao
I am able to access just now. On Mon, Jan 24, 2011 at 11:31 AM, Sumi wrote: > Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error. > > > -- > 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 > g

Re: [appengine-java] can i use css in my app ?

2011-01-25 Thread Khor Yong Hao
I think HTML development in appengine is same as what you do in the other type of site either local or own server. Therefore, Sure, CSS is possible. You may found CSS tutorial from: http://www.w3schools.com/css/default.asp On Tue, Jan 25, 2011 at 9:47 PM, Vishnupradeep wrote: > is it possible to

Re: [appengine-java] Re: Failed to compile jsp files.

2011-04-11 Thread Khor Yong Hao
Try refer to this blog, http://fyhao.com/2010/12/computer-and-it/appengine/google-appengine-jsp-compilation-problem/ may solve your problem On Mon, Apr 11, 2011 at 3:37 PM, Gianni Mariani wrote: > Eric, > Is this issue related to your problem? > > http://code.google.com/p/googleappengine/issues/

Re: [appengine-java] Re: How can I make the session to be held open as long as the user got its browser opened?

2011-04-11 Thread Khor Yong Hao
Good way, either ajax way polling in 20 minutes, or Channel API, comet way. On Mon, Apr 11, 2011 at 2:59 PM, nischalshetty wrote: > You would need to specify a timeout and if there is no activity for > that time frame sessions would need to expire. To be safe about > expiring sessions and at the