Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use Java scientific libraries in Google App Engine?

I am trying to make a web application to perform scientific and engineering calculations. I am new to web developing and I've been looking for a free framework (with free hosting), that's why I came to Google App Engine, but there is no way to get scipy working, so I decided to switch to Java instead of python (although I found PythonAnywhere and it has numpy, scipy, etcetera, it has no GUI-building support like PyQt, wx, Tkinter...).

I would like to know if there is a way to use COLT or so for Java in the Google App Engine, or if there is some other option. I would rather free options since I'm at college, but cheap-customizable-options are totally welcome :D (even if it means to use another language)

PD: I hope this was understandable since english is not my language.

EDIT: I TRIED to use apache commons math, and it seems like it's not going to work. The short answer to my question is: NO.

like image 734
Francisco Quintero Avatar asked Feb 12 '12 17:02

Francisco Quintero


People also ask

Does Google App Engine support Java?

App Engine offers you a choice between two environments for Java applications: standard environment and flexible environment.

Which version of Java does Google App Engine Support?

App Engine runs Java 11/17 apps in a container secured by gVisor on an up-to-date Ubuntu Linux distribution and its supported openjdk-11-jdk for Java 11 or openjdk-17-jdk for Java 17 runtime.

When Java programming for App Engine What preferred development kit?

A Java Development Kit (JDK) for your platform. App Engine supports both Java 5 or Java 6 however Java 6 is preferred.


2 Answers

  1. I believe GAE is severely limiting in what it will allow you to run.
  2. I doubt you will find a completely free Java hosting solution.
like image 176
Andrew Thompson Avatar answered Oct 10 '22 11:10

Andrew Thompson


To clarify the statements in other posts, GAE is incredibly limiting with respect to Python packages with C extensions. Anything pure Python will work fine. Scipy makes heavy use of C extensions, so it falls into this category.

Google recently introduced Python2.7 support, and with it, the ability to use NumPy on App Engine. I'm not sure if this covers your need, but it might be worth checking out.

I only develop with Python for Google App Engine, so I'm afraid I can't comment on the state of Java external dependencies.

like image 22
mvanveen Avatar answered Oct 10 '22 10:10

mvanveen