E-Book, Englisch, 224 Seiten
Vohra Ajax in Oracle JDeveloper
1. Auflage 2008
ISBN: 978-3-540-77596-6
Verlag: Springer Berlin Heidelberg
Format: PDF
Kopierschutz: 1 - PDF Watermark
E-Book, Englisch, 224 Seiten
ISBN: 978-3-540-77596-6
Verlag: Springer Berlin Heidelberg
Format: PDF
Kopierschutz: 1 - PDF Watermark
Asynchronous JavaScript and XML (Ajax) is a web technique used to transfer data between a browser and server asynchronously without posting the web page to the server. 'Asynchronously' implies that the processing of the web page continues while the Ajax request is sent to the server and a response is received from the server. The web page, or section(s) of the web page, is refreshed with the Ajax response without reposting the web page. Ajax has the following advantages over non-Ajax web applications. - Reduced response time and reduced server load, as the complete web page is not reposted. - Reduced bandwidth of web applications as only data is transferred and the HTML format is applied in the browser. - Separation of data, format and style. The book covers web search and RSS Feed with Ajax as well as form validation with Ajax frameworks for Java, JSP, JSF, and PHP. It discusses using Ajax in Oracle JDeveloper and is IDE based. JDeveloper has the following advantages over Eclipse IDE. - JDeveloper 11g provides an integrated JavaScript Editor for Ajax/Web development. - It also provides a PHP extension. - JDeveloper has a built-in support for JSF and for JDBC.
Autoren/Hrsg.
Weitere Infos & Material
1;Preface;5
1.1;Motivation for this Book;5
1.2;Who Should Read this Book?;6
1.3;Outline to the Book Structure;7
1.4;Prerequisite Skills;8
1.5;Acknowledgements;8
1.6;About the Author;9
2;Contents;11
3;1 What is Ajax?;15
3.1;1.1 Introduction;15
3.2;1.2 What is XMLHttpRequest?;16
3.3;1.3 XMLHttpRequest Object Properties;16
3.4;1.4 XMLHttpRequest Object Methods;19
3.5;1.5 Sending an Ajax Request;21
3.6;1.6 Processing an Ajax Request;22
3.7;1.7 JDeveloper Integrated JavaScript Editor;24
3.8;1.8 Summary;31
4;2 Developing an Ajax Web Application;33
4.1;2.1 Introduction;33
4.2;2.2 Setting the Environment;33
4.3;2.3 Sending an Ajax Request;43
4.4;2.4 Processing an Ajax Request on the Server Side;45
4.5;2.5 Processing an Ajax Response;49
4.6;2.5 Summary;57
5;3 Less JavaScript with Prototype;59
5.1;3.1 Introduction;59
5.2;3.2 Overview of Prototype;59
5.3;3.3 Installing Prototype;64
5.4;3.4 Configuring Prototype in AJAX Web Application;65
5.5;3.5 Updating a DOM Element with Ajax.Updater;72
5.6;3.6 Summary;74
6;4 Ajax with Java-GWT;75
6.1;4.1 Introduction;75
6.2;4.2 Installing GWT;75
6.3;4.3 Creating a GWT Application;76
6.4;4.4 GWT Class Libraries;89
6.5;4.5 Creating a Form Validation Ajax Application;91
6.6;4.6 Summary;101
7;5 Ajax with Java-DWR;103
7.1;5.1 Introduction;103
7.2;5.2 Setting the Environment;103
7.3;5.3 Creating a DWR Application;104
7.4;5.4 Deploying and Running the DWR Application;117
7.5;5.5 Summary;120
8;6 Ajax without JavaScript – AjaxTags;121
8.1;6.1 Introduction;121
8.2;6.2 Setting the Environment;121
8.3;6.3 Overview of AjaxTags;125
8.4;6.4 Installing AjaxTags;127
8.5;6.5 Validating a Form with AjaxTags;128
8.6;6.6 Summary;142
9;7 Ajax with JSF-Ajax4jsf;143
9.1;7.1 Introduction;143
9.2;7.2 Overview of Ajax4jsf;143
9.3;7.3 Setting the Environment;146
9.4;7.4 Creating an Ajax4jsf Application;147
9.5;7.5 Sending an Ajax Request;159
9.6;7.6 Processing an Ajax Request;162
9.7;7.7 Processing the Ajax Response;168
9.8;7.8 Summary;172
10;8 Ajax with PHP-Xajax;173
10.1;8.1 Introduction;173
10.2;8.2 Setting the Environment;174
10.3;8.3 Integrating PHP with JDeveloper;175
10.4;8.4 Creating a Database Table;178
10.5;8.5 Sending an Ajax Request;181
10.6;8.6 Processing an Ajax Request;183
10.7;8.7 Processing the Ajax Response;186
10.8;8.8 Summary;193
11;9 RSS Feed with Ajax;195
11.1;9.1 Introduction;195
11.2;9.2 Overview of Google Ajax Feed API;196
11.3;9.3 Setting the Environment;198
11.4;9.5 Receiving Multiple Feeds;205
11.5;9.6 Summary;208
12;10 Web Search with Ajax;209
12.1;10.1 Introduction;209
12.2;10.2 Setting the Environment for Google Search;209
12.3;10.3 Overview of Google Ajax Search API;211
12.4;10.4 Creating a Google Ajax Web Search Application;213
12.5;10.5 Web Search with Yahoo Web Services;217
12.6;10.6 Creating an Ajax Web Search Application for Yahoo;219
12.7;10.7 Sending an Ajax Request with Yahoo Search Web Services;224
12.8;10.8 Running the Yahoo Ajax Web Search Application;231
12.9;10.9 Summary;233
13;Sources of Information;235
14;Index;237




