Microstrategy provides two jsr 168 compliant microstrategy portlets, called mstrportlet and mastermstrportlet. It must be 100% jsr 168 compliant must support portlets. In jsr168 a portlet application may aggregate several different portlets and is packed in a war file just as a standard java web application. In oracle webcenter 10g, oracle jsf portlet bridge is based on and conforms to jsr 301, whereas in oracle webcenter 11g, oracle jsf portlet bridge.
Jsr 168 compliant portlets are therefore container and. I want to create a simple link which gives the user the possibility to download a file e. This article will first describe how to write a jsr 168 portlet, and then cover how to implement a service within a portlet. Many people ask how to achieve file downloads from a portlet project. I am able to download csv file currently but whenever i download pdf or xls file i get corruptesd data. Developing portlets using eclipse portal pack in project. Deploying jsr168 portlets problem oracle community. Uri of the virtual dataport server that the portlet will obtain the data from. About the sample code a download accompanies this tutorial. What we have found is that the stardard is pretty simplistic, and we dont find a way to access things like the portlet s id or the image server url, which we are used to using.
The reason for this is that i am trying to download the file. Introduction to developing jsr168compliant portlets. Liferay portal makes it possible to run portlets compatible with jsr 168. An open source site for organizations to share portlets developed according to the new jsr 168 and wsrp standards. Is it possible to download a file from a jsr 168 portlet. The java portlet specification defines a contract between the portlet container and portlets and provides a convenient programming model for java portlet developers portlets are pluggable user interface software components that are managed and displayed in a web portal, for example an enterprise portal or a web cms.
Then click on the section that contains the values you want to edit. This is the first in a twopart series on developing jsr 168 struts portlets. Updates to the original java specification request jsr. Communication between jsr 168 portlets anders3 aug 12, 2007 4. System requirements for downloading the web material. Jsr168 java specification request defines a standard that allows portlets written in java to run in multiple portal frameworks sap enterprise portal 6. Follow the portlet wizards directions, specifying that this will be a java portlet, and that this portlet will use the. Jsr 168 interportlet communications using ibm rational. Simple download fileresource from a jsfportlet portals and. This allows developers who want to use any jsr 168compliant portlet. Netbased portal framework it does not support jsr168. Jsr 168 portal api and optional features available to the programmers i. This setting optimizes performance, informing the portlet container that it does not need to wait for the portlet window to publish remote cache information.
The goal is to allow portlets to be packaged into war files and deployed in a standard way on any server implementing the specification. This topic contains 29 replies, has 25 voices, and was last updated by riyad kalla 12 years, 8 months ago. Another challenge is the differences in portal architectures. When clicking on jsr168 or jsr286 in the export column of the widgets status table, the user will have to fill in. Download pdf jsr168 portlet development simplified, second edition. Simple download fileresource from a jsfportlet portals. Render and action are two phases originally defined by portlet specification 1. Difference between jsr 168 and jsr 286 portlet life cycle. I want to make a portlet which shows a file list and allows users to download and upload files. It walks through creating a simple struts portlet using rational application developer v6.
This session will introduce the unique characteristics of portals, the portlets of which they are built, and the jsr168 specification that enables. A portlet container runs portlets and provides them with the. So, at this point if you were creating a portlet to be jsr 168 complient outside of ext, or core. Few of the portals support direct import of the jsr168 portlet web archive war file. Harnessing jsr168 portletconfig example we used an init parameter from the portletconfig to pass the location of a configuration file to the portlet string settings config. Your use of this publication shall be governed by the terms established by the vendor at the time you acquire this. Done some research and have found that serverresource method appears to be the way to go, but this does not seem to be available for jsr 168 portlets. Noel bergman introduction to portlet programming with jsr168 page 2 session overview portals are a hot growth area, but prior to jsr168, we lacked a standard api for portlet development. Here is a very nice article on comparing jsr 168 specification with the ibm portlet api. Support for portletsportals jsr 168 myeclipse ide feature requests. Jsr168 portlet development simplified, second edition. Using adobe flex in jsr286 portlets this article shall show you how the adobe flex sdk can be used in a portal environment to enhance the user interface for a portlet. Pdf on jan 1, 2009, piotr kopniak and others published portals and portlets the quick.
In jsr 168 portlet specification will render only html content in render phase it cant render some resources like pdf, images and other content type. What id really like is something that contains one or more of the following lists. Imagine a great book that made understanding the jsr168 api easy, and taught you exactly what you needed to know to start developing effective portlet solutions. Communication between portlet factory and jsr 168 stack. So far we seen, render phase is used to generate the content of portlet.
Howto dowloading files from a portlet liferay community. Running the example before running this example, you need to perform two beaspecific tasks. After jsr 168 inception, java portlets may be deployed on any java portal servers. A portlet can aggregate integrate and personalize content from different. November 10, 2003 portlet open source trading post site for jsr 168 and wsrp portlets. The main goal of this version is to align the java portlet specification with j2ee 1. Pdf portals and portlets the quick design of web applications. Imagine a portlet development book that dealt with just that. This jsr requests the creation of the next version of the portlet specification. The java portlet specification defines a contract between the portlet container and portlets and. Another point, when your portlets are deployed, it does not matter if you have created them using portlet factory or rad or any other tool.
Enables interoperability among portlets and portals. A service oriented architecture for portals using portlets citeseerx. Things you have to do to a jsr168 to make it become jsr286 compliant. In jsr 286 was added another feature called serving resources with help of this we can serve the images, pdf and other content types to client. Configuring jsr 168 portlets the transmission of the document contents to the client machine is handled through a servlet, contentservlet listing five. The book offers the reader the tools and information necessary to develop portlets and portal applications in two ways. An open source site for organizations to share portlets developed according to the. The cover pages is a comprehensive webaccessible reference collection supporting the sgmlxml family of meta markup language standards and their application. Contentsource configuration, as mentioned previously, portkets achieved with a properties file.
This tutorial is intended to provide you a full detailed explanation for getting liferay portal up and running and deploy the same employee registration sample that we had developed in earlier tutorial. Addresses standardization for preferences, user information, portlet request and responses, security, deployment packaging. But then later on, portlets are expected to serve content other than html. The download includes a war file which contains the two demo portlets with the source code and wsdl files. This project provides jsr 168 portlets implementing different functionalities of a crm application contact and account management, opportunity management, customer communication automation, reporting. Portals employ portlets as pluggable userinterface. Jsr168 268 in draft is a javabased standard for how to code pluggable portlets i. Building standardsbased java portlets using jsr 286. This document contains information relevant to plumtree supports wsrp and jsr 168 portlet standards and is part of the cover pages resource. This article will focus on the portlet side of things, by showing how to create a simple portlet and deploying that into a portal. Export to jsr168 or jsr286 portlet virtual dataport. The eclipse portal pack provides a set of plugins that help you to develop jsr 168286 portlets and deploy them on supported portlet containers. Some jsr 168 portlets containerportals have proprietary eventing mechanisms like websphere portal has cooperative mechanism. This approach allowed us to define our portlet multiple times, each with a different configuration file.
The following tables describe how various parameters in the oracleportlet. Generally in servlet web application each servlet will be referred by url to invoke or access and each web page content will be served by one servlet but in portlets each page will be served by different portlet and each portlet will have its own lifecycle and own url pattern to execute. Copy the sas bi portlets picklist file to tell the portlet which of the jar files from the. It includes for both the jsr 168 and jsr 286, the api, xsd and tlds. Ideally they should be available without the file having to be physically saved in the epp server. So, at this point if you were creating a portlet to be jsr168 complient outside of ext, or core.
Updates to the original jsr java community process. The principal objective in this public access knowledgebase is to promote and enable the use. Difference between jsr 168 and jsr 286 portlet life cycle,jsr 168 portlet life cycle,jsr 286 portlet life cycle. Learn all about the second version of the java portlet specification jsr 286. Many of them require the war to be run through a preparation tool or some other multistep deployment process. This is useful if jsr 168 portlets are run in the 286 container, as any jsr 168 portlet extending javax. This edition applies to version 6 of ibm rational application developer and version 5. What is jsr 168 portlet specification and its advantages. Building a web service powered jsr 168 financial portlet. They are pluggable into a jsr 168 compliant portal. The java portlet specification pdf, which describes the benefits of jsr 168 and introduces the portlet programming model through the code of a robust portlet example. The portlet programming model also provides events and public render parameters so that you can build larger composite applications out of your portlets and. The following is a brief description of the properties that are common to both jsr 168 and jsr 286 portlets. There are three plugins available in the eclipse portal pack.
In addition to lack of support, there are also serious bugs with some of the portal and application servers. Portlet specification was constructed to enable interoperability between portlets and portals. The portlet specification is required to achieve interoperability between portlets and javabased portal servers or other web applications that implement the specification. Genericportlet automatically inherits the jsr 286 functionality, which automatically forwards resource requests to a file in the web application named after the resource id, creating a potential security problem. Pdf a service oriented architecture for portals using portlets. Hence a portlet or collection of portlets resembles a webbased application that is. Also you can compress javascript and compress css and generate sql connection strings. Uploading does not seem a problem, but downloading does. If a portal page contains five portlets then all the five render methods will be called either in parallel or one after another.
An open source web site featuring shared resources for implementation of the jcp jsr 168 and wsrp oasis standards has been announced by plumtree software, documentum, bea systems inc. It has also previously been possible to use flex with jsr168 portlets and alike flexportal, but with the new portlet 2. It is planning to support editors for the portlet descriptors and wizards to generate new project and portlets size. Figure 2 illustrates how the portlet in the presentation layer interacts with a financial service in the service layer to get data. This is because, portlets can only return markup fragments. Select the portlets tab, and then select the portlet from the portlets list box. Since its inception, jsr 168 has received strong and enthusiastic industry support.
Pdf portals and portlets are emerging technologies and gaining lot of popularity. Sharepoint supports the wsrp web services for remote portlets standard. You could deploy and run this portlet to websphere portal v5. Each portlet will generate small part of whole page. The correct solution would be to use a separate servlet.
A set of plugins to add portlet jsr 168 and jsr 286 support to eclipse. There are different types of portlet containers such as apache pluto, oracle web center and liferay. I spent several hours with searching for a solution, but without any success. Portlet software downloads download32 software archive. Part 1 focuses on building portlets that will adhere to the jsr 168 api standard. Portals and portlets are emerging technologies and gaining lot of popularity. Things you must not do, that would cause an otherwise jsr286 compliant portlet to be considered only jsr168. They are also often generated on the fly, like a pdf report, or a captcha image. Plumtree supports wsrp and jsr 168 portlet standards xml. The portlets of the application are defined in a file called 1.