Professional Documents
Culture Documents
Creation of Hybrid Portlet Application For File Download
Creation of Hybrid Portlet Application For File Download
5/1/2018
What is a Portal?
Portal is a central place for making all types of information accessible to an
audience of varying range.
Portal
– Enterprise Information Portals – Vast information consolidated in single
screen.
– Content Management Portals – Access and sharing of information.
sds
IBM WebSphere Portal is a set of software tools that enables companies to build
and manage web portals. It provides a single access point to web content and
applications, while delivering differentiated, personalized experiences for each user.
3
Portal Principles
Combines portlets (application user interfaces
and/or content) together into one unified
presentation
4
WCM Overview
Web Content Manager is used to create, manage, and deliver content for your
website.
It manages:
5
Web Content Management features
Content management
Web Content Management comes with a set of tools to manage the creation,
approval and publication of web content.
6
IBM Rational Application Developer
IBM® Rational® Application Developer for WebSphere® Software accelerates
the development and deployment of Java, Java EE, Web 2.0, mobile, OSGi,
portal and service-oriented architecture (SOA) applications.
Both expert and novice developers can increase productivity and efficiency by
using its many integrated capabilities for easier development, testing, analysis
and delivery of applications.
Creation of multi-channel portlet application
Create a multi-channel portlet application in RAD that will provide different UI for
desktop browser and smartphone/tablet browsers.
In this case you will design the application in such a manner that it will show you a list of web
content present in a sample library.
8
Web vs Native vs Hybrid
IBM Worklight
IBM Worklight helps you extend your business to mobile devices.
IBM Worklight can help you reduce both app development and maintenance costs,
improve time-to-market and enhance mobile app governance and security.
Hybrid application created in Worklight
The desktop version of this sample downloads the file onto any location that the user
chooses in the file system.
The hybrid mobile version created using IBM Worklight would add native functionality of
downloading the selected file onto the device.
The sample uses Dojo Mobile toolkit for UI generation of mobile version and dojo
widgets for desktop version.
12
Creation of a hybrid application with native functionality
At a high level, it involves the following steps:
Creation of a hybrid application (for android environment) in worklight.
Updating the application to fetch contents from portal run-time. The cordova js file
would reside in the Portal side.
Updating the portlet JSP to add a download icon when the portal page containing the
portlet is accessed by the application.
13
Thanks
14