[appengine-java] Why use servlets?

2011-07-11 Thread Jack Borgin
I'm brand new to GAE, but I'm impressed.  I think it can provide all my 
needs, well done Google!  However, I'm fairly new to Java and i'm failing to 
see why I should use servlets when I can achieve the same thing with JSPs. 
 Am I missing something here?  What is the point in the servlets if JSPs can 
do everything the servlets can?

Also, does anyone know how to transfer an application ID from one Google 
account to another?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/NGW8j6CzYN4J.
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 at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Why use servlets?

2011-07-11 Thread David Chandler
Hi Jack,

You can use both servlets and JSPs with App Engine.

To transfer an app id, just add the new owner as an Owner under
Application Settings in the admin console, then remove the previous owner.

/dmc

On Sat, Jul 9, 2011 at 11:28 AM, Jack Borgin jalm...@gmail.com wrote:

 I'm brand new to GAE, but I'm impressed.  I think it can provide all my
 needs, well done Google!  However, I'm fairly new to Java and i'm failing to
 see why I should use servlets when I can achieve the same thing with JSPs.
  Am I missing something here?  What is the point in the servlets if JSPs can
 do everything the servlets can?

 Also, does anyone know how to transfer an application ID from one Google
 account to another?

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine for Java group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine-java/-/NGW8j6CzYN4J.
 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 at
 http://groups.google.com/group/google-appengine-java?hl=en.




-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

-- 
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 at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Why use servlets?

2011-07-11 Thread Stephen Johnson
JSP's get converted to servlets before execution, so when your using JSP's
you're using servlets. Many people, myself included, use servlets for the
business logic and use JSP's for the presentation (generating the html). So,
in my servlets and filters I'll determine if the user is logged in, has
permissions to view whatever page they are attempting to view, query the
datastore or memcache for what the data they want to view, etc. Then, I'll
forward the data to the JSP page to generate the HTML view. There's nothing
that stops you from using JSPs for everything, but most programmers prefer
doing the heavy coding stuff in servlets and use the JSP for what they do
best which is generating HTML.

Stephen

On Mon, Jul 11, 2011 at 9:11 AM, David Chandler drfibona...@google.comwrote:

 Hi Jack,

 You can use both servlets and JSPs with App Engine.

 To transfer an app id, just add the new owner as an Owner under
 Application Settings in the admin console, then remove the previous owner.

 /dmc


 On Sat, Jul 9, 2011 at 11:28 AM, Jack Borgin jalm...@gmail.com wrote:

 I'm brand new to GAE, but I'm impressed.  I think it can provide all my
 needs, well done Google!  However, I'm fairly new to Java and i'm failing to
 see why I should use servlets when I can achieve the same thing with JSPs.
  Am I missing something here?  What is the point in the servlets if JSPs can
 do everything the servlets can?

 Also, does anyone know how to transfer an application ID from one Google
 account to another?

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine for Java group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine-java/-/NGW8j6CzYN4J.
 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 at
 http://groups.google.com/group/google-appengine-java?hl=en.




 --
 David Chandler
 Developer Programs Engineer, GWT+GAE
 w: http://code.google.com/
 b: http://turbomanage.wordpress.com/
 b: http://googlewebtoolkit.blogspot.com/
 t: @googledevtools

  --
 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 at
 http://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-java@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.