Ask questions via twitter! Message any question to @answers on twitter. We'll publish the question and send you a reply each time there's a new answer.
Next Question

Answered Question

 
January 05, 2009 11:32 PM

Will Google App Engine Support Java? Can it?

Google App Engine lets you program in any language you like, as long as it is Python. Does anyone know if it will support Java, or if it can support Java?
Interesting Question?  (0)   (0)   
RSS
 
 

Best Answer  Chosen by Asker

 
January 06, 2009 06:20 PM
When I was at Google Developer Day London 2008 a few months back, the guys from the AppEngine team were willing to admit that they will be introducing support for another language, but refused point blank to be drawn in any way on what it will be. So the answer to the "Will..." part of your question is "Only Google know, and they're not telling."

As to the "Can it?" part - well, it's not technically impossible to do. Mano Marks mentioned that within Google the big three languages are C++, Java and Python, so they presumably know how to get Java on there.

Mano gave the same presentation twice that day; the one released on video via the link below isn't the one I attended, and doesn't have the mention of the plan for some unspecified other language. However, around the 1:03:00 mark is the time when he specifically mentions Java, and suggests submitting a feature request as a way to influence their future plans.
Source(s):
http://sites.google.com/site/developerdaylondon/google-developer-day-uk/a-d...

Asker's Rating:


Helpful Answer?  (0)   (0)    Tip nickfitz for this answer
Permalink | Report
   Reply  
 
 

Other Answers (3)

Sort By
 
January 06, 2009 02:02 AM
http://java.dzone.com/news/will-google-app-engine-ever-su

Helpful Answer?  (0)   (0)    Tip pvera for this answer
Permalink | Report
   Reply  
 
 
 
January 06, 2009 02:20 AM
The memory argument that is given in that article is misleading. It is silly to suggest that Google would have to run one JVM for every app engine account (which is where most of the memory utilisation goes. It's not like objects and primitives in Java are significantly bigger memory-wise than in comparable languages).

Additionally, I don't see the point of the JAR argument. Surely you don't have to support every third party library in existance? You don't even have to support *any*. Just let the users upload whatever external libraries they want in JAR form.

Report
 
 
 
January 06, 2009 04:41 AM
Did you already code the application in Java? You will be better off using Python anyway. Its much more straightforward which means development will be faster and maintenance easier. This is probably why Google is not in a hurry to add Java support.

Here's an example. First, the Python code:

class Employee():

def __init__(self,
employeeName, taxDeductions=1, maritalStatus="single"):

self.employeeName = employeeName
self.taxDeductions = taxDeductions
self.maritalStatus = maritalStatus


Now the equivalent Java code:

public class Employee
{
private String myEmployeeName;
private int myTaxDeductions = 1;
private String myMaritalStatus = "single";

//--------- constructor #1 -------------
public Employee(String EmployeName)
{
this(employeeName, 1);
}

//--------- constructor #2 -------------
public Employee(String EmployeName, int taxDeductions)
{
this(employeeName, taxDeductions, "single");
}

//--------- constructor #3 -------------
public Employee(String EmployeName,
int taxDeductions,
String maritalStatus)
{
this.employeeName = employeeName;
this.taxDeductions = taxDeductions;
this.maritalStatus = maritalStatus;
}
Source(s):
23 years programming experience including Java and Python.
Also http://www.ferg.org/projects/python_java_side-by-side.html


Helpful Answer?  (0)   (0)    Tip ilaksh for this answer
Permalink | Report
   Reply  
 
 
 
January 06, 2009 10:21 AM
Yes, programmed in Java. Not sure if this would work with Jython.

Report
 
 
 
January 06, 2009 08:36 PM
I really don't think AppEngine supports Jython either because Jython is really Java bytecode. Did you read somewhere that it supported Jython? If not, it doesn't.

Report
 
 
 
June 28, 2009 06:09 PM
Ha, well it does now! All smiles :)

Helpful Answer?  (0)   (0)    Tip pythoughts for this answer
Permalink | Report
   Reply  
 
 

Answer this Question

How tips and payments work

This question has already been resolved. You may add an answer to it but you will not be eligible to win best answer or any associated tips.

Ask a Question


140 characters left
Top of Page
Buy Mahalo Dollars with Credit Card or PayPal

Top Members

This Week All Time
  • bestpay
    bestpay
    Purple Belt with a Brown Tip
    6758 Points
    M$78.25 Earned
  • krysstel
    krysstel
    Purple Belt
    2378 Points
    M$12.50 Earned
   See All
 

Most Popular Tags

 

Categories