Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Peter Laird. | 1
DBA
CCNA
BEA Confidential
Agenda
Introduction to iGoogle and Google Gadgets Google Gadgets, Why Should You Care? Inside a Google Gadget Building a Gadget in Java
BEA Confidential
Housekeeping
This is a 30 Minute Presentation
A
lot to cover, will move very fast focus more on Gadgets, less on Java web development
Will
BEA Confidential
Agenda
Introduction to iGoogle and Google Gadgets Google Gadget: Why Should You Care? Inside a Google Gadget Building a Gadget in Java
BEA Confidential
DEMO
BEA Confidential
iGoogle
iGoogle portal is a free Google service Is a customizable web portal Users can add Gadgets to the page Customizations are saved to the users account and retrieved when logging in again
BEA Confidential
Google Gadgets
Gadgets are small user interface components
Could
BEA Confidential
input dynamic the content changes via a user interacting with the gadget (forms, links, etc) preference dynamic the user sets preferences that persist across user sessions (eBay example)
BEA Confidential
BEA Confidential
layout capability
Preferences Minimize
BEA Confidential
BEA Confidential
Agenda
Introduction to iGoogle and Google Gadgets Google Gadgets: Why Should You Care? Inside a Google Gadget Building a Gadget in Java
BEA Confidential
star performer for [2007] was Googles personalized start page service iGoogle which increased traffic in the 12 months to November by 267.64%. (TechCrunch)
Google gadget ecosystem received 960 million pageviews last week (Niall Kennedy)
Consider how your enterprise can benefit from deploying Google Gadgets
A
BEA Confidential
Agenda
Introduction to iGoogle and Google Gadgets Google Gadget: Why Should You Care? Inside a Google Gadget Building a Gadget in Java
BEA Confidential
is usually dynamic
HTML
Implementation Content
BEA Confidential
web server
.NET
BEA Confidential
can be any web page should return HTML that can render in a small area
Descriptor also provides metadata about the Gadget Must exist somewhere on a public web server on the internet
BEA Confidential
BEA Confidential
DEMO2
BEA Confidential
Agenda
Introduction to iGoogle and Google Gadgets Google Gadget: Why Should You Care? Inside a Google Gadget Building a Gadget in Java
BEA Confidential
Java Servlets
Apache Tomcat, BEA WebLogic Server, and many others Each provides an implementation of an HttpServlet Container HttpServlets are Java classes that emit dynamic markup (usually HTML) over HTTP Servlets can therefore be used to implement Google Gadgets A programmer can implement a Servlet directly
BEA Confidential
Velocity
BEA Confidential
Helloworld.jsp
<%@ page import="java.util.*" %> <html> <body> <h1>Hello World JSP</h1> <% // Java code here String color = Red; %> <p>My color: <%= color %> </p> </body> </html>
BEA Confidential
DEMO5
BEA Confidential
BEA Confidential
Conclusion
Google Gadgets are popular Gadgets are easy to implement Gadgets can be placed on any page Pick your favorite web technology Java Servlet technology is a quick way to build dynamic Gadgets in Java
BEA Confidential