Tag components wrap major COG Abstraction Layer features
And Web Service clients, GridShib , etc.
Supports tag inter-dependencies .
Allows you to do standalone development.
Use JSF portlet bridge to convert into portlets
No new coding, just add/modify XML config files and jars.
Process is automated
Or forget about portlets
Convert into Google Gadgets
Develop as a Facebook application
Etc.
Getting GTLAB
See http://www.collab-ogce.org/ogce/index.php/GTLAB
You can use your favorite SVN client to check out.
svn co https://ogce.svn.sourceforge.net/svnroot/ogce/GTLAB (latest)
svn co https://ogce.svn.sourceforge.net/svnroot/ogce/tags/GTLAB-tg09 (tagged)
“ Latest” will give you easy access to any updates
“ svn update”
Best option if you want to actively develop and get fixes right away.
No SVN? Get the TAR
SourceForge’s SVN/CVS viewer now provides a “Download GNU Tar” option.
http://ogce.svn.sourceforge.net/viewvc/ogce/GTLAB/ for latest.
http://ogce.svn.sourceforge.net/viewvc/ogce/tags/GTLAB-tg09/ for tag
Levels of Abstraction in GTLAB code
Note JSF is compatible with JSP, so you can mix and match.
And you can embed JavaScript
YUI, Scriptaculous user interface goodies.
Google and Facebook APIs.
You can use prepackaged gadgets/portlets. You can develop new applications using existing tag libraries. You can make new tags for your services You can hack or steal the code
Tag Description MyProxy Gets a proxy credential (COG) JobSubmit Runs remote commands (COG) FileOperation Create, delete, list remote files and dirs (COG) FileTransfer GridFTP downloads, 3 rd party transfers (COG) XSubmissionOutput Format outputs of job and file operations ResourceDiscovery Clients for the RDS ResourcePrediction Clients for the RPS MyCommunityProxy Get and decorate TG Community credentials with Grid Shib Community Log Log use of TG Community credentials
These will work as gadgets, portlets, or standalone applications GTLAB Example Description MyProxyExample Get a credential and store in OGCE global proxy store. JobSubmitExamples Various examples showing how to submit a grid job and get output. Dashboard Examples Runs showq on Big Red, Cobalt, and Mercury and formats output. DirectoryBrowser Displays and downloads files on a remote host via GridFTP MultipleTaskExample Shows how to couple file transfers, operations, and
Gadgets and Portlets
GTLAB Gadgets Code Base GTLAB Portlets Code Base Tomcat Web Server Tomcat Web Server + Portlet Container iGoogle Client Aggregator Compile and deploy into server Decorate with bridge and container jars, xml config files. GTLAB gadgets can also run as portlets with no code changes by using the JSF portlet bridge.
Making GTLAB Google Gadgets
A Gadget is a standalone application that is integrated into your personal iGoogle display.
They can run on your Web server .
You can use SSL/HTTPS
Google Gadgets have two versions
http : these use Google’s JavaScript APIs
url : these wrap external applications with Iframes.
We currently support “url” gadgets.
Example Gadget Config File <?xml version="1.0" encoding="UTF-8" ?> <Module> <ModulePrefs title="MyProxy Gadget Example" scrolling="true" height="500"/> <Content type="url" href="http://…/:8080/GTLAB/examples/MyProxyExample.jsf"> </Content> </Module> Save this as MyProxy.xml and place in a Web accessible place.
Other Gadgets Providers Tomcat + GTLAB Gadgets Grid and Web Services (TeraGrid, OSG, etc) Other Gadgets Providers Social Network Services (Orkut, LinkedIn,etc) RSS Feed, Cloud, etc Services Gadget containers aggregate content from multiple providers . Content is aggregated on the client by the user. Nearly any web application can be a simple gadget (as Iframes)
Click “Add stuff” and then “Add feed or gadget”. Type the URL of your gadget.
GTLAB Applications as Google Gadgets: MOAB dashboard, remote directory browser, and proxy management.
Tomcat + Portlets and Container Grid and Web Services (TeraGrid, OSG, etc) Grid and Web Services (TeraGrid, OSG, etc) Grid and Web Services (TeraGrid, OSG, etc) HTML/HTTP SOAP/HTTP Common science gateway architecture. Aggregation is in the portlet container. Users have limited selections of components.
Making GTLAB Gadgets into Portlets
Do all development in jsf_standalone directory
This is where your template tags will be placed
When you are ready to convert:
Download and build the OGCE portal
cd GTLAB/transition
mvn clean process-resources
cd GTLAB/portlets
mvn clean install
You will need to make small edits to portlet.xml, group.xml, and layout.xml in GTLAB/portlet/src/main/webapp/WEB-INF/
That’s it.
Various GTLAB applications deployed as portlets: Remote directory browsing, proxy management, and LoadLeveler queues.
Getting Started with GTLAB
GTLAB Directory Structure
Build GTLAB
Unpack or checkout code
Cd GTLAB
All commands are executed from here.
Edit properties at the top of pom.xml.
Change IP
Change project.home if you unpack someplace besides $HOME.
0 comments
Post a comment