[appengine-java] Re: Simplest web framework + ORM for GAE/J?

2009-09-08 Thread Thomas Wiradikusuma

you mean more to the "web framework" thing? try Grails or Gaelyk.

On Sep 8, 12:02 am, Chris  wrote:
> What's the simplest web framework + ORM combination that works well on
> GAE/J?
--~--~-~--~~~---~--~~
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] AccessControlException on OutputStream#write(byte b[], int off, int len)

2009-10-20 Thread Thomas Wiradikusuma

Hi,

The following Groovy snippet throws exception:

byte[] responseData = byteOut.toByteArray()
response.setContentLength(responseData.length)
response.setContentType("application/octet-stream")
response.outputStream.write(responseData, 0, 
responseData.length)
<-- this one

The exception is:

java.security.AccessControlException: access denied
(java.lang.RuntimePermission getClassLoader)

at com.google.appengine.runtime.Request.process-e40a07dff3b6f2fc
(Request.java)
at org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts.
(ClassLoaderForClassArtifacts.java:22)
at org.codehaus.groovy.runtime.callsite.CallSiteClassLoader.
(CallSiteClassLoader.java:40)
at org.codehaus.groovy.reflection.CachedClass$5$1.run
(CachedClass.java:144)
at org.codehaus.groovy.reflection.CachedClass$5$1.run
(CachedClass.java:143)
at java.security.AccessController.doPrivileged(AccessController.java:
34)
at org.codehaus.groovy.reflection.CachedClass$5.initValue
(CachedClass.java:141)
at org.codehaus.groovy.reflection.CachedClass$5.initValue
(CachedClass.java:140)
at org.codehaus.groovy.util.LazyReference.getLocked
(LazyReference.java:33)
at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:20)
at org.codehaus.groovy.reflection.CachedClass.getCallSiteLoader
(CachedClass.java:472)
at
org.codehaus.groovy.runtime.callsite.CallSiteGenerator.compilePojoMethod
(CallSiteGenerator.java:222)
at
org.codehaus.groovy.reflection.CachedMethod.createPojoMetaMethodSite
(CachedMethod.java:240)
at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.createCachedMethodSite
(PojoMetaMethodSite.java:158)
at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.createPojoMetaMethodSite
(PojoMetaMethodSite.java:147)
at groovy.lang.MetaClassImpl.createPojoCallSite(MetaClassImpl.java:
2978)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.createPojoSite
(CallSiteArray.java:114)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallSite
(CallSiteArray.java:148)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall
(CallSiteArray.java:40)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call
(AbstractCallSite.java:117)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call
(AbstractCallSite.java:133)

Any idea why it happened and how to fix it?
--~--~-~--~~~---~--~~
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] "appcfg.sh update" suddenly doesn't work

2010-01-23 Thread Thomas Wiradikusuma
Hi all,
I created a new project, tested it in localhost, everything was OK. So
I uploaded it:

Reading application configuration data...
Beginning server interaction for myapp...
0% Creating staging directory
5% Scanning for jsp files.
8% Compiling jsp files.
11% Compiling java files.
20% Scanning files on local disk.
25% Initiating update.
28% Cloning 1 static files.
31% Cloning 56 application files.
40% Uploading 0 files.
90% Deploying new version.
95% Will check again in 1 seconds
98% Will check again in 2 seconds
99% Will check again in 4 seconds
99% Will check again in 8 seconds
99% Closing update: new version is ready to start serving.
99% Uploading index definitions.

Details:
Jan 24, 2010 3:15:22 PM org.apache.jasper.JspC processFile
INFO: Built File: /_default.jsp
Jan 24, 2010 3:15:22 PM org.apache.jasper.JspC processFile
INFO: Built File: /_pane_footer.jsp
Jan 24, 2010 3:15:22 PM org.apache.jasper.JspC processFile
INFO: Built File: /_pane_howitworks.jsp
Jan 24, 2010 3:15:22 PM org.apache.jasper.JspC processFile
INFO: Built File: /index.jsp
Note: /var/folders/CA/CAoAFlp6Ex8Ce58TO7dOuU+++TI/-Tmp-/
appcfg129071456909907182.tmp/WEB-INF/classes/org/apache/jsp/
_005fdefault_jsp.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.


Update completed successfully.
Success.
Cleaning up temporary files...


Man that's fast, considering ~12MB of jars (Spring 3.0, Sitemesh,
JSTL, App Engine). But when I opened it in my browser, the page loaded
(redirection worked from index.jsp -> /spring/index) but the page was
blank. I checked the log, no error. What's going on?

Here's the "web" directory structure (for "appcfg.sh update web"):

