Best to use on app engine- Java or Python (newbie!!)

105 views
Skip to first unread message

Brian Williams

unread,
Oct 18, 2011, 2:13:44 PM10/18/11
to google-a...@googlegroups.com
Hi.
Have posted on here before  trying to get some one elses code working and have been unable to understand it completely. So am biting the bullet and considering creating program i require myself.
Question is which language to use. Bearing in mind I am new to both and going to start to work with Eclipse soon.

The job i need app engine to do is to receive information from a smart phone app (currently andriod built with app inventor) and email information to recipient securely then delete and stored information. I also need to create a database which the phone apps can query and update/ pull information from.

As the project feels like an evolving creature I hatched from an egg I want to understand everything it does as much as possible.

Has anyone out there got any good advice for me please?

Thank you.

Brian

Ikai Lan (Google)

unread,
Oct 18, 2011, 2:37:57 PM10/18/11
to google-a...@googlegroups.com
If you are new to both, Python is probably easier to learn. Java as a language is easy to learn, but many of the interfaces for IO, servlets, XML configs and libraries can be very newbie unfriendly.

What languages and frameworks do you have experience in? That'd be a much better starting point for us to make a recommendation.

--
Ikai Lan 
Developer Programs Engineer, Google App Engine



--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/Lnc2-bxRT90J.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Brian Williams

unread,
Oct 18, 2011, 3:03:34 PM10/18/11
to google-a...@googlegroups.com
In reality none. My background is Marine and electrical engineering. But reading the principles of python and java all makes sense to me.

Greg

unread,
Oct 18, 2011, 5:18:16 PM10/18/11
to Google App Engine
I'm sure java developers will disagree, but having used both I find
python simpler and more pleasurable.

Another factor is performance. I'm not sure if anyone has done side-by-
side tests, but my impression from the mailing lists is that python
runs faster on Appengine. If this is a big consideration, you should
probably also look at the Go option.

Cheers
Greg.

Brandon Wirtz

unread,
Oct 18, 2011, 6:26:31 PM10/18/11
to google-a...@googlegroups.com

If you have never done coding before, I would vote for python.

 

For me atleast the Elcipse IDE is a Pain in the butt.  Python, I edit little files in Notepad++ and run AppCFG.Py and my app does it’s thing.

 

With Eclipse it is constantly complaining that a file got update, or I didn’t put a library somewhere, and the dumb thing constantly wants to update itself to versions that aren’t compatible with GAE. 

 

But I like MS-DOS, and Notepad++ which may not make me a typical user.

 

-Brandon

--

Tapir

unread,
Oct 18, 2011, 8:29:31 PM10/18/11
to Google App Engine
I'm using java, but I prefer to python now, for the "Warmup Requests"
problem is less serious for python apps.

On Oct 19, 2:13 am, Brian Williams <tribblehunter2...@gmail.com>
wrote:

Brian Williams

unread,
Oct 19, 2011, 3:45:33 PM10/19/11
to google-a...@googlegroups.com
Looks like python wins then. Lol. Thanks for the advice.
All I am trying to do at present is use app engine to secure email from android app and leave no record of the data on the web. Bypassing phone email client.

voscausa

unread,
Oct 19, 2011, 4:33:47 PM10/19/11
to google-a...@googlegroups.com
I don't understand Brandons comment on Eclipse. I use it without the troubles he mentiones above. 
But I have Pydev (for Eclipse) installed in Eclipse. This works excellent.

With Pydev you can create GAE projects on the fly and deploy them in the SDK or appspot.
With Pydev your first "Hello World" can run with a few clicks. When you create a new Pydev GAE project in Eclipse, it will create the app.yaml and the helloworld.py for you. And with another click (right click your project src and select Pydev: Google App run) your first Hello World will run in the SDK. Messages will show up in the Eclipse console.

Besides Python, Eclipse and Pydev you only need the SDK. There is no need for the Google Plugin for Eclipse. You need this Plugin if you use Java or Java with GWT. 

I'am not a Notepad code purist. I'am not skilled enough, maybe already to old (almost 60) and still make a lot of clumsy mistakes. I started a year ago with Python after trying Java. The toolsets I use helped me understand the language and the API's. I also installed the Eclipse HTML and javascript toolset. For CSS  I use  stylizer (another excellent WYSIWYG tool).
And the result : GAE Python is an excellent platform, without all the hassle. I don't "understand" why a lot of people still run there own server.

Brandon Wirtz

unread,
Oct 19, 2011, 5:46:27 PM10/19/11
to google-a...@googlegroups.com

I was speaking to Java with Eclipse, not Python. 

 

But I dislike IDE’s in general because I don’t work in a team environment most days,

--

You received this message because you are subscribed to the Google Groups "Google App Engine" group.

To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/WE9NsHZuo4cJ.

Gerald Tan

unread,
Oct 19, 2011, 11:38:09 PM10/19/11
to google-a...@googlegroups.com
If you find that GWT will be a good solution for your use-case, that would be reason to use Java.

Brian Williams

unread,
Oct 20, 2011, 2:20:12 PM10/20/11
to google-a...@googlegroups.com
Bit of an off topic question for you Ikai but you might be able to save me a lot of time here. I have an email program which an andriod app built in app inventor sends to and is then sent on to recipient. the app engine stores logs of the information sent. is there any way of removing this? or at least removing the logging of the data sent. Hope you can assist me here. Thanks

Kanwar B

unread,
Oct 20, 2011, 3:37:14 PM10/20/11
to Google App Engine
"Eclipse + Google Plugin" is the easiest way to make an App on Google
Appengine.
(Google plugin is easy to install with update site option in eclipse)
You can try it by creating a new web application project(gwt) and
deploy on some sample app in GAE.

Java has nice community :P
Reply all
Reply to author
Forward
0 new messages