* When a user requests a JSF page, the request goes to Faces Servlet.
* Faces Servlet is the controller which examines the user requests and calls various actions on the model.
*JSF user interface component represent the view layer.
Wednesday, June 4, 2008
JSF Application
Any JSF application includes the followinf pieces,
* Set of JSPs for presentation
* Java Beans
* Application configuration file whch defines navigation rules,configures beans and other custom objects.
* Web.xml
* Set of custom objects created by the developers.
* Custom tags needed for reperesenting custom objects.
* Set of JSPs for presentation
* Java Beans
* Application configuration file whch defines navigation rules,configures beans and other custom objects.
* Web.xml
* Set of custom objects created by the developers.
* Custom tags needed for reperesenting custom objects.
Thursday, May 1, 2008
JAVAServer Faces Technology
Javaserver faces technology is a server side user interface component framework for java based web applications.
The well defined programming model and tag libraries significantly ease the burden of developing and maintaining web applications with server UIs.
One of the greatest advantage of JSF is , it provides complete separation between behavior and presentation just like client side UI architecture.
The well defined programming model and tag libraries significantly ease the burden of developing and maintaining web applications with server UIs.
One of the greatest advantage of JSF is , it provides complete separation between behavior and presentation just like client side UI architecture.
Introduction on AJAX Technology: Asynchronous JavaScript and XML
AJAX is not a new programming language, but a technology for creating better, faster, and more interactive web applications.
With AJAX, your JavaScript can communicate directly with the server, using the JavaScript XMLHttpRequest object. With this object, your JavaScript can trade data with a web server, without reloading the page.
AJAX uses asynchronous data transfer (HTTP requests) between the browser and the web server, allowing web pages to request small bits of information from the server instead of whole pages.
This is an excellent article on AJAX.
http://java.sun.com/developer/technicalArticles/J2EE/AJAX/
With AJAX, your JavaScript can communicate directly with the server, using the JavaScript XMLHttpRequest object. With this object, your JavaScript can trade data with a web server, without reloading the page.
AJAX uses asynchronous data transfer (HTTP requests) between the browser and the web server, allowing web pages to request small bits of information from the server instead of whole pages.
This is an excellent article on AJAX.
http://java.sun.com/developer/technicalArticles/J2EE/AJAX/
Tuesday, April 22, 2008
Command to generate client classes for wsdl using axis
Use the following task to generate the client class for the given WSDL using appache axis tool,
macro.java classname="org.apache.axis.wsdl.WSDL2Java" args="specify the wsdlname with absolute path --output specify the location where the client class shld get generated"
Out of memory error while generating client classes using WSDL
To handle this error we can generate the classed by directly using clientgen program by passing the memory limits.
Here's the command that could be used,
C:\bea\weblogic81\server\bin>java -Xms128m -Xmx1024m -Dweblogic.xml.schema.binding.verbose=true weblogic.webservice.clientgen -wsdl http://113.130.235.213:7741/webservice/SentinelWS?WSDL -packageName com.verizon.enterprise.eBosi.BOSIRepair.CMIS -clientJar CmWSClient.jar
Here's the command that could be used,
C:\bea\weblogic81\server\bin>java -Xms128m -Xmx1024m -Dweblogic.xml.schema.binding.verbose=true weblogic.webservice.clientgen -wsdl http://113.130.235.213:7741/webservice/SentinelWS?WSDL -packageName com.verizon.enterprise.eBosi.BOSIRepair.CMIS -clientJar CmWSClient.jar
Issues with Serialized object in webservice
Since objects communicating in webservice are serialized, any changes to the webservice would affect client application.
Esp when fields or methods are removed, then the object can't be deserialized in the client application.
Addition of fields/methods would not cause any issue during deserialization.
Esp when fields or methods are removed, then the object can't be deserialized in the client application.
Addition of fields/methods would not cause any issue during deserialization.
Subscribe to:
Posts (Atom)