WEB-INF/
classes/
META-INF/applicationContext.xml
com/foo/bar/*.class
lib/*.jar
appengine-web.xml
decorators.xml
dispatcher-servlet.xml
web.xml
_default.jsp
_pane_footer.jsp
_pane_howitworks.jsp
news.html
index.jsp


And the appegine-web.xml:


http://appengine.google.com/ns/1.0";>
myapp
1-snapshot















-- 
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: Gaelyk 0.5 released, with images, urlfetch, capabilities services enhancements

2010-09-28 Thread Thomas Wiradikusuma
Hi Guillaume, congrats on the release!


On Sep 27, 10:33 pm, Guillaume Laforge  wrote:
> Hi all,
>
> This is with great pleasure that I'd like to announce the *release of Gaelyk
> 0.5*.
>
> Gaelyk 0.5, the *lightweight Groovy toolkit for Google App Engine*, is a
> significant release adding a lot of new features into the mix:

-- 
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] Sync datastore between server and local

2010-11-04 Thread Thomas Wiradikusuma
Hi,

Is there any way to "sync" data in datastore between server (live)
and
local (localhost)? I have some test data that I want to make
available
to both environments.

Another question:

I'm splitting the web to "front-facing" webapp and "admin panel"
webapp:
web.latest.myapp.appspot.com and admin.latest.myapp.appsot.com.

I'm aware that both share the same datastore in the server (live).
Can
I do that (share same datastore) in local (localhost)? I.e. Can I
make
two (or more) Java webapps to access the same datastore file?

(this is a repost from google app engine group)

-- 
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] Tic Tac Toe not there

2010-12-02 Thread Thomas Wiradikusuma
I just read 1.4.0 release announcement, congrats to GAE team!

Btw the sample project doesn't seem to exist
http://code.google.com/p/java-channel-tac-toe/

-- 
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: Happy Birthday Google App Engine !!

2011-04-06 Thread Thomas Wiradikusuma
I agree with Rajkumar,

GAE/J is a very important service, especially for indie Java
developers like me.
The service is getting better, and the developer groups are vibrant.

Happy Birthday GAE!

regards,
Thomas Wiradikusuma

On Apr 7, 12:17 pm, Rajkumar Radhakrishnan 
wrote:
> Hi,
>
> It is now 3 years since Google App Engine was first released. *Happy
> Birthday Google App Engine !!*

-- 
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] How to model object with lots of small properties

2011-04-09 Thread Thomas Wiradikusuma
Hi guys,

I want to model an object with lots of small properties, e.g.:

House {
  boolean hasAirCond, boolean hasInternet, boolean nearSchool, etc;
}

Is this naive way the best way to model it? Is there any better "GAE-
way" to do this?

-- 
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: Which one is best for development...Spring Framework or Servlet& Jsp....

2011-04-20 Thread Thomas Wiradikusuma
I'm also using Spring MVC and Spring Security.

I tried to ditch Spring in favor of Guice, but in the end I couldn't
live without it. Form handling, i18n, security, etc, everything make
me go back to Spring :) I use manual wiring, so performance is
acceptable. I no longer get timeout when first loading.

On Apr 20, 11:30 am, Nick Rudnik  wrote:
> Spring MVC 3 works very well inside App Engine. I have a fairly small and
> simple application and see a load time of around 20 seconds also.

-- 
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] SystemProperty.environment.value() throws "NPE: Name is null" in Play Framework

2011-05-01 Thread Thomas Wiradikusuma
Hi guys,

I was playing with Play Framework and Objectify, then I hit this
problem. Whenever I add @Cached to any entity, the entity can't be
put.
The detail is here: 
http://groups.google.com/group/objectify-appengine/browse_thread/thread/de298fe07741cd53

Jeff Schnitzer suggested me to try executing plain
SystemProperty.environment.value() in my Play code. And it indeed
throws:

Internal Server Error (500) for request GET /

Execution exception (In /app/controllers/Application.java around line
14)
NullPointerException occured : Name is null

play.exceptions.JavaExecutionException: Name is null
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:228)
at Invocation.HTTP Request(Play!)
Caused by: java.lang.NullPointerException: Name is null
at java.lang.Enum.valueOf(Enum.java:236)
at com.google.appengine.api.utils.SystemProperty$Environment
$Value.valueOf(SystemProperty.java:70)
at com.google.appengine.api.utils.SystemProperty
$Environment.value(SystemProperty.java:91)
at controllers.Application.index(Application.java:14)
at play.mvc.ActionInvoker.invokeWithContinuation(ActionInvoker.java:
541)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:499)
at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:
475)
at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:
470)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:158)
... 1 more

I want to submit this to Play community, but I think it's more to GAE.
Or should I post this there?

-- 
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] AccessControlException java.io.FilePermission

2011-05-10 Thread Thomas Wiradikusuma
Hi guys,

I don't know why, recently I always get this error everytime I run GAE/
J.

HTTP ERROR 500

Problem accessing /index.jsp. Reason:

Request processing failed; nested exception is
java.security.AccessControlException: access denied
("java.io.FilePermission" "/Users/wiradikusuma/Documents/code/myapp/
web/target/classes/context.xml" "read")

Caused by:

org.springframework.web.util.NestedServletException: Request
processing failed; nested exception is
java.security.AccessControlException: access denied
("java.io.FilePermission" "/Users/wiradikusuma/Documents/code/myapp/
web/target/classes/context.xml" "read")
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:
656)
at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:
549)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
511)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
390)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
418)
at
com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:
70)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
at
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:
706)
at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:
677)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:54)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
377)
at
org.apache.jasper.servlet.JspServlet._serviceJspFile(JspServlet.java:
313)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at com.google.appengine.tools.development.PrivilegedJspServlet.access
$101(PrivilegedJspServlet.java:23)
at com.google.appengine.tools.development.PrivilegedJspServlet
$2.run(PrivilegedJspServlet.java:59)
at java.security.AccessController.doPrivileged(Native Method)
at
com.google.appengine.tools.development.PrivilegedJspServlet.service(PrivilegedJspServlet.java:
57)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
511)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1166)
at myapp.CustomFilter.obtainContent(CustomFilter.java:190)
at myapp.CustomFilter.doFilter(CustomFilter.java:150)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:
109)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:
83)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:
97)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at
org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:
100)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at
org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:
78)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:
54)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:
35)
at org.

[appengine-java] Re: AccessControlException java.io.FilePermission

2011-05-10 Thread Thomas Wiradikusuma
Btw this is the console output (I'm using IntelliJ):

/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/bin/java -
javaagent:/java/appengine-java-sdk-1.4.3/lib/agent/appengine-agent.jar
-XstartOnFirstThread -javaagent:/java/JRebel/jrebel.jar -noverify -
Dfile.encoding=MacRoman -classpath /java/appengine-java-sdk-1.4.3/lib/
appengine-tools-api.jar
com.google.appengine.tools.development.DevAppServerMain --
address=0.0.0.0 -p 8080 --disable_update_check /Users/wiradikusuma/
Documents/code/myapp/web/war

May 11, 2011 2:13:47 AM com.google.apphosting.utils.jetty.JettyLogger
info
INFO: Logging to JettyLogger(null) via
com.google.apphosting.utils.jetty.JettyLogger
May 11, 2011 2:13:47 AM
com.google.apphosting.utils.config.AppEngineWebXmlReader
readAppEngineWebXml
INFO: Successfully processed /Users/wiradikusuma/Documents/code/myapp/
web/war/WEB-INF/appengine-web.xml
May 11, 2011 2:13:47 AM
com.google.apphosting.utils.config.AbstractConfigXmlReader
readConfigXml
INFO: Successfully processed /Users/wiradikusuma/Documents/code/myapp/
web/war/WEB-INF/web.xml
May 11, 2011 2:13:47 AM com.google.apphosting.utils.jetty.JettyLogger
info
INFO: jetty-6.1.x
May 11, 2011 2:13:48 AM
com.google.appengine.tools.development.ApiProxyLocalImpl log
INFO: javax.servlet.ServletContext log: Initializing Spring root
WebApplicationContext
May 11, 2011 2:13:51 AM
com.google.appengine.tools.development.ApiProxyLocalImpl log
INFO: javax.servlet.ServletContext log: Initializing Spring
FrameworkServlet 'dispatcher'
May 11, 2011 2:13:52 AM
com.google.appengine.api.datastore.dev.LocalDatastoreService load
INFO: Time to load datastore: 107 ms
May 11, 2011 2:13:52 AM com.google.apphosting.utils.jetty.JettyLogger
info
INFO: Started SelectChannelConnector@0.0.0.0:8080
May 11, 2011 2:13:52 AM
com.google.appengine.tools.development.DevAppServerImpl start
INFO: The server is running at http://localhost:8080/
Connected to server
May 11, 2011 2:14:16 AM com.google.apphosting.utils.jetty.JettyLogger
warn
WARNING: /index.jsp
org.springframework.web.util.NestedServletException: Request
processing failed; nested exception is
java.security.AccessControlException: access denied
("java.io.FilePermission" "/Users/wiradikusuma/Documents/code/myapp/
web/target/classes/context.xml" "read")
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:
656)
at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:
549)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
511)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
390)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
418)
at
com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:
70)
... same exception as previous post

-- 
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: When to use a String as ID? (using Objectify and GWT)

2011-06-15 Thread Thomas Wiradikusuma
Sorry for the stupid question, but in what scenarios would we need to
allocate id?

Usually if I need the id to be something, i just use string (e.g.
email address), otherwise, just let datastore set it for me (when
persisting).

On Jun 15, 6:26 pm, Drew Spencer  wrote:
> Just one question - the DatastoreService.allocateIdRange() - when would this

-- 
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: Gaelyk 1.0 is here, the lightweight Groovy toolkit for Google App Engine

2011-08-05 Thread Thomas Wiradikusuma
Guillaume, congrats to Gaelyk and all its developers! Glad to hear
it's now version 1.0!
I'm currently developing "admin console" for my app, so far so good :)

On Aug 6, 10:00 am, Guillaume Laforge  wrote:
> Hi all,
>
> I'm very happy to announce the *final release of Gaelyk 1.0*, the
> lightweight Groovy  toolkit for Google App
> Engine!

-- 
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] Java PaaS shoutout

2011-08-18 Thread Thomas Wiradikusuma
Hi guys,

I just stumbled upon this article:
http://www.ibm.com/developerworks/java/library/j-paasshootout

Are these constraints/limitations still valid? (the article date is
April 2011)

"GAE forces any application-initiated connection to close after 5 to
10 seconds"

"But its raw performance is often slow.. ..GAE often takes 1 to 3
seconds to respond to database-related requests."

"One tip: Set up a cron job inside GAE to load your own website every
2 to 3 minutes to keep the JVM active."

"GAE limits the returned dataset of each query to 1,000 rows"

"GAE allows only 100 indexes per table"

"GAE provides no easy way to delete indexes that are no longer in use"

"doesn't support free text search in the database"

"no standard API for directly accessing BigTable, you must write data-
import and data-export logic into servlets inside your own
application, and use your own web interface to import or export data"

"some of the components in GAE still feel experimental rather than
production-ready"

-- 
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: Upload attachments Google Sites

2011-08-23 Thread Thomas Wiradikusuma
Hi Ikai,

Just wondering, is it possible if instances are given limited space
"temp" dir where programs can write to it?
It will greatly help 3rd party frameworks which use file system for
temp data.

On Aug 24, 5:53 am, "Ikai Lan (Google)"  wrote:
> Hah, I should have looked at the code. Yeah, my example writes the thing to
> disk. Thanks for the catch, Stephen!

-- 
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: Serious Performance Issues Due To Constant Startup of New Instances

2011-10-23 Thread Thomas Wiradikusuma
I was using Spring, Spring Security, Sitemesh, JSP and Objectify.
Sometimes I experienced deadline exception (remember last time request
timeout was set to 30sec).

Now that I use JSP, Servlet, Objectify and custom Sitemesh, it takes
less than 5secs to warmup.


On Oct 24, 3:16 am, Miroslav Genov  wrote:
> We had a similar issue with JDO, so we switched to twig-persist which starts
> faster then JDO and has a really nice API.
>
> About spinning, you can specify how long GAE can wait for new request to
> complete, until start a new instance of the application to handle it. You
> can check this options in the "Application Settings" page in the admin panel
> of your application under label "Performance".

-- 
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] Show project: Neytap (classifieds)

2011-11-20 Thread Thomas Wiradikusuma
Hi guys,

Last night I launched my pet project to public, www.neytap.com. It's a
(very) simple classifieds for room rentals inside Facebook.

It runs on GAE/Java and written in Scala, using just Servlet/JSP in
the server. I tried Spring but given up.

Other than that, it uses:
Objectify, StringTemplate, SiteMesh, jQuery (and some plugins),
Backbone.js. Man, I'm really standing on the shoulders of giants.

My design sucks, so the website looks plain. Anyway looking forward
for some suggestion :)

@ikai this is the website I was working on in Google Hackaton in KL :)

-- 
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: Show project: Neytap (classifieds)

2011-11-21 Thread Thomas Wiradikusuma
Hi Michele,

Thanks. I haven't integrated it with Facebook auth, currently it's
just an isolated app under Facebook chrome. I'm planning to implement
it this weekend. I'll post an update to this thread later :)


On Nov 22, 2:06 am, Miguel  wrote:
> Hi,
> it's very interesting project. I have a question: how do you deal with
> authentication? Have you tried to integrate the Facebook
> authentication with Google App Engine?
>
> Thank you
> Michele
>
> On Nov 20, 9:52 pm, Thomas Wiradikusuma 
> wrote:
>
>
>
>
>
>
>
> > Hi guys,
>
> > Last night I launched my pet project to public,www.neytap.com. It's a
> > (very) simple classifieds for room rentals inside Facebook.
>
> > It runs on GAE/Java and written in Scala, using just Servlet/JSP in
> > the server. I tried Spring but given up.
>
> > Other than that, it uses:
> > Objectify, StringTemplate, SiteMesh, jQuery (and some plugins),
> > Backbone.js. Man, I'm really standing on the shoulders of giants.
>
> > My design sucks, so the website looks plain. Anyway looking forward
> > for some suggestion :)
>
> > @ikai this is the website I was working on in Google Hackaton in KL :)

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