Re: [appengine-java] Re: Best Java Web Frameworks for GAE (aka speed)

2010-09-09 Thread Sérgio Lopes
I'm wondering what's the best IoC container with the lowest startup time.
Guice? Pico? Spring?
(I guess Spring has the worst startup time)


On Thu, Sep 9, 2010 at 10:27, Edufa  wrote:

> Hi Sergio
>
> I like the VRaptor.
> Is there any plan to improve the speed of the VRaptor in GAE?
> maybe if you remove the dependency of spring.
>
> Thanks
>
>
> On 9 set, 01:20, Sergio Lopes  wrote:
> > Hi everybody
> >
> > I use GAEJ for a year now, mainly with VRaptor and Spring IoC
> > frameworks. As every GAE developer knows, we still have some issues
> > with Cold Start, specially because context loading happens in the
> > first request. So it seems to be a good thing to optimize that startup
> > time, something that Java developers are not used to (we usually focus
> > only in request processing time).
> >
> > And, for me, it seems that Spring isn't a good choice for GAE. In my
> > projects, it seems that classpath scanning plus the container
> > initialization are taking a very long time. So, what are you using?
> > What's the best framework for GAE when talking about performance and
> > low startup time?
> >
> > GWT?
> > JSF?
> > Spring?
> > Struts2?
> > Pure servlets? (joking :-)
> >
> > Thanks
> > Sérgio
>
> --
> 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.
>
>

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



Re: [appengine-java] Trying to use Ehcache 2.0.1 with web module

2010-05-04 Thread Sérgio Lopes
Hi Jason

If you have any news please tell us.
As you said, I cross-posted this question in Ehcache forum too:

http://forums.terracotta.org/forums/posts/list/0/3600.page

Sérgio
http://www.caelum.com.br

On Tue, May 4, 2010 at 13:08, Jason (Google)  wrote:

> Hi Sergio. I'll try to test this out soon. If you haven't already, you may
> want to post this in the Ehcache forums also since they can probably help
> you debug the issue faster:
>
> - Jason
>
> On Mon, May 3, 2010 at 1:54 AM, Sergio Lopes  wrote:
>
>> Hi everybody
>>
>> Ehcach announced recently their AppEngine support. I'm using version
>> 2.0.1 (latest stable release) with Ehcache Web Module. I'm using
>> SimpleCachingHeadersPageCachingFilter to cache page results.
>>
>> When I run my application, I'm getting an AccessControlException
>> because Ehcache Web is trying to do something nasty to the current
>> Thread (of course, gae does not allow):
>>
>> java.security.AccessControlException: access denied
>> (java.lang.RuntimePermission modifyThread)
>>at
>>
>> java.security.AccessControlContext.checkPermission(AccessControlContext.java:
>> 323)
>>at
>> java.security.AccessController.checkPermission(AccessController.java:
>> 546)
>>at
>> java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
>>at com.google.appengine.tools.development.DevAppServerFactory
>> $CustomSecurityManager.checkPermission(DevAppServerFactory.java:166)
>>at com.google.appengine.tools.development.DevAppServerFactory
>> $CustomSecurityManager.checkAccess(DevAppServerFactory.java:203)
>>at java.lang.Thread.checkAccess(Thread.java:1287)
>>at java.lang.Thread.setName(Thread.java:1068)
>>at
>>
>> net.sf.ehcache.constructs.web.filter.CachingFilter.buildPageInfo(CachingFilter.java:
>> 240)
>>at
>>
>> net.sf.ehcache.constructs.web.filter.CachingFilter.doFilter(CachingFilter.java:
>> 185)
>>at
>> net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)
>> 
>>
>> Is there anyone here using Ehcache on GAE? And specifically, Ehcache
>> Web Module?
>> I read that ehcache filter implementation and it really seems to call
>> things restricted by gae
>>
>> I followed the instructions found on Ehcache website:
>>  http://ehcache.org/documentation/googleappengine.html
>>  http://ehcache.org/documentation/web_caching.html
>>
>> Is Ehcache really GAE compatible?
>>
>> Tks
>> Sérgio Lopes
>>
>> --
>> 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.
>>
>>
>  --
> 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.
>

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



Re: [appengine-java] Re: Problems enabling Second-level cache with JPA

2010-05-04 Thread Sérgio Lopes
Thanks for the reply.

And about citing GAE caveats: maybe that's a good idea to promote your
product (I can speak for myself: I never heard about datanucleus before GAE,
and it seems like a nice product).

About 1.1 support: although there is no more support, the current GAE
version + datanucleus-cache-1.1 should have worked?

Thanks in advance and congratulations for the product

On Tue, May 4, 2010 at 13:32, datanucleus  wrote:

> And DataNucleus docs for v2.0, v2.1 don't mention GAE/J since GAE/J
> doesn't work with them, and we've been given no timescales when it
> will.
> The DN v1.1 docs mention GAE/J, but we have absolutely no intention of
> mentioning caveats to specifications necessary to run GAE/J - since we
> see no major reason why the vast majority of JDO3 and JPA2 can't be
> handled cleanly with a NoSQL datastore.
>
> Can't help you with your issue since v1.1 is no longer supported,
> except commercially
>
> --
> 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.
>
>

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