wood burning stoves*
The moose likes HTML, CSS and JavaScript and the fly likes Learning AJAX from Servlet/JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Learning AJAX from Servlet/JSP" Watch "Learning AJAX from Servlet/JSP" New topic
Author

Learning AJAX from Servlet/JSP

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Hi Prabakhar,

I'm new to AJAX but have some experience in Java/JSP/Servlets. How good will this book suit me in getting to know about AJAX? How good after I study the book will I be able to practically use AJAX in my projects??

[Edit to provide meaningful topic]
[ April 03, 2007: Message edited by: David O'Meara ]

SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Prabhakar Chaganti
author
Ranch Hand

Joined: Nov 30, 2004
Posts: 50
This book introduces you to gwt, but assumes familiarity with Java, HTML and css.


Packt Author Page (http://www.packtpub.com/author_view_profile/id/120)
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

I copied the syntax from book details page..

Who this book is written for

Readers will need experience writing non-trivial applications using Java. Experience with developing web interfaces is useful, but knowledge of JavaScript and DHTML is not required� GWT takes care of that!


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2049
Anyone know any book for working with ajax, in a jsp/servlet system?

Some of my questions are:1) does the ajax call talk to the servlet exactly the same as the ordinary http call to the servlet, i.e., in the same session, with the same session context available to that servlet, etc.?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60802
    
  65

Originally posted by Jesus Angeles:
Anyone know any book for working with ajax, in a jsp/servlet system?


Next week's book promotion in this forum (this forum's been busy lately!) will be for Ajax in Practice which I co-authored. The backend components for most of the examples in the book is Java.

Some of my questions are:1) does the ajax call talk to the servlet exactly the same as the ordinary http call to the servlet, i.e., in the same session, with the same session context available to that servlet, etc.?


Yes. From the point of view of a serlvet or JSP, the request is the same as any other request. The browser takes care of setting all the appropriate headers just as if the request were initiated by a link or a form submisssion.

The difference comes in what your code does with those requests.
[ April 07, 2007: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2049
Thanks. I need that book.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60802
    
  65

Then be sure to participate in next week's discussion and you could win one!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Learning AJAX from Servlet/JSP
 
Similar Threads
Best book For Ajax using Java server side?
Good in java but not in javascript
head rush ajax - did this book mention how ajax work in java ?
Example for Ajax-JSP
Prototype and Scriptaculous