Re: [appengine-java] Good wurfl example for mobile detection on app engine?

2010-10-05 Thread Jean-Claude Moissinac
It works
I have an application which uses WURFL
I have to put a guide online
But, in the meantime, I can confirm a fact: WURFL is  a good way to do
mobile detection in GAE

--
Jean-Claude Moissinac


On Tue, Oct 5, 2010 at 6:52 AM, Gal Dolber gal.dol...@gmail.com wrote:
 Hi, I used it long time ago, but not in appengine.
 You need to import the database and tweak a bit the java api.
 But it should work ok
 Best

 On Mon, Oct 4, 2010 at 7:16 PM, Shaun shaunc...@gmail.com wrote:

 Does any know of a good example and/or library to do WURFL mobile
 detection on App Engine or is there a better way to do it? Based on
 the users device I would like to serve a different interface

 Thanks!

 Shaun

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




 --
 Guit: Elegant, beautiful, modular and *production ready* gwt applications.

 http://code.google.com/p/guit/




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



[appengine-java] Re: can we use Web-services in Gooogle app engine

2010-09-03 Thread moissinac
No true/false response possible.

1) Response time: if a GAE application calls web services, each call
must be ended in the limited response time offered by Google; so if
there is some delay in the response of the called web service, you
need to manage this finely; it could be a bit complex

2) Web service framework: if you implement web services by using a
framework/library (Axis,...), it's possible/common that the framework
uses a database and so that the framework is not directly compatible
with GAE

But, it's POSSIBLE to implement anf use web services with GAE

-- 
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: ehcache and GAE

2010-06-21 Thread moissinac
Previous tests from several users shown that the memcache was bugged
when used with an expiration delay.
For example, my own alert
http://groups.google.com/group/google-appengine-java/browse_thread/thread/52fcfec1ddfd08aa/250a5efd49b7e8c4?q=moissinac+java+api+gae#250a5efd49b7e8c4

Is the problem solved?

-- 
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: Necessity for Java graphics

2010-06-21 Thread moissinac


On 21 juin, 11:17, dflorey daniel.flo...@gmail.com wrote:
 I've been using server side graphics using libs that don't require AWT
 image.
 This works fine for me (including server side svg generation etc.) and
 you can take advantage of the app engine image transforms.

Which ones?
For SVG, I have tried Batik, which have dependencies not in the white
list of GAE = not directly usable.
Is it a library able to transform SVG in bitmap on GAE?

-- 
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: Java Mail Service

2010-04-07 Thread moissinac
Tried the following code
MailService ms = MailServiceFactory.getMailService();
MailService.Message msg = new MailService.Message();
msg.setSubject(Tu as réussi cette étape);
ms.sendToAdmins(msg);

without more result.

The code is executed in the development server (without sending email
as specified by the documentation)
And do nothing visible in the GAE server.

On 2 avr, 18:12, KarthikR soumya.karth...@gmail.com wrote:
 Hi

 The java API javadoc 
 athttp://code.google.com/appengine/docs/java/javadoc/com/google/appengi...
 provides send() and sendToAdmins() methods, Can you try using
 sendToAdmins() ?

 Regards,
 KarthikR

 On Apr 1, 7:17 am, moissinac jcmoissi...@gmail.com wrote:

  Hello

  I have servlet with a code copied from the documentation for sending
  an email with the mail service
  Each time I call the service, I see the trace in the quota count like
  this:
  Mail
  Mail API Calls  0%      0%      5 of 7000       Okay
  Recipients Emailed      0%      0%      5 of 2000       Okay
  Admins Emailed  0%      0%      0 of 5000       Okay
  ...
  The count for Mail API Calls and Recipients Emailed is incremented
  each time

  My code send an email from the admin of my domain to the admin of my
  admin, but the item Admins Emailed  is never incremented

  The admin of my domain (me) never receive an email by that mean.
  If I send an email with gmail to the same address, it receive the
  email.

  Advice? help?
  Thank you inadvance

-- 
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: Java Mail Service

2010-04-07 Thread moissinac
A trace on the code shows me that the line in the previous code
 ms.sendToAdmins(msg);
fails

So, my hypothesis is that a prerequisite is not fulfilled
In the code, I use the Low Level API, which doesn't need a specific
configuration (I believe it)
In the log, I see
2585cpu_ms
with a warning saying 'This request used a high amount of CPU and may
soon exceed is quota'
I don't see where my code use a such amount of CPU


On 7 avr, 13:26, moissinac jcmoissi...@gmail.com wrote:
 Tried the following code
 MailService ms = MailServiceFactory.getMailService();
 MailService.Message msg = new MailService.Message();
 msg.setSubject(Tu as réussi cette étape);
 ms.sendToAdmins(msg);

 without more result.

 The code is executed in the development server (without sending email
 as specified by the documentation)
 And do nothing visible in the GAE server.

 On 2 avr, 18:12, KarthikR soumya.karth...@gmail.com wrote:

  Hi

  The java API javadoc 
  athttp://code.google.com/appengine/docs/java/javadoc/com/google/appengi...
  provides send() and sendToAdmins() methods, Can you try using
  sendToAdmins() ?

  Regards,
  KarthikR

  On Apr 1, 7:17 am, moissinac jcmoissi...@gmail.com wrote:

   Hello

   I have servlet with a code copied from the documentation for sending
   an email with the mail service
   Each time I call the service, I see the trace in the quota count like
   this:
   Mail
   Mail API Calls  0%  0%  5 of 7000   Okay
   Recipients Emailed  0%  0%  5 of 2000   Okay
   Admins Emailed  0%  0%  0 of 5000   Okay
   ...
   The count for Mail API Calls and Recipients Emailed is incremented
   each time

   My code send an email from the admin of my domain to the admin of my
   admin, but the item Admins Emailed  is never incremented

   The admin of my domain (me) never receive an email by that mean.
   If I send an email with gmail to the same address, it receive the
   email.

   Advice? help?
   Thank you inadvance

-- 
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] Java Mail Service

2010-04-01 Thread moissinac
Hello

I have servlet with a code copied from the documentation for sending
an email with the mail service
Each time I call the service, I see the trace in the quota count like
this:
Mail
Mail API Calls  0%  0%  5 of 7000   Okay
Recipients Emailed  0%  0%  5 of 2000   Okay
Admins Emailed  0%  0%  0 of 5000   Okay
...
The count for Mail API Calls and Recipients Emailed is incremented
each time

My code send an email from the admin of my domain to the admin of my
admin, but the item Admins Emailed  is never incremented

The admin of my domain (me) never receive an email by that mean.
If I send an email with gmail to the same address, it receive the
email.

Advice? help?
Thank you inadvance

-- 
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: Wiki on GAE

2010-03-31 Thread moissinac
J'ai trouvé peu de choses
Surtout des solutions qui dépendent soit d'un système de fichiers,
soit d'une base SQL et donc ne sont pas rapidement transposables sur
GAE
Juste un projet en cours pour GAE qui se déclare lui-même très
préliminaire

http://jamwiki.org/wiki/en/User:axelclk
http://code.google.com/p/gwtwiki/wiki/Development#info.bliki.gae

A suivre

-- 
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] Wiki on GAE

2010-03-30 Thread moissinac
Hello

I would like to run a wiki on GAE, something like Mediawiki.
All wiki solution that I know are runing with a Mysql base in the
background; so, there are not easily portable on GAE

Do you know some wiki solution runing on GAE?

-- 
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: cache expiration

2010-03-25 Thread moissinac
Yes, it's the same bug.
But the proposed workaround seems to be irrelevant.
And, the bug is coted 'Priority-Medium'
I think that such a bug on the caching mechanism in a web
infrastructure is a major bug: be unable to manage the expiration
delay of cached objects is a critical problem

-- 
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: cache expiration

2010-03-24 Thread moissinac

No one can help about expiration delay of the cache?

On 19 mar, 16:51, moissinac jcmoissi...@gmail.com wrote:
 By replacing the line

         cache.put(key, foo, exp,  MemcacheService.SetPolicy.SET_ALWAYS);
 by
         cache.put(key, foo);

 Thecacheworks, but I loose the 'expirationdelay' functionality
 which I need

-- 
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] cache expiration

2010-03-19 Thread moissinac
In my application, I get values from captors
Each value has a 5 minute validity. Each read from a captor cost a
lot, so I've tried to put it in the GAE cache

My code (JCache or low level api) is working with the cache as long as
I don't use the exoiration delay.
When I use the expiration delay, it works fine as long as the
expiration delay isn't spent. After, a get(key) on the cache always
gives null and a put(key,value) doesn't change that.
The same problem seems to be describded here
http://groups.google.com/group/google-appengine-java/browse_thread/thread/4e562762f13d932e/a974365a918b279d?lnk=gstq=JCache+expirationpli=1
and in other messages on the web
Here is a view of my code on the low level API
key = num;
foo = (String)cache.get(key);
if (foo == null) {
 foo = /* get the value */
cache.put(key, foo, exp,  MemcacheService.SetPolicy.SET_ALWAYS);
}
resp.setContentType(text/xml);
resp.getOutputStream().print(foo);  }

where exp is declared as a global by
static Expiration exp = Expiration.byDeltaSeconds(300);

-- 
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: SVG data in a jsp file

2010-02-16 Thread moissinac


On 14 fév, 19:35, Martin Trögner troegner_mar...@web.de wrote:
 My application shall create SVG  data which will be integrated in a
 jsp.
 For svg data you normally can use
     object data=f.svg type=image/svg+xml width=200
 height=200 /

I think that you could have something like this
object data=http://my_app_engine/generated_svg/f.svg; type=image/svg
+xml width=200 height=200 /

-- 
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: JAI working in JAE?

2009-12-06 Thread moissinac
After a first try:
- JAI has several flavour; one generic and a lot of specific binaries,
each optimized for a specific target; so, with GAE, the only one which
can be used is the generic non optimized version, because we must
ignore what is the target In GAE
- a simple sample from the documentation uses
java.awt.image.renderable.ParameterBlock to communicate parameters to
an image processing method, but
java.awt.image.renderable.ParameterBlock is not supported by Google
App Engine's Java runtime  environment; so, it seems to eliminate all
parts of JAI which use ParameterBlock

To follow...

--

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: can image aspect ratio

2009-12-02 Thread moissinac
The Overview about the Image service Resize says
You can resize the image while maintaining the same aspect ratio.

It seems that it's a feature not a bug!

--

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: can image aspect ratio

2009-12-02 Thread moissinac
I've plan for testing external library, but surely not before next
week.
You could try JAI, but I don't know if it is supported by GJava
(Google Java)

--

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: XSLT Version

2009-11-03 Thread moissinac

See
http://groups.google.com/group/google-appengine-java/browse_thread/thread/9c9fb88e1b175395/f8f9a9adcfeb044f?lnk=gstq=xslt#f8f9a9adcfeb044f

and you see that saxon works with App Engine
And Saxon support XSLT 2
So, with Saxon, App Engine supports XSLT 2

--~--~-~--~~~---~--~~
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] XSLT Version

2009-11-01 Thread moissinac

XSLT is supported, but which?
Is XSLT supported? Directly? With help of an external library?

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