[appengine-java] Re: Python and Java

2010-09-28 Thread joradom
ok, thx

my confusion was because when the java runtime was launched, you have
to request a java appengine account.  I also can see the runtime
clause in app.yaml, but did not found something similar in  appengine-
web.xml or web.xml.

definitely I prefer python for web developing.

thanks again for your patience.

On 27 sep, 15:36, Jagan ksja...@gmail.com wrote:
 Hi joradom

 There is just one GAE cloud. There is nothing like 'Java' cloud or
 'Python' cloud.

 Only the runtimes are 2 currently. (Java and Python) And more runtimes
 might come in future.

 You can deploy multiple versions of your app in the GAE cloud. Each
 version can be on one (and just one) supported runtime (Currently Java
 or Python).

 So you could deploy a Java version of your app over a app that was
 initially deployed on Python, or deploy a Python version of the app
 over a app that was initially deployed in Java. You can make both
 version co-exist only if their versions are different. Or else the
 latest deployment would overwrite the other.

 Thanks
 Jagan

 On Sep 26, 9:52 pm, joradom jora...@gmail.com wrote:

  ok, I uderstand that :)

  BTW, I tested creating a simple hello world pythn app, and update it
  to my java cloud, and it works.

  Then, if I understand fully, you can run either python or java apps in
  java cloud, but only pythons apps in a python cloud? or hv to request
  to update a python cloud to run java?

  On 26 sep, 17:23, John Patterson jdpatter...@gmail.com wrote:

   Different versions are completely separate code bases that share a  
   common datastore and other API services.  One version could be written  
   in Java and another in Python but only one can be the default  
   version at a time (receiving traffic from your domain name).  The  
   other versions are accessible only from the appspot.com domain.

   On 26 Sep 2010, at 20:48, joradom wrote:

hello

I found this in the FAQ:
   http://code.google.com/intl/en/appengine/kb/java.html#pythonandjava

Can I run Java and Python code in the same app?

Yes, each version of the app must specify a runtime language and it is
possible to have version x of your app running Java, while version y
is running Python. It would also be possible to use Jython.

But I'm not sure to understand it...

Can I just create a python app and upload it to a java gae cloudr? or
is there some more magidc not documented in the faq?

thx

--
You received this message because you are subscribed to the Google  
Groups Google App Engine for Java group.
To post to this group, send email to 
google-appengine-java@googlegroups.com
.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
.
For more options, visit this group 
athttp://groups.google.com/group/google-appengine-java?hl=en
.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Python and Java

2010-09-26 Thread joradom
hello

I found this in the FAQ:
http://code.google.com/intl/en/appengine/kb/java.html#pythonandjava

Can I run Java and Python code in the same app?

Yes, each version of the app must specify a runtime language and it is
possible to have version x of your app running Java, while version y
is running Python. It would also be possible to use Jython.

But I'm not sure to understand it...

Can I just create a python app and upload it to a java gae cloudr? or
is there some more magidc not documented in the faq?

thx

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: very stupid question....

2010-04-29 Thread joradom
thx a lot

I'm just trying to learn too much things at the same time, and some
basic pitfalls are bothering me more than they should.


On 28 abr, 22:05, Ikai L (Google) ika...@google.com wrote:
 Here's a quick link about Java package naming:

 http://java.sun.com/docs/books/jls/second_edition/html/packages.doc.html

 You shouldn't use dashes or camelCase. Note that this isn't a domain - it's
 a package hierarchy.

 From the link:

 The name of a package is not meant to imply where the package is stored
 within the Internet; for example, a package named edu.cmu.cs.bovik.cheese is
 not necessarily obtainable from Internet address cmu.edu or fromcs.cmu.edu or
 from bovik.cs.cmu.edu. The suggested convention for generating unique
 package names is merely a way to piggyback a package naming convention on
 top of an existing, widely known unique name registry instead of having to
 create a separate registry for package names.



 On Wed, Apr 28, 2010 at 12:04 PM, joradom jora...@gmail.com wrote:
  it's a common way to name the packages after the domain:
  ie: com.google.samples 

  but if you have a '-' in the domain name, it is not allowed
  ie: my-domain.com

  can't use: com.my-domain.samples

  is there a way to espcape this? or a prefered way to name the package?

  com.my_domain.samples? com.myDomain.samples?

  i know it's a very stupid question :) but i hope to get a clever
  answer.

  thx

  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine for Java group.
  To post to this group, send email to
  google-appengine-j...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.

 --
 Ikai Lan
 Developer Relations, Google App Engine
 Twitter:http://twitter.com/ikai
 Delicious:http://delicious.com/ikailan

 
 Google App Engine links:
 Blog:http://googleappengine.blogspot.com
 Twitter:http://twitter.com/app_engine
 Reddit:http://www.reddit.com/r/appengine

 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine for Java group.
 To post to this group, send email to google-appengine-j...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Any further Tutorials? Basic questions

2010-04-29 Thread joradom
I guess you have to use cron for this kind of jobs...

On 28 abr, 15:08, Christian christian.g.1...@googlemail.com wrote:
 Hello,

 i am a quite expierenced programmer in java, but i am totally new to
 web apps, especially gae.

 I have worked through the guestbook tutorial, but now i still cant
 start to program any comprehensive app.

 Are there any more how-to oder tutorials where i can learn more about
 fundamental functionalities?

 Just some questions that come to my mind: How can users interact
 through an app with each other (e.g. chatting like in good ol' IRC)?
 Is there a way to do something like an Java Applet (so more graphics)
 wich works on the underlying datastore and user authentication? Is it
 possible to have the app do something on its own (e.g. write a email
 to all registred users every monday)?

 I am new to this and want to get more into it. But how?

 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine for Java group.
 To post to this group, send email to google-appengine-j...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Issue with google plugin for eclipse

2010-04-08 Thread joradom
I created a web application project, without web toolkit sdk (just gae
sdk), thx for the thread, I'll try it.

On 6 abr, 19:00, Ikai L (Google) ika...@google.com wrote:
 What kind of project have you created? This looks like the issue filed here:

 http://code.google.com/p/googleappengine/issues/detail?id=2306

 http://code.google.com/p/googleappengine/issues/detail?id=2306You'll have
 to provide more detail, though. How are you creating the project?



 On Tue, Apr 6, 2010 at 5:31 AM, joradom jora...@gmail.com wrote:
  The plugin doesn't allow me to create a new Servlet, when calling the
  create servlet wizard the project field appears greyed and empty.

  I can create a class, or any file, but of course, much more things to
  write are needed.

  just curious to know if it's a normal behaviour or some bug?

  I'm using Ubuntu karmic and eclipse  ganimedes for java EE, with
  latests google  plugin and sdks (just made a fresh install 3 days
  ago.)

  thx

  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine for Java group.
  To post to this group, send email to
  google-appengine-j...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.

 --
 Ikai Lan
 Developer Programs Engineer, Google App 
 Enginehttp://googleappengine.blogspot.com|http://twitter.com/app_engine

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Issue with google plugin for eclipse

2010-04-06 Thread joradom
The plugin doesn't allow me to create a new Servlet, when calling the
create servlet wizard the project field appears greyed and empty.

I can create a class, or any file, but of course, much more things to
write are needed.

just curious to know if it's a normal behaviour or some bug?

I'm using Ubuntu karmic and eclipse  ganimedes for java EE, with
latests google  plugin and sdks (just made a fresh install 3 days
ago.)

thx

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Adding more than one servlet

2010-04-05 Thread joradom
Hello

I'm trying to add another Servlet in eclipse with the wizard , but it
doen't get the name of the project, and th project name field appears
grayed.

I'm using Eclipse Ganimedes for Java EE, with the google plugin for
eclipse 3.5, app sdk 1.3.2 and gwt sdk 2.0.3

I can add a new class, but then to write all the code...

Please, something I should know?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.