This topic describes how to use JDeveloper to create a simple Ask application. These applications are deployed on an Ask server, which enables messaging devices to interact with web applications. JDeveloper 10.1.3 does not provide design-time support for creating Ask applications. However, there are workaround solutions for the same.
Ask Server is a component that enables messaging devices to interact with web applications. It provides a way for users of messaging devices to ask for information, hence the name.
Ask Server Architecture
Oracle Application Server Wireless presents a framework and a runtime environment for developing wireless and voice applications accessed through a browser-based device such as a device with a WAP or XHTML browser, or through messaging-protocol-based devices such as mobile phones with SMS. Ask Server is the wireless component that enables the messaging protocol-based devices to access these wireless applications.
Conventionally, the entry point into an application server is through the HTTP protocol. This limits applications built on an application server to only clients with web capability. This server restriction is a problem for mobile market users, because the vast majority of mobile users does not have web access. These users, however, are almost certain to have some kind of message capability (such as e-mail or SMS). With the introduction of Ask Server, applications can also be accessed through messaging protocols other than HTTP, such as e-mail or SMS. The developers the build only the application logic, while Oracle Application Server Wireless establishes the proper connection, performs session management, and interprets user requests. An application is invoked the same way regardless of which protocol handles the incoming requests, offering complete transparency to application developers to allow access to their services.
Here's an example of how a device user can access a web application.
To access a Stock Quote application, a user having an SMS-enabled phone can do the following:
The server then processes the message and sends back the result with another message.
This topic takes you through the steps required to create a "Hello World" application from within JDeveloper. You need to perform the following tasks:
Create an application and project.
Create a JSF JSP file.
Create a Java Bean, to store the input name.
In the source editor for the HelloBean.java file, add the following code after the bean constructor:
public String getName()
public void setName(String name)
this.name = name;
private String name;
Create a managed bean inside the ADF Faces configuration.
Add ADF components to the JSF JSP file.
Test run the application.
Configure a Renderkit onto faces-config.xml.
Add the Ask render kit implementation as part of the library.
Create a deployment profile for the application.
Deploy the application.
You can now use this war file to deploy the application on the default OC4J server.
For information on how to deploy the Ask Server to non-Oracle application servers, please refer to How To Deploy Ask on Supported Application Servers