Ajax DWR dojo In WebSphere Portal
|
|
- Ralf Bradley
- 6 years ago
- Views:
Transcription
1 Ajax DWR dojo In WebSphere Portal 1 / 24
2 Review History Version Date Author Change Description 1.0a 10-Feb-09 Imtiaz B Syed New Document Feb-09 Chaitanya P Paidipalli Review 2 / 24
3 Introduction This document explains the process of integrating AJAX, DWR and dojo with Portlets in order to provide rich user interface. This document covers the basics of the tools mentioned above. For more details regarding the above tools please study more about web2.0. What ever this document covers is only to provide startup to the portlet developers who want to work with AJAX calls where they can come to an understanding in developing portlets which supports rich user interface. Prerequisite: Assuming that who ever doing this exercise is aware of basic Portlet Project development, deployment and testing. Software/tools Requirements 1. Rational Application Developer IBM WebSphere Portal Server dojo tool kit dwr.jar (1.1v) Sample Scenario Let s create a simple empty portlet and add a JSP where it tries to make AJAX calls. Once we finish working with AJAX, we will try to add DWR and later we try to add dojo to the same portlet. AJAX in Portlets Making a request with Ajax: There are a number of steps to make the request after the XMLHttpRequest object is created: 1. Get the data from the Web form. 2. Build the connection URL. 3. Create a function for the server to run when done. 4. Send request. Handling the response: 1. The server s response must also be handled. 2. Handle only the response when communication is complete. a. xmlhttp.readystate property equals Server stuffs the response in the xmlhttp.responsetext/xmlhttp.responsexml property. 3 / 24
4 Issues in implementing Ajax in Portal: 1. Because of the unique way that Portal aggregates page content, there are some best practices to avoid complications: Avoid global variables in JavaScript in a portal application. Create namespace for global JavaScript attributes to guarantee unique variable names. Make sure that ID attributes in HTML are unique. Ajax activities must be restartable with no dependencies on state. 2. Servlets and portlets can share session data. To access portlet variables from the servlet, use a namespaced name value based on the portlet ID. This is set when the portlet is originally deployed to the portal. Do not store action URLs in the shared session. Ajax makes dealing with these Action URLs challenging. 3. Ajax does not trigger the browser activity image. Provide a visual notification to indicate activity otherwise. Implementation Open your RAD7.0 if it is not opened and follow the below steps to implement AJAX in portlets. 4 / 24
5 1. Create a new PortletProject from menu File New Project which opens a New Project wizard as shown below 2. Select PortletProject from the wizard and Click Next. In next screen of the wizard provide the Project name as AjaxDWRdojoDemo and select portlet type as empty as 5 / 24
6 shown below and click Next. 3. Provide the package com.ibm.ajaxdemo and leave the remaining unchanged as shown below in next screen and click Finish. If RAD is not in web perspective then it 6 / 24
7 will ask for confirmation to change the perspective. Click Yes button to do so. 4. Navigate to the package com.ibm.ajaxdemo and open the portlet source file named as AjaxDWRdojoDemoPortlet.java and add the code given below: Let s not include action phase in this example. So, simply invoke a JSP resource which gets displayed in VIEW mode. a. PortletRequestDispatcher prd = getportletcontext().getrequestdispatcher("/demoview.jsp"); prd.include(request,response); b. Save the file. 5. Right click on WebContent folder of the project and select options New WebPage. Provide the resource name as demoview.jsp in the wizard as shown below and click Finish. 7 / 24
8 6. Open demoview.jsp if its not open and replace the default code with the following code given below: language="java" contenttype="text/html; charset=iso " pageencoding="iso " session="false"%> uri=" prefix="portlet"%> <portlet:defineobjects /> <head> <title>simple XMLHttpRequest</title> <script type="text/javascript"> var xmlhttpxml; var xmlhttptext; //var xmldoc; var encodenamespace; var url; function startrequest() createxmlhttprequest(); xmlhttpxml.onreadystatechange = handlestatechangexml; xmlhttptext.onreadystatechange = handlestatechangetext; var sendtext = document.getelementbyid("user").value; alert("got Text : " + sendtext); if(sendtext!= "") 8 / 24
9 encodenamespace = "<%=renderresponse.encodeurl(renderrequest.getcontextpath()+"/servlet/res ponseservlet")%>"; url=encodenamespace+"?user="+sendtext; xmlhttptext.open("get",url,true); xmlhttptext.send(null); else alert("in else"); encodenamespace = "<%=renderresponse.encodeurl(renderrequest.getcontextpath()+"/servlet/res ponseservlet")%>"; xmlhttpxml.open("get", encodenamespace, true); xmlhttpxml.send(null); function createxmlhttprequest() if(window.activexobject) alert("creating XMLObject for IE"); xmlhttpxml = new ActiveXObject("Microsoft.XMLHTTP"); xmlhttptext = new ActiveXObject("Microsoft.XMLHTTP"); else if(window.xmlhttprequest) alert("creating XMLObject for Mozilla"); xmlhttpxml = new XMLHttpRequest(); xmlhttptext = new XMLHttpRequest(); function handlestatechangetext() alert("handle Text : " + xmlhttptext.readystate); if(xmlhttptext.readystate == 4) if(xmlhttptext.status == 200) document.getelementbyid("greetingname").innerhtml = xmlhttptext.responsetext; function handlestatechangexml() alert("this is state : " + xmlhttpxml.readystate); if(xmlhttpxml.readystate == 4) 9 / 24
10 if(xmlhttpxml.status == 200) alert("the Server Replied With : " + xmlhttpxml.responsexml); processxml(xmlhttpxml.responsexml); function processxml(xmldoc) var companies = xmldoc.getelementsbytagname("company"); var employees = companies[0].getelementsbytagname("employee"); var xmldata = "<table width='300px' border='1'><tr><td>"; for(var i=0;i<employees.length;i++) xmldata += employees[i].firstchild.nodevalue + "<br>"; //firstchild.nodevalue or firstchild.data xmldata += "</td><td>"; var turnover = companies[0].getelementsbytagname("turnover"); var years = turnover[0].getelementsbytagname("year"); for(var i=0;i<years.length;i++) xmldata += years[i].firstchild.nodevalue + "<br>"; xmldata += "</td></tr></table>"; document.getelementbyid("greeting").innerhtml = xmldata; </script> </head> <body> <h3>ajax Implementation</h3><br><hr> <input type="text" id="user" name="user"> <input type="button" value="assynchronous Response" onclick="javascript:startrequest();"/><br/> <div id="greetingname"></div><br/> <div id="greeting"></div><br/><hr/><br/> </body> The above code is implemented to demonstrate both the type of content handling i.e., Text as well as XML format data using AJAX s response objects. Need to create two XMLHTTP objects in order to demonstrate the response handling for text as well as XML response objects. Here we are placing a text box and a button. Request will be issued based on the text field input. If field is empty then request will be 10 / 24
11 sent with out parameter otherwise with parameter. Response from servlet depends up on the parameter we send. a. Code snippet provided below shows the scenario to create HttpRequest objects based on the type of browser which client is using (say IE or Mozilla). if(window.activexobject) alert("creating XMLObject for IE"); xmlhttpxml = new ActiveXObject("Microsoft.XMLHTTP"); xmlhttptext = new ActiveXObject("Microsoft.XMLHTTP"); else if(window.xmlhttprequest) alert("creating XMLObject for Mozilla"); xmlhttpxml = new XMLHttpRequest(); xmlhttptext = new XMLHttpRequest(); b. Once the request object got created, one need to specify that which method will act as handler to read the server response status. Below provided code snippet relates to that. xmlhttpxml.onreadystatechange = handlestatechangexml; xmlhttptext.onreadystatechange = handlestatechangetext; c. Define the handlers with appropriate JS functions. Ex: function handlestatechangetext() alert("handle Text"); if(xmlhttptext.readystate == 4) if(xmlhttptext.status == 200) document.getelementbyid("greetingname").innerhtml = xmlhttptext.responsetext; d. Below JS snippet shows how to send AJAX calls/requests to the server encodenamespace = "<%=renderresponse.encodeurl(renderrequest.getcontextpath()+"/servlet/r esponseservlet")%>"; url=encodenamespace+"?user="+sendtext; xmlhttp.open("get",url,true); xmlhttptext.send(null); e. Place some alert statements to understand execution in a better way as we did in above sample code. 11 / 24
12 7. Right click on project s Java Resources and select New Package. Name the package as com.ibm.servlets as shown below 8. Right click on servlets package and opt for option New Other. From the palette window type for serv and you will get servlets option and click Next button where you will get a wizard to create servlet as shown below: name the class file as AjaxResponse and click Next button 12 / 24
13 9. Clicking on Next button gives the screen as shown below: Edit the URL Mapping to /servlet/responseservlet and click Next. 13 / 24
14 10. Change the options in next screen of the wizard as shown below and click finish. 11. On clicking Finish RAD will make an entry in web.xml and create AjaxResponse.java as well. <servlet> <description></description> <display-name>ajaxresponse</display-name> <servlet-name>ajaxresponse</servlet-name> <servlet-class>com.ibm.servlets.ajaxresponse</servlet-class> </servlet> <servlet-mapping> <servlet-name>ajaxresponse</servlet-name> <url-pattern>/servlet/responseservlet</url-pattern> </servlet-mapping> 12. Open AjaxResponse.java if it is not and add the below code to doget() method and save the changes. StringBuffer responsecontent = new StringBuffer(); PrintWriter out = response.getwriter(); 14 / 24
15 String user = request.getparameter("user"); if(user!= null) response.setcontenttype("text/html"); out.println("<h4>" + request.getparameter("user") + " entered AJAX world.</h4>"); else response.setcontenttype("text/xml"); responsecontent.append("<?xml version=\"1.0\"?>"); responsecontent.append("<company>" + "<employee id=\"001\" sex=\"m\" age=\"20\">premshree Pillai</employee>" + "<employee id=\"002\" sex=\"m\" age=\"24\">kumar Singh</employee>" + "<employee id=\"003\" sex=\"m\" age=\"21\">ranjit Kapoor</employee>" + "<turnover>" + "<year id=\"2000\">100,000</year>" + "<year id=\"2001\">140,000</year>" + "<year id=\"2002\">200,000</year>" + "</turnover>" + "</company>"); out.println(responsecontent.tostring()); 13. Now the portlet is ready for deployment and test. 15 / 24
16 DWR in Portlets: What is DWR? 1. Is a Java and JavaScript open source library which allows you to write Ajax web applications a. Hides low-level XMLHttpRequest handling 2. Specifically designed with Java technology in mind b. Easy AJAX for Java 3. Allows JavaScript code in a browser to use Java methods running on a web server just as if they were in the browser c. Why it is called Direct remoting Why DWR? 1. Without DWR, you would have to create many Web application endpoints (servlets) that need to be address'able via URI's 2. What happens if you have several methods in a class on the server that you want to invoke from the browser? a. Each of these methods need to be addressable via URI whether you are using XMLHttpRequest directory or clientside only toolkit such as Dojo or Prototype b. You would have to map parameters and return values to HTML input form parameters and responses yourself 3. DWR comes with some JavaScript utility functions How DWR Works: 16 / 24
17 DWR Consists of Two Main Parts: 1. A DWR-runtime-provided Java Servlet running on the server that processes incoming DWR requests and sends responses back to the browser a. uk.ltd.getahead.dwr.dwrservlet b. This servlet delegates the call to the backend class you specify in the dwr.xml configuration file 2. JavaScript running in the browser that sends requests and can dynamically update the webpage a. DWR handles XMLHttpRequest handling How Does DWR Work? 1. DWR dynamically generates a matching client-side Javascript class from a backend Java class a. Allows you then to write JavaScript code that looks like conventional RPC/RMI like code, which is much more intuitive than writing raw JavaScript code 2. The generated JavaScript class handles remoting details between the browser and the backend server a. Handles asynchronous communication via XMLHttpRequest - Invokes the callback function in the JavaScript b. You provide the callback function as additional parameter c. DWR converts all the parameters and return values between client side Javascript and backend Java Implementation of DWR in Portlets: Note: Be careful while selecting the version of dwr.jar as there will be some version incompatibility issues may arise. In this document we will use the same portlet project used for AJAX implementation. One can create new project or can create new JSP resource in the existing project. Implementing DWR is completely independent of what we did for AJAX. In order to implement DWR in JSR portlets follow the steps given below: 1. Let s create a POJO which will act as the resource from where response should come back to browser for internal AJAX calls through DWR. 2. Right click on Java Resources folder and select option New Package and name the package as com.ibm.dwr and click Finish as shown below 17 / 24
18 3. Right click on the package com.ibm.dwr and select option New Class and name the class as DWRDemo then click Finish button as shown below. This will create a POJO file for us. 4. Open DWRDemo.java file if it is not open. Add the following method to the class and save the modifications public String getstring() return "DWR implemented, String returned from server."; 5. Open demoview.jsp file and place the following code in top of </body> tag. <h3>dwr Implementation</h3><br> <br> <input type="button" value="getdata" onclick="callmethod()"> <br> <div id="dwrdemo"></div> <hr> 18 / 24
19 6. Just to top of </head> tag add the following snippet to demoview.jsp file <script type="text/javascript"> function callmethod() DWRDemo.getString(getData); function getdata(data) alert(data); document.getelementbyid("dwrdemo").innerhtml = data; </script> 7. Copy Paste the dwr.jar (v1.1) to lib folder of WEB-INF directory. 8. Right click on WEB-INF directory and select option New File and name the file as dwr.xml then click Finish button as shown below 9. Open dwr.xml file and Paste the following content in it 19 / 24
20 <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 1.0//EN" " <dwr> <allow> <create creator="new" javascript="dwrdemo" scope="session"> <param name="class" value="com.ibm.dwr.dwrdemo"/> </create> </allow> </dwr> This configuration file will be read by the DWRServlet for dynamic generation of java scripts at server side. Name of the generated JS will be taken from the attribute javascript. Save the modifications. 10. Open web.xml file and add the following entries for DWRServlet <servlet> <servlet-name>dwr-invoker</servlet-name> <servlet-class>uk.ltd.getahead.dwr.dwrservlet</servlet-class> <init-param> <param-name>debug</param-name> <param-value>true</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>dwr-invoker</servlet-name> <url-pattern>/dwr/*</url-pattern> </servlet-mapping> 11. Make the following entries in demoview.jsp file with in <head> tag section and save the modifications. <script type='text/javascript' src='<%=renderresponse.encodeurl(renderrequest.getcontextpath() + "/dwr/engine.js") %>'></script> <script type='text/javascript' src='<%=renderresponse.encodeurl(renderrequest.getcontextpath() + "/dwr/interface/dwrdemo.js") %>'></script> <script type='text/javascript' src='<%=renderresponse.encodeurl(renderrequest.getcontextpath() + "/dwr/util.js") %>'></script> 12. Deploy the application to the portal server and test it. 20 / 24
21 dojo in Portlets: Features of Dojo Toolkit: 1. Powerful AJAX-based I/O abstraction (remoting) 2. Graceful degradation 3. Backward, forward, book-marking support 4. Aspect-oriented event system 5. Markup-based UI construction through widgets 6. Widget prototyping 7. Animation 8. Lots of useful libraries For more information, visit api.dojotoolkit.org. Implementation of dojo: As dojo provides lots of features with its huge library, we will see an accordion tab feature in the above developed portlet. Note: The below specified sample can be done on a new portlet project or this can be continued with the above Sample. Let s move with the above created portlet project. 1. Navigate to the WebContent directory of the AjaxDWRdojoDemo project. Extract/copy-paste the dojo root folder of the dojo_0.9 tool kit to WebContent directory. 2. After copying dojo toolkit, RAD may highlight some errors in dojo directory. Open project properties (Click on project and press Alt+Enter keys) and select the following option as shown below: 21 / 24
22 Validation (Check)Override Validation Preferences Disable All Ok. 3. Open demoview.jsp file and place the following code with in <head> tag some where appropriately. Below code is to include the required resources from dojo kit. One need to use the dojo.require() method to include the components similar to importing packages in java. In this example we are importing AccordianContainer. 22 / 24
23 <style '<%=renderresponse.encodeurl(renderrequest.getcontextpath() + '<%=renderresponse.encodeurl(renderrequest.getcontextpath() + "/dojo/dojo/resources/dojo.css") %>'; </style> <script type="text/javascript" src='<%=renderresponse.encodeurl(renderrequest.getcontextpath() + "/dojo/dojo/dojo.js")%>' djconfig="parseonload: true"></script> <script type="text/javascript"> dojo.require("dojo.parser"); dojo.require("dijit.layout.accordioncontainer"); </script> 4. Paste the following code in demoview.jsp with in <body> tag <h3>dojo Implementation (AccordianContainer)</h3> <br> <div dojotype="dijit.layout.accordioncontainer" duration="80" style="margin-right: 10px; width: 500px; height: 200px;"> <div dojotype="dijit.layout.accordionpane" selected="true" title="benefits of Dojo"> <p >Benefits of Dojo: Associative arrays, Loosely typed variables, Regular expressions, Objects and classes, Highly evolved date, math, and string libraries, W3C DOM support in the Dojo.</p > </div> <div dojotype="dijit.layout.accordionpane" title="introduction to Dojo"> <p>this tips is light towards people with some JavaScript knowledge, priestly used another JavaScript (Ajax) framework before, now have a real need to use some of the features found in dojo.</p> </div> <div dojotype="dijit.layout.accordionpane" title="website for Dojo Tutorial"> <p>if you want to learn dojo. Please go to the url mentioned in the doc.</p> </div> </div> <br><hr> Dojo uses a special attribute to identify its own components to render and that is dojotype as we are placing three accordion panes with in accordion container. 23 / 24
24 5. Dojo supports different themes in order to give preferable look and feel with different color schemes. To apply dojo theme, add an attribute named as class with in <body> tag as given: <body class="tundra">. 6. Save the modification and deploy the application to test it. 24 / 24
Enriching Portal user experience using Dojo toolkit support in IBM Rational Application Developer v8 for IBM WebSphere Portal
Enriching Portal user experience using Dojo toolkit support in IBM Rational Application Developer v8 for IBM WebSphere Portal Summary: Learn how to create Portlet applications for Websphere Portal for
More informationIBM Mobile Portal Accelerator Enablement
IBM Mobile Portal Accelerator Enablement Hands-on Lab Exercise on XDIME Portlet Development Prepared by Kiran J Rao IBM MPA Development kiran.rao@in.ibm.com Jaye Fitzgerald IBM MPA Development jaye@us.ibm.com
More informationEvaluation Copy. Ajax For Java Developers. If you are being taught out of this workbook, or have been sold this workbook, please call
Ajax For Java Developers on the Eclipse/Tomcat Platform LearningPatterns, Inc. Courseware Student Guide This material is copyrighted by LearningPatterns Inc. This content and shall not be reproduced, edited,
More information"Charting the Course... WebSphere Portal 8 Development using Rational Application Developer 8.5. Course Summary
Course Summary Description This course will introduce attendees to Portlet development using Rational Application Developer 8.5 as their development platform. It will cover JSR 286 development, iwidget
More informationAJAX Programming Chris Seddon
AJAX Programming Chris Seddon seddon-software@keme.co.uk 2000-12 CRS Enterprises Ltd 1 2000-12 CRS Enterprises Ltd 2 What is Ajax? "Asynchronous JavaScript and XML" Originally described in 2005 by Jesse
More informationImplementing JSR 168 inter-portlet communication using Rational Application Developer V6.0 and WebSphere Portal V5.1
Implementing JSR 168 inter-portlet communication using Rational Application Developer V6.0 and WebSphere Portal V5.1 Level: Intermediate Asim Saddal (mailto:asaddal@us.ibm.com) Senior IT Specialist, IBM
More informationOracle WebLogic Portal
Oracle WebLogic Portal Client-Side Developer s Guide 10g Release 3 (10.3) September 2008 Oracle WebLogic Portal Client-Side Developer s Guide, 10g Release 3 (10.3) Copyright 2008, Oracle and/or its affiliates.
More informationjmaki Overview Sang Shin Java Technology Architect Sun Microsystems, Inc.
jmaki Overview Sang Shin Java Technology Architect Sun Microsystems, Inc. sang.shin@sun.com www.javapassion.com Agenda What is and Why jmaki? jmaki widgets Using jmaki widget - List widget What makes up
More informationJavaServer Faces Technology, AJAX, and Portlets: It s Easy if You Know How!
TS-6824 JavaServer Faces Technology, AJAX, and Portlets: It s Easy if You Know How! Brendan Murray Software Architect IBM http://www.ibm.com 2007 JavaOne SM Conference Session TS-6824 Goal Why am I here?
More informationWeb Application Security
Web Application Security Rajendra Kachhwaha rajendra1983@gmail.com September 23, 2015 Lecture 13: 1/ 18 Outline Introduction to AJAX: 1 What is AJAX 2 Why & When use AJAX 3 What is an AJAX Web Application
More informationAJAX, DWR and Spring. Bram Smeets Interface21
AJAX, DWR and Spring Bram Smeets Interface21 Topics History of dynamic web applications Web 2.0 and AJAX The DWR approach to AJAX Using Spring & DWR (by example) Best practices Tools and widgets DWR roadmap
More informationAdvanced Software Engineering
Agent and Object Technology Lab Dipartimento di Ingegneria dell Informazione Università degli Studi di Parma Advanced Software Engineering JSR 168 Prof. Agostino Poggi JSR 168 Java Community Process: http://www.jcp.org/en/jsr/detail?id=168
More informationModule7: AJAX. Click, wait, and refresh user interaction. Synchronous request/response communication model. Page-driven: Workflow is based on pages
INTERNET & WEB APPLICATION DEVELOPMENT SWE 444 Fall Semester 2008-2009 (081) Module7: Objectives/Outline Objectives Outline Understand the role of Learn how to use in your web applications Rich User Experience
More informationFall Semester (081) Module7: AJAX
INTERNET & WEB APPLICATION DEVELOPMENT SWE 444 Fall Semester 2008-2009 (081) Module7: AJAX Dr. El-Sayed El-Alfy Computer Science Department King Fahd University of Petroleum and Minerals alfy@kfupm.edu.sa
More informationSkyway 6.3 How To: Web Services
Abstract Skyway 6.3 How To: Web Services Build a web user interface around existing Web Services Dave Meurer Copyright 2009 Skyway Software This tutorial details how to generate
More informationAdvanced Topics in WebSphere Portal Development Graham Harper Application Architect IBM Software Services for Collaboration
Advanced Topics in WebSphere Portal Development Graham Harper Application Architect IBM Software Services for Collaboration 2012 IBM Corporation Ideas behind this session Broaden the discussion when considering
More informationEnriching SAP MII (SAP Manufacturing Integration and Intelligence) UIs Using Dojo
Enriching SAP MII (SAP Manufacturing Integration and Intelligence) UIs Using Dojo Applies to: SAP MII. For more information, visit the Manufacturing homepage. Summary Very often we face a challenge to
More informationXPages development practices: developing a common Tree View Cust...
1 of 11 2009-12-11 08:06 XPages development practices: developing a common Tree View Custom Controls Use XPages develop a common style of user control Dojo Level: Intermediate Zhan Yonghua, Software Engineer,
More informationIBM Realtests LOT-911 Exam Questions & Answers
IBM Realtests LOT-911 Exam Questions & Answers Number: LOT-911 Passing Score: 800 Time Limit: 120 min File Version: 35.4 http://www.gratisexam.com/ IBM LOT-911 Exam Questions & Answers Exam Name: IBM WebSphere
More informationIntroduction to Web Application Development Using JEE, Frameworks, Web Services and AJAX
Introduction to Web Application Development Using JEE, Frameworks, Web Services and AJAX Duration: 5 Days US Price: $2795 UK Price: 1,995 *Prices are subject to VAT CA Price: CDN$3,275 *Prices are subject
More informationAjax and Web 2.0 Related Frameworks and Toolkits. Dennis Chen Director of Product Engineering / Potix Corporation
Ajax and Web 2.0 Related Frameworks and Toolkits Dennis Chen Director of Product Engineering / Potix Corporation dennischen@zkoss.org 1 Agenda Ajax Introduction Access Server Side (Java) API/Data/Service
More informationBPM 7.5 Creating a Hello World iwidget
BPM 7.5 Creating a Hello World iwidget Ashok Iyengar ashoki@us.ibm.com September 10, 2011 BPM75BSpaceWidget Page 1 Contents Introduction... 3 Environment... 3 Section A Creating a simple widget... 4 Section
More informationSetting Up the Development Environment
CHAPTER 5 Setting Up the Development Environment This chapter tells you how to prepare your development environment for building a ZK Ajax web application. You should follow these steps to set up an environment
More informationApplication Integration with WebSphere Portal V7
Application Integration with WebSphere Portal V7 Rapid Portlet Development with WebSphere Portlet Factory IBM Innovation Center Dallas, TX 2010 IBM Corporation Objectives WebSphere Portal IBM Innovation
More informationimport com.ibm.portal.portlet.service.impersonation.impersonationservice;
Filter Class: package com.ibm.impersonationwithfilter; import java.io.ioexception; import javax.naming.context; import javax.naming.initialcontext; import javax.naming.namingexception; import javax.portlet.portletexception;
More informationNetBeans 6.5.1, GlassFish v 2.1, Web Space Server 10 Creating a Healthcare Facility JSR286-compliant Portlet
NetBeans 6.5.1, GlassFish v 2.1, Web Space Server 10 Creating a Healthcare Facility JSR286-compliant Portlet Michael.Czapski@sun.com June 2009 Abstract SOA is sometimes shown as a series of 4 layers with
More informationCreating Custom Dojo Widgets Using WTP
Creating Custom Dojo Widgets Using WTP Nick Sandonato IBM Rational Software WTP Source Editing Committer nsandona@us.ibm.com Copyright IBM Corp., 2009. All rights reserved; made available under the EPL
More informationWA2089 WebSphere Portal 8.0 Programming EVALUATION ONLY
WA2089 WebSphere Portal 8.0 Programming Web Age Solutions Inc. USA: 1-877-517-6540 Canada: 1-866-206-4644 Web: http://www.webagesolutions.com The following terms are trademarks of other companies: Java
More informationBuilding Java Applications Using the ArcGIS Server Web ADF and AJAX
Building Java Applications Using the ArcGIS Server Web ADF and AJAX Antony Jayaprakash Jayant Sai ESRI Developer Summit 2008 1 Schedule 75 minute session 60 65 minute lecture 10 15 minutes Q & A following
More informationNetBeans 6.5.1, GlassFish v 2.1, Web Space Server 10 Patient Lookup Portlet with a Google Map, Route and Directions
NetBeans 6.5.1, GlassFish v 2.1, Web Space Server 10 Patient Lookup Portlet with a Google Map, Route and Directions Michael.Czapski@sun.com July 2009 Table of Contents Abstract...1 Introduction...1 Prerequisites...4
More informationCreating a New Project with Struts 2
Creating a New Project with Struts 2 February 2015 Level: By : Feri Djuandi Beginner Intermediate Expert Platform : Eclipse, Struts 2, JBoss AS 7.1.1. This tutorial explains how to create a new Java project
More informationContents. Demos folder: Demos\14-Ajax. 1. Overview of Ajax. 2. Using Ajax directly. 3. jquery and Ajax. 4. Consuming RESTful services
Ajax Contents 1. Overview of Ajax 2. Using Ajax directly 3. jquery and Ajax 4. Consuming RESTful services Demos folder: Demos\14-Ajax 2 1. Overview of Ajax What is Ajax? Traditional Web applications Ajax
More informationPRODUCT DOCUMENTATION. Installing and Implementing Enterprise Contact Center Chat RELEASE 5.1
PRODUCT DOCUMENTATION Installing and Implementing Enterprise Contact Center Chat RELEASE 5.1 Document and Software Copyrights Copyright 1998 2009 ShoreTel, Inc. All rights reserved. Printed in the United
More informationBEAWebLogic. Portal. Tutorials Getting Started with WebLogic Portal
BEAWebLogic Portal Tutorials Getting Started with WebLogic Portal Version 10.2 February 2008 Contents 1. Introduction Introduction............................................................ 1-1 2. Setting
More informationSOFTWARE DEVELOPMENT SERVICES WEB APPLICATION PORTAL (WAP) TRAINING. Intuit 2007
SOFTWARE DEVELOPMENT SERVICES WEB APPLICATION PORTAL (WAP) TRAINING Intuit 2007 I ve included this training in my portfolio because it was very technical and I worked with a SME to develop it. It demonstrates
More informationScript Portlet Installation and Configuration with Websphere Portal v8.5. Adinarayana H
Script Portlet Installation and Configuration with Websphere Portal v8.5 Adinarayana H Table Of Contents 1. Script Portlet Overview 2. Script Portlet Download Process 3. Script Portlet Installation with
More informationLab 1: Getting Started with IBM Worklight Lab Exercise
Lab 1: Getting Started with IBM Worklight Lab Exercise Table of Contents 1. Getting Started with IBM Worklight... 3 1.1 Start Worklight Studio... 5 1.1.1 Start Worklight Studio... 6 1.2 Create new MyMemories
More informationEtanova Enterprise Solutions
Etanova Enterprise Solutions Front End Development» 2018-09-23 http://www.etanova.com/technologies/front-end-development Contents HTML 5... 6 Rich Internet Applications... 6 Web Browser Hardware Acceleration...
More informationGetting started with WebSphere Portlet Factory V7.0.0
Getting started with WebSphere Portlet Factory V7.0.0 WebSphere Portlet Factory Development Team 29 September 2010 Copyright International Business Machines Corporation 2010. All rights reserved. Abstract
More informationUnified Task List. IBM WebSphere Portal V7.0 Review the hardware and software requirements Review the product documentation
Unified Task List Software requirements The information in this topic provides details about the software required to install or develop using the Unified Task List portlet. For information about supported
More informationIntroduction to IBM Rational HATS For IBM System i (5250)
Introduction to IBM Rational HATS For IBM System i (5250) Introduction to IBM Rational HATS 1 Lab instructions This lab teaches you how to use IBM Rational HATS to create a Web application capable of transforming
More informationDeveloping Ajax Web Apps with GWT. Session I
Developing Ajax Web Apps with GWT Session I Contents Introduction Traditional Web RIAs Emergence of Ajax Ajax ( GWT ) Google Web Toolkit Installing and Setting up GWT in Eclipse The Project Structure Running
More informationXAP: extensible Ajax Platform
XAP: extensible Ajax Platform Hermod Opstvedt Chief Architect DnB NOR ITUD Hermod Opstvedt: XAP: extensible Ajax Platform Slide 1 It s an Ajax jungle out there: XAML Dojo Kabuki Rico Direct Web Remoting
More informationUnified Task List Developer Pack
Unified Task List Developer Pack About the Developer Pack The developer pack is provided to allow customization of the UTL set of portlets and deliver an easy mechanism of developing task processing portlets
More informationNotes General. IS 651: Distributed Systems 1
Notes General Discussion 1 and homework 1 are now graded. Grading is final one week after the deadline. Contract me before that if you find problem and want regrading. Minor syllabus change Moved chapter
More informationPortal Express 6 Overview
Portal Express 6 Overview WebSphere Portal Express v6.0 1 Main differences between Portal Express and Portal 6.0 Built with the same components as Portal 6.0.0.1 BPC is the only missing piece Supports
More informationNew Face of z/os Communications Server: V2R1 Configuration Assistant
New Face of z/os Communications Server: V2R1 Configuration Assistant Kim Bailey (ktekavec@us.ibm.com) IBM August 14, 2013 Session # 13630 Agenda What is the Configuration Assistant and how can it help
More informationIBM Worklight V5.0.6 Getting Started
IBM Worklight V5.0.6 Getting Started Creating your first Worklight application 17 January 2014 US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract
More informationOracle Developer Day
Oracle Developer Day Sponsored by: J2EE Track: Session #3 Developing JavaServer Faces Applications Name Title Agenda Introduction to JavaServer Faces What is JavaServer Faces Goals Architecture Request
More informationWeb-enable a 5250 application with the IBM WebFacing Tool
Web-enable a 5250 application with the IBM WebFacing Tool ii Web-enable a 5250 application with the IBM WebFacing Tool Contents Web-enable a 5250 application using the IBM WebFacing Tool......... 1 Introduction..............1
More informationSkyway Builder 6.3 Spring Web Flow Tutorial
Skyway Builder 6.3 Spring Web Flow Tutorial 6.3.0.0-07/21/2009 Skyway Software Skyway Builder 6.3 - Spring MVC Tutorial: 6.3.0.0-07/21/2009 Skyway Software Published Copyright 2008 Skyway Software Abstract
More informationVidyoEngage for Genesys Widgets
VidyoEngage for Genesys Widgets Developer Guide Product Version 18.2.0 Document Version A April, 2018 2018 Vidyo, Inc. all rights reserved. Vidyo s technology is covered by one or more issued or pending
More informationLab 3: Using Worklight Server and Environment Optimization Lab Exercise
Lab 3: Using Worklight Server and Environment Optimization Lab Exercise Table of Contents Lab 3 Using the Worklight Server and Environment Optimizations... 3-4 3.1 Building and Testing on the Android Platform...3-4
More informationCredits: Some of the slides are based on material adapted from
1 The Web, revisited WEB 2.0 marco.ronchetti@unitn.it Credits: Some of the slides are based on material adapted from www.telerik.com/documents/telerik_and_ajax.pdf 2 The old web: 1994 HTML pages (hyperlinks)
More informationAD406: What s New in Digital Experience Development with IBM Web Experience Factory
AD406: What s New in Digital Experience Development with IBM Web Experience Factory Jonathan Booth, Senior Architect, Digital Experience Tooling, IBM Adam Ginsburg, Product Manager, Digital Experience
More informationPortail : WebSphere Portlet Factory RIA et Web 2.0 autour de WebSphere Portal
LOT02P5 Portail : WebSphere Portlet Factory RIA et Web 2.0 autour de WebSphere Portal Arjen Moermans arjen.moermans@nl.ibm.com IT Specialist Lotus Techworks SWIOT 2009 IBM Corporation Legal Disclaimer
More informationUsing the Dojo Toolkit with WebSphere Portal Adding sizzle to your portal application user interface
Using the Dojo Toolkit with WebSphere Portal Adding sizzle to your portal application user interface Karl Bishop (kfbishop@us.ibm.com), Senior Software Engineer, IBM Doug Phillips (dougep@us.ibm.com),
More informationXMLHttpRequest. CS144: Web Applications
XMLHttpRequest http://oak.cs.ucla.edu/cs144/examples/google-suggest.html Q: What is going on behind the scene? What events does it monitor? What does it do when
More informationAD105 Introduction to Application Development for the IBM Workplace Managed Client
AD105 Introduction to Application Development for the IBM Workplace Managed Client Rama Annavajhala, IBM Workplace Software, IBM Software Group Sesha Baratham, IBM Workplace Software, IBM Software Group
More informationGetting started with WebSphere Portlet Factory V6.1
Getting started with WebSphere Portlet Factory V6.1 WebSphere Portlet Factory Development Team 29 July 2008 Copyright International Business Machines Corporation 2008. All rights reserved. Abstract Discover
More informationActual4Test. Actual4test - actual test exam dumps-pass for IT exams
Actual4Test http://www.actual4test.com Actual4test - actual test exam dumps-pass for IT exams Exam : C9520-927 Title : Developing Portlets and Web Applications with IBM Web Experience Factory 8.0 Vendors
More informationOracle Developer Day
Oracle Developer Day Sponsored by: Session5 Focusing on the UI Speaker Speaker Title Page 1 1 Agenda Building the User Interface UI Development Page Flow A Focus on Faces Introducing Java Server Faces
More informationThis course is designed for web developers that want to learn HTML5, CSS3, JavaScript and jquery.
HTML5/CSS3/JavaScript Programming Course Summary Description This class is designed for students that have experience with basic HTML concepts that wish to learn about HTML Version 5, Cascading Style Sheets
More informationEnable jquery Mobile on WebSphere Portal
Enable jquery Mobile on WebSphere Portal Introduction jquery is a cross-browser JavaScript library that facilitates Data Object Model (DOM) traversal, event handling, animation, and Ajax interactions.
More informationLotus Exam IBM Websphere Portal 6.1 Application Development Version: 5.0 [ Total Questions: 150 ]
s@lm@n Lotus Exam 190-959 IBM Websphere Portal 6.1 Application Development Version: 5.0 [ Total Questions: 150 ] Topic 0, A A Question No : 1 - (Topic 0) A large motorcycle manufacturer has an internet
More informationGetting started with WebSphere Portlet Factory V6
Getting started with WebSphere Portlet Factory V6 WebSphere Portlet Factory Development Team 03 Jan 07 Copyright International Business Machines Corporation 2007. All rights reserved. Abstract Discover
More informationPortlet Application Development Webinar exercise using JSF and JPA with Rational Application Developer
Portlet Application Development Webinar exercise using JSF and JPA with Rational Application Developer This exercise demonstrates how to create an end-to-end Java Persistence API (JPA) enabled Java Server
More informationCITS1231 Web Technologies. Ajax and Web 2.0 Turning clunky website into interactive mashups
CITS1231 Web Technologies Ajax and Web 2.0 Turning clunky website into interactive mashups What is Ajax? Shorthand for Asynchronous JavaScript and XML. Coined by Jesse James Garrett of Adaptive Path. Helps
More informationCreating a Model-based Builder
Creating a Model-based Builder This presentation provides an example of how to create a Model-based builder in WebSphere Portlet Factory. This presentation will provide step by step instructions in the
More informationOutline. Introduction to JavaScript Resources What is JavaScript? JavaScript in web pages
JavaScript CMPT 281 Outline Introduction to JavaScript Resources What is JavaScript? JavaScript in web pages Announcements Layout with tables Assignment 3 JavaScript Resources Resources Why JavaScript?
More informationModule 5 JavaScript, AJAX, and jquery. Module 5. Module 5 Contains 2 components
Module 5 JavaScript, AJAX, and jquery Module 5 Contains 2 components Both the Individual and Group portion are due on Monday October 30 th Start early on this module One of the most time consuming modules
More informationJavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK
Programming for Digital Media EE1707 JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK 1 References and Sources 1. Javascript & JQuery: interactive front-end
More informationTapestry. Code less, deliver more. Rayland Jeans
Tapestry Code less, deliver more. Rayland Jeans What is Apache Tapestry? Apache Tapestry is an open-source framework designed to create scalable web applications in Java. Tapestry allows developers to
More informationIntroduction to IBM Rational HATS For IBM System z (3270)
Introduction to IBM Rational HATS For IBM System z (3270) Introduction to IBM Rational HATS 1 Lab instructions This lab teaches you how to use IBM Rational HATS to create a Web application capable of transforming
More informationSession 16. JavaScript Part 1. Reading
Session 16 JavaScript Part 1 1 Reading Reading Wikipedia en.wikipedia.org/wiki/javascript / p W3C www.w3.org/tr/rec-html40/interact/scripts.html Web Developers Notes www.webdevelopersnotes.com/tutorials/javascript/
More informationAJAX(Asynchronous Javascript + XML) Creating client-side dynamic Web pages
AJAX(Asynchronous Javascript + XML) Creating client-side dynamic Web pages AJAX = Asynchronous JavaScript and XML.AJAX is not a new programming language, but a new way to use existing standards. AJAX is
More informationLiferay Themes: Customizing Liferay s Look & Feel
Liferay Themes: Customizing Liferay s Look & Feel Liferay is a JSR-168 compliant enterprise portal. Starting with version 3.5.0, Liferay provides a mechanism for developers to easily customize the user
More informationWhite Paper. Fabasoft Folio Portlet. Fabasoft Folio 2017 R1 Update Rollup 1
White Paper Fabasoft Folio Portlet Fabasoft Folio 2017 R1 Update Rollup 1 Copyright Fabasoft R&D GmbH, Linz, Austria, 2018. All rights reserved. All hardware and software names used are registered trade
More informationGetting started with Convertigo Mobilizer
Getting started with Convertigo Mobilizer First Sencha-based project tutorial CEMS 6.0.0 TABLE OF CONTENTS Convertigo Mobilizer overview...1 Introducing Convertigo Mobilizer... 1-1 Convertigo Mobilizer
More information2010 Exceptional Web Experience
2010 Exceptional Web Experience Session Code: TECH-D07 Session Title: What's New In IBM WebSphere Portlet Factory Jonathan Booth, Senior Architect, WebSphere Portlet Factory, IBM Chicago, Illinois 2010
More informationWeb Programming Paper Solution (Chapter wise)
What is valid XML document? Design an XML document for address book If in XML document All tags are properly closed All tags are properly nested They have a single root element XML document forms XML tree
More informationDeveloping Spring based WebSphere Portal application using IBM Rational Application Developer
Developing Spring based WebSphere Portal application using IBM Rational Application Developer Table of Content Abstract...3 Overview...3 Sample Use case...3 Prerequisite :...3 Developing the spring portlet...4
More informationIn-depth Session: Developing Web 2.0 Application Using AJAX and Related Frameworks
In-depth Session: Developing Web 2.0 Application Using AJAX and Related Frameworks Agenda AJAX Basics > > > > > What is AJAX? AJAX Anatomy AJAX Guidelines AJAX Interaction:Using AutoComplete Sample Application
More informationPRAjax PHP Reflected Ajax Developer Manual
PRAjax PHP Reflected Ajax Developer Manual Index PRAjax PHP Reflected Ajax... 1 Index... 2 What is PRAjax?... 3 PRAjax in short... 3 Schematic overview... 4 Introduction... 5 Requirements... 5 Installation...
More informationTIME SCHEDULE MODULE TOPICS PERIODS. HTML Document Object Model (DOM) and javascript Object Notation (JSON)
COURSE TITLE : ADVANCED WEB DESIGN COURSE CODE : 5262 COURSE CATEGORY : A PERIODS/WEEK : 4 PERIODS/SEMESTER : 52 CREDITS : 4 TIME SCHEDULE MODULE TOPICS PERIODS 1 HTML Document Object Model (DOM) and javascript
More informationA Closer Look at XPages in IBM Lotus Domino Designer 8.5 Ray Chan Advisory I/T Specialist Lotus, IBM Software Group
A Closer Look at XPages in IBM Lotus Domino Designer 8.5 Ray Chan Advisory I/T Specialist Lotus, IBM Software Group 2008 IBM Corporation Agenda XPage overview From palette to properties: Controls, Ajax
More informationThe course also includes an overview of some of the most popular frameworks that you will most likely encounter in your real work environments.
Web Development WEB101: Web Development Fundamentals using HTML, CSS and JavaScript $2,495.00 5 Days Replay Class Recordings included with this course Upcoming Dates Course Description This 5-day instructor-led
More informationAlloy Ajax in Liferay Portlet
Alloy Ajax in Liferay Portlet Liferay serveresource and alloy aui-io-request module made Ajax easy to implement in Liferay Portlet. If you have basic knowledge of Ajax and you want to learn how ajax call
More informationDelivery Options: Attend face-to-face in the classroom or remote-live attendance.
XML Programming Duration: 5 Days Price: $2795 *California residents and government employees call for pricing. Discounts: We offer multiple discount options. Click here for more info. Delivery Options:
More informationIBM C IBM WebSphere Portal 8.0 Solution Development. Download Full version :
IBM C9520-911 IBM WebSphere Portal 8.0 Solution Development Download Full version : http://killexams.com/pass4sure/exam-detail/c9520-911 QUESTION: 59 Bill is developing a mail portlet. One of the requirements
More informationEnterprise Modernization for IBM System z:
Enterprise Modernization for IBM System z: Transform 3270 green screens to Web UI using Rational Host Access Transformation Services for Multiplatforms Extend a host application to the Web using System
More informationA Model-Controller Interface for Struts-Based Web Applications
A Model-Controller Interface for Struts-Based Web Applications A Writing Project Presented to The Faculty of the Department of Computer Science San José State University In Partial Fulfillment of the Requirements
More informationUsing XML and RDBMS Data Sources in XPages Paul T. Calhoun NetNotes Solutions Unlimited, Inc
Using XML and RDBMS Data Sources in XPages Paul T. Calhoun NetNotes Solutions Unlimited, Inc 2010 by the individual speaker Sponsors 2010 by the individual speaker Speaker Information Independent Consultant,
More informationDeveloping Applications for IBM WebSphere Portal 7.0
Developing Applications for IBM WebSphere Portal 7.0 Duración: 5 Días Código del Curso: WPL51G Temario: This course is designed for users who are new to developing applications for WebSphere Portal Server
More informationPaul Withers Intec Systems Ltd By Kind Permission of Matt White and Tim Clark
XPages Blast Paul Withers Intec Systems Ltd By Kind Permission of Matt White and Tim Clark Lead Developer at Matt White Creators of IdeaJam and IQJam Creator of XPages101.net Founder member of the LDC
More informationJMP305: JumpStart Your Multi-Channel Digital Experience Development with Web Experience Factory IBM Corporation
JMP305: JumpStart Your Multi-Channel Digital Experience Development with Web Experience Factory 2014 IBM Corporation Agenda Multi-channel applications and web sites Rapid development with the model-based
More informationDeveloping Web Applications for Smartphones with IBM WebSphere Portlet Factory 7.0
Developing Web Applications for Smartphones with IBM WebSphere Portlet Factory 7.0 WebSphere Portlet Factory Development Team 6 September 2010 Copyright International Business Machines Corporation 2010.
More informationOracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand)
Oracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand) Code: URL: D101074GC10 View Online The Developing Applications for the Java EE 7 Platform training teaches you how
More informationClient Side JavaScript and AJAX
Client Side JavaScript and AJAX Client side javascript is JavaScript that runs in the browsers of people using your site. So far all the JavaScript code we've written runs on our node.js server. This is
More informationAbstract. 1. Introduction. 2. AJAX overview
Asynchronous JavaScript Technology and XML (AJAX) Chrisina Draganova Department of Computing, Communication Technology and Mathematics London Metropolitan University 100 Minories, London EC3 1JY c.draganova@londonmet.ac.uk
More information