You can't feed the servlet to appengine-magic, and you can't serve
that servlet with appengine-magic.core/serve, you can only serve an
appengine-magic app (created from a ring handler). I was talking
about deployment to app engine. If you have a Java servlet, why not
just run it in a Tomcat insta
Yes, I tried that but did not work. appengine-magic/serve expects an
"appengine-application", which is a map that among others contains the
ring handler. The serve function turns this handler into a servlet and
maps it to the root path "/" (or "/*", I haven't figured that out
yet). Whatever i write
I'm still having trouble figuring out what it is you are wanting to
do, but if you have an existing Java servlet that will handle some url
pattern, and you want to write an appengine-magic app that will create
a servlet to handle some other url pattern, and use both servlets in
one app engine app,
The servlet is coming from an external jar, which is written in Java.
I need appengine-magic for the other services, like datastore.
Razvan
On Nov 6, 7:45 pm, Mark Rathwell wrote:
> I'm still not quite following. What appengine-magic does is provides
> Clojure wrappers for many of the App Engin
I'm still not quite following. What appengine-magic does is provides
Clojure wrappers for many of the App Engine for Java service APIs, and
from a ring handler creates a servlet suitable for deployment to App
Engine. If you already have the servlet, I'm not sure why you need
appengine-magic. Whe
I want integration of servlet in appengine-magic.
Documentation describes that you use a ring handler to call def-
appengine-app:
(appengine-magic.core/def-appengine-app my-app #'my-ring-handler)
I have a servlet and want to build an application, something like:
(appengine-magic.core/def-appeng
> I'm not using
> ring, I have a servlet which I need to feed to appengine-magic.
Not sure what you mean by this, could you expand on it a little more?
You have an existing Java servlet that you want to handle some url
pattern, and you want to integrate that into your appengine-magic app?
On Sun,
Hi,
appengine-magic (https://github.com/gcv/appengine-magic) uses ring-
handlers to turn into servlets that are accepted by GAE. Does anybody
know how to use servlets directly with appengine-magic? I'm not using
ring, I have a servlet which I need to feed to appengine-magic.
Thanks,
Razvan
--
Y