Portlet Deployment Albert Einstein Institute Deploying JSR portlet applications to GridSphere.

Slides:



Advertisements
Similar presentations
May 13th, Lucek Consulting Basic Java Servlet/JSP Web Development David Lucek Lucek Consulting
Advertisements

Struts Portlet Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Introduction to Maven 2.0 An open source build tool for Enterprise Java projects Mahen Goonewardene.
Development Configuration Guide Using NetBeans IDE
The Developer Perspective Michelle Osmond. Design – Requirements Gathering Sales & Research projects –Prototypes/Demos User group meetings Usability workshops.
ANT: Another Nice Tool Ali Beyad October 1, 2003.
My First Building Block Presented By Tracy Engwirda 28 September, 2005.
MC365 Ant. Today We Will Cover: Overview of Ant Installing Ant Using the Ant command line tool Various Ant commands available Using Ant in Eclipse.
Object-Oriented Enterprise Application Development Tomcat 3.2 Configuration Last Updated: 03/30/2001.
Installing JDK and Tomcat Vijayan Sugumaran Department of DIS Oakland University.
Starting with Gridsphere Albert Einstein Institute Gridsphere Installation.
Installing JDK and Tomcat Vijayan Sugumaran Department of DIS Oakland University.
Tomcat Organization Deploying applications. Confusion Like a web server Root locations are from a defined directory location In addition… from that point.
UPortal System Architecture. System Requirements Microsoft Windows Solaris Linux Mac OS X.
Apache Tomcat Representation and Management of Data on the Web.
DT211/3 Internet Application Development Web Servers.
Workflow Visualization Anna Sallstrom. The situation VLab portal VLab portal Tools for material analysis Tools for material analysis Portlets Portlets.
Information Networking Security and Assurance Lab National Chung Cheng University WebGoat.
Tomcat Configuration A Very, Very, Very Brief Overview.
Creating a.war file W(eb) AR(chive). Creating a.war file The following article may contain actual software programs in source code form. This source code.
Web Applications Basics. Introduction to Web Web features Clent/Server HTTP HyperText Markup Language URL addresses Web server - a computer program that.
JSF Portlet Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Java Servlets and JSP.
Configuring Apache tomcat Specifying the server port NOTE: Edit the install_dir/conf/server.xml and change the port attribute of the connector element.
Themes & Layout Tutorial Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written.
JSP and Servlets Lecture notes by Theodoros Anagnostopoulos.
© Blackboard, Inc. All rights reserved. Developing Blackboard Building Blocks: Getting Started John Knight Senior Engineer Blackboard Inc. July 18 th.
Module - Technical Basics
NBCR Summer Institute 2006 GridSphere:Hands-on Installation and Development Jason Novotny
1 CS6320 – Deployment and Context L. Grewe 2 The Servlet Container Servlets run in a container sometimes called the Servlet engine. Servlets run in a.
AUTOBUILD Build and Deployment Automation Solution.
Tomcat Spencer Uresk. Notes This is a training NOT a presentation Please ask questions This is being recorded
Apache + Tomcat. Apache + Tomcat Download mod_webapp.so:
TimeTablePublisher T3 Webinar Frank Purcell May 14, 2008.
SchwartzGBIF Nodes III29 April 2003 DiGIR Portal Installation And Configuration.
Application Servers: Tomcat. What is an application server? Servlets are Java’s answer to server-side programming. Servlets are a special type of Java.
CS441 CURRENT TOPICS IN PROGRAMMING LANGUAGES LECTURE 5_1 George Koutsogiannakis/ Summer
Guidelines for Homework 6. Getting Started Homework 6 requires that you complete Homework 5. –All of HW5 must run on the GridFarm. –HW6 may run elsewhere.
INDIVIDUAL ACHIEVEMENT. EDUCATIONAL EXCELLENCE. ADMINISTRATIVE INNOVATION. INSTITUTIONAL PERFORMANCE. 1 Develop and Deploy JSR-168 Portlets Presented by:
Using Cocoon 2.2 The Classic Way Vadim Gritsenko - -
JBoss at Work JAW Motors Application Chapter 1-3 Jeff Schmitt October 9, 2006.
CS-4220 Dr. Mark L. Hornick1 Servlet configuration and deployment.
Tomcat Setup BCIS 3680 Enterprise Programming. Getting Web Apps to Work  Verify that Tomcat works.  Understand how context works.  Create folders/files.
Basic Setup Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
C HAPTER 11 D EPLOYING YOUR WEB APP. WAR FILE A WAR file is simply a snapshot of your web app structure, in a nice portable, compressed form (it is really.
Topic Java EE installation (Eclipse, glassfish, etc.) Eclipse configuration for EE Creating a Java Web Dynamic Project Creating your first servlet.
Ant & Jar Ant – Java-based build tool Jar – pkzip archive, that contains metadata (a manifest file) that the JRE understands.
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
Ibm.com /redbooks © Copyright IBM Corp All rights reserved. WP07 ITSO iSeries Technical Forum WebSphere Portal Express– Installation, Configuration.
RADE Project Generator. Outline Introduction Project Types Options Generator Files and Layout Source Control (Video 3 Min) Templates and Nifty Tools.
All Hands Meeting 2005 GridSphere: A Portal Framework Jason Novotny
Installing and Configuring Tomcat SSE. Downloading Tomcat l Download url: 4.0/release/v4.1.24/bin/
Chapter 1 Introducing Ant. What is ant? Ant is a build tool  Automate the tasks of compiling code, running test, and packaging the results for redistribution.
IPT – Getting Started June Online Resources Project Website Requirements Server Preparation Installation Running IPT Installation Demo Upgrade/Reinstall.
Core basic Java web server technologies. Tools Eclipse IDE for Java EE Developers (Netbeans also works) nloads/packages/eclipse-
Short Course on Grid Computing Jornadas Chilenas de Computación 2010 INFONOR-CHILE 2010 November 15th - 19th, 2010 Antofagasta, Chile Dr. Barry Wilkinson.
Group 2 Aurora Cain Michael Liu Brian Rozier UNC Charlotte ITCS 4146 Spring 2007.
(1) Code Walkthrough robocode-pmj-dacruzer Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences University of.
Tomcat Setup BCIS 3680 Enterprise Programming. One-Click Tomcat Setup 2  This semester we’ll try to set up Tomcat with a PowerShell script.  Preparation.
1 Web Programming with Servlets & JSPs WEB APPLICATIONS – AN OVERVIEW.
An Introduction to Ant. What is Ant? How do you use it? Why would you want to?
Tutorial on Science Gateways, Roma, Riccardo Rotondo Web Application Development Introduction to application servers, web applications and portlets.
Google Web Toolkit Tutorial
Copyright © Liferay, Inc.
LOCO Extract – Transform - Load
Developing the Tools Montreal 2004
Application Deployment
J2EE Application Development
Introduction to JBoss application server
Cordova & Cordova Plugin Installation and Management
Presentation transcript:

Portlet Deployment Albert Einstein Institute Deploying JSR portlet applications to GridSphere

Gridsphere installation Two approaches Use gridsphere development environment to develop portlets ant “new-project” task from gridsphere directory creates new project environment project is in gridsphere/projects and contains all necessary template files including build.xml ant “update-project” copies latest build.xml template from gridsphere to project dir. Template build script includes targets compile, install, docs for easy compilation and deployment of new application Use existing JSR compliant portlet application Requires modifying web.xml to add GS portlet loader

Gridsphere installation Use GS new-project tool

Gridsphere installation Create sources Place all portlet source code in portlets directory of new project e.g. src/org/myorg/portlets/... Place all code for services in services directory e.g. src/org/myorg/services/... Place JSPs, HTML, etc in webapp directory Modify template config files webapp/WEB-INF/portlet.xml (optional) group.xml and layout.xml Ready to deploy

Gridsphere installation Configuring the webapp A third-party JSR webapp may have vendor dependent configuration files GridSphere requires the following files to be modified or added to existing portlet apps: web.xml - specifies GS portlet loader servlet gridsphere-portlet.xml - specifies GS portlet loader portlet portlet.xml - a portlet descriptor (optional) group.xml - a group descriptor (optional) layout.xml - a layout associated with the group

Gridsphere installation web.xml Add an entry for GridSphere PortletServlet change XXX to the web application name e.g. sampleportlets org.gridlab.gridsphere.provider.portlet.jsr.PortletServlet PortletServlet org.gridlab.gridsphere.provider.portlet.jsr.PortletServlet PortletServlet /jsr/ XXX

Gridsphere installation gridsphere-portlet.xml JSR Portlet Servlet PortletServlet Portlet Servlet en Portlet Servlet A JSR Portlet Loader portlet servlet GridSphere requires this descriptor to load portlet loader change XXX to the web application name e.g. Add an entry for GridSphere PortletServlet change XXX to the web application name e.g. sampleportlets

Gridsphere installation group and layout A group descriptor defines a group for this portlet collection with access rights group can be public (anyone can join) or private A layout descriptor defines placement of portlets within tabbed panes, tabs in layouts, etc. If no group and layout descriptor exist, they can be created via the portal from the Administration portlets See gridsphere/webapps/gridsphere/WEB- INF/{group.xml, layout.xml} for usage

Gridsphere installation Deployment If using GridSphere template project, issue “ant deploy” in project directory Third-Party applications: Use existing tools or manually copy to servlet container Add blank file to $CATALINA_HOME/webapps/gridsphere/WEB- INF/Portlets directory Used by GS to find portlet apps to load on startup

Gridsphere installation Deploy via portal Now you can restart Tomcat OR Deploy via the running portal: