How do I use external library while developing applications on google app engine ? Suppose I have to use javax.mail library. Where do I keep the llibrary so that when I deploy the application on the server,I am able to use the relevant jars ?
How do I use external library while developing applications on google app engine ?
Share
This applies to servlets in general, not just Google App Engine. The one caveat you have to keep in mind is Google App Engine controls which version of JDK they use. This means if the library you’re using has any dependencies on 1.7 or relies on code deprecated in 1.5 or 1.6 then it won’t work.
There is a list of libraries tested on App Engine, as koma pointed out. It can be found here:
https://developers.google.com/appengine/docs/java/jrewhitelist
Since you’re using a library not on that list, you have no guarantee it will work on app engine. You’ll just have to give it a shot and see.