SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 35 | Next

Deepak Vohra

"Ajax in Oracle JDeveloper"

To the
web.xml configuration file we need to add the following
element.

jdbc/AjaxConnectionDS
javax.sql.DataSource
Container

Select File>Save All to save the Ajax project. The
C:\JDeveloper\mywork\AjaxApp\AjaxApp-data-sources.xml file should
have a managed data source configured with JNDI
jdbc/AjaxConnectionDS. A managed-data-source element gets
added to the data sources file by default when the JDBC connection is
configured in Databases window. A managed data source may also be
configured declaratively in the AjaxApp-data-sources.xml by adding the
following connection pool and managed data source definitions to the
AjaxApp-data-sources.xml file.
false???>oracle.jdbc.pool.OracleDataSource??? user=???OE???
password=???->jdbc:oracle:thin:@localhost:1521:ORCL_OE???
url=???jdbc:oracle:thin:@localhost:1521:ORCL???/>
2.3 Sending an Ajax Request 29
name=???AjaxDataSource??? connection-poolname=???
AjaxConnectionPool??? jndiname=???
jdbc/AjaxConnectionDS??? user=???OE??? password=???-
>AjaxConnectionPool_OE??? tx-level=???global???/>
2.3 Sending an Ajax Request
In this chapter, we shall create an Ajax web application that validates data
input in a HTML form.


Pages:
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47