Ajax in Oracle JDeveloper (eBook)
XIV, 224 Seiten
Springer Berlin (Verlag)
978-3-540-77596-6 (ISBN)
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.
Preface 5
Motivation for this Book 5
Who Should Read this Book? 6
Outline to the Book Structure 7
Prerequisite Skills 8
Acknowledgements 8
About the Author 9
Contents 11
1 What is Ajax? 15
1.1 Introduction 15
1.2 What is XMLHttpRequest? 16
1.3 XMLHttpRequest Object Properties 16
1.4 XMLHttpRequest Object Methods 19
1.5 Sending an Ajax Request 21
1.6 Processing an Ajax Request 22
1.7 JDeveloper Integrated JavaScript Editor 24
1.8 Summary 31
2 Developing an Ajax Web Application 33
2.1 Introduction 33
2.2 Setting the Environment 33
2.3 Sending an Ajax Request 43
2.4 Processing an Ajax Request on the Server Side 45
2.5 Processing an Ajax Response 49
2.5 Summary 57
3 Less JavaScript with Prototype 59
3.1 Introduction 59
3.2 Overview of Prototype 59
3.3 Installing Prototype 64
3.4 Configuring Prototype in AJAX Web Application 65
3.5 Updating a DOM Element with Ajax.Updater 72
3.6 Summary 74
4 Ajax with Java-GWT 75
4.1 Introduction 75
4.2 Installing GWT 75
4.3 Creating a GWT Application 76
4.4 GWT Class Libraries 89
4.5 Creating a Form Validation Ajax Application 91
4.6 Summary 101
5 Ajax with Java-DWR 103
5.1 Introduction 103
5.2 Setting the Environment 103
5.3 Creating a DWR Application 104
5.4 Deploying and Running the DWR Application 117
5.5 Summary 120
6 Ajax without JavaScript – AjaxTags 121
6.1 Introduction 121
6.2 Setting the Environment 121
6.3 Overview of AjaxTags 125
6.4 Installing AjaxTags 127
6.5 Validating a Form with AjaxTags 128
6.6 Summary 142
7 Ajax with JSF-Ajax4jsf 143
7.1 Introduction 143
7.2 Overview of Ajax4jsf 143
7.3 Setting the Environment 146
7.4 Creating an Ajax4jsf Application 147
7.5 Sending an Ajax Request 159
7.6 Processing an Ajax Request 162
7.7 Processing the Ajax Response 168
7.8 Summary 172
8 Ajax with PHP-Xajax 173
8.1 Introduction 173
8.2 Setting the Environment 174
8.3 Integrating PHP with JDeveloper 175
8.4 Creating a Database Table 178
8.5 Sending an Ajax Request 181
8.6 Processing an Ajax Request 183
8.7 Processing the Ajax Response 186
8.8 Summary 193
9 RSS Feed with Ajax 195
9.1 Introduction 195
9.2 Overview of Google Ajax Feed API 196
9.3 Setting the Environment 198
9.5 Receiving Multiple Feeds 205
9.6 Summary 208
10 Web Search with Ajax 209
10.1 Introduction 209
10.2 Setting the Environment for Google Search 209
10.3 Overview of Google Ajax Search API 211
10.4 Creating a Google Ajax Web Search Application 213
10.5 Web Search with Yahoo Web Services 217
10.6 Creating an Ajax Web Search Application for Yahoo 219
10.7 Sending an Ajax Request with Yahoo Search Web Services 224
10.8 Running the Yahoo Ajax Web Search Application 231
10.9 Summary 233
Sources of Information 235
Index 237
Erscheint lt. Verlag | 14.3.2008 |
---|---|
Zusatzinfo | XIV, 224 p. |
Verlagsort | Berlin |
Sprache | englisch |
Themenwelt | Mathematik / Informatik ► Informatik ► Betriebssysteme / Server |
Mathematik / Informatik ► Informatik ► Datenbanken | |
Mathematik / Informatik ► Informatik ► Web / Internet | |
Schlagworte | 11g • AJAX • Browser • Eclipse • Framework • HTML • Java • JavaScript • JDeveloper • JSP • Oracle • Oracle JDeveloper • PHP • Processing • Prototype • Web Development • Web Search • XML • XMLHttpRequest |
ISBN-10 | 3-540-77596-X / 354077596X |
ISBN-13 | 978-3-540-77596-6 / 9783540775966 |
Haben Sie eine Frage zum Produkt? |
Größe: 22,3 MB
DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasserzeichen und ist damit für Sie personalisiert. Bei einer missbräuchlichen Weitergabe des eBooks an Dritte ist eine Rückverfolgung an die Quelle möglich.
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.
Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich