CN100458782C - Display and installation of portlets on a client platform - Google Patents

Display and installation of portlets on a client platform Download PDF

Info

Publication number
CN100458782C
CN100458782C CNB2005800279061A CN200580027906A CN100458782C CN 100458782 C CN100458782 C CN 100458782C CN B2005800279061 A CNB2005800279061 A CN B2005800279061A CN 200580027906 A CN200580027906 A CN 200580027906A CN 100458782 C CN100458782 C CN 100458782C
Authority
CN
China
Prior art keywords
portlets
portlet
view
server
computer system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2005800279061A
Other languages
Chinese (zh)
Other versions
CN101006442A (en
Inventor
布伦丹·亚瑟斯
斯坦利·K.·杰拉德-邓恩
克拉恩·J.·奥马霍尼
查尔斯·R.·E.·史密斯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Snap Inc
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Publication of CN101006442A publication Critical patent/CN101006442A/en
Application granted granted Critical
Publication of CN100458782C publication Critical patent/CN100458782C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention provides a client computer system, method and software tool for displaying portlet content. The system comprises a user interface, a portlet server and a portlet view tool. The user interface allows the display of a page including one or more view window(s) , each displaying content provided by a component of the computer system. The portlet server processes requests for portlet content, and has one or more portlet(s) installed thereon. The portlet view tool is associated with a portlet installed on the portlet server, and controls the associated portlet. A web browser is used to display content from the associated portlet in a view window on the display.

Description

Demonstration and the installation of portlets on client platform
Technical field
The present invention relates to data processing field, and be particularly related to demonstration and the installation of portlets (portlet) on client platform.
Background technology
WWW (World Wide Web) is the multimedia information retrieval system of internet.In the web environment, client machine uses HTTP(Hypertext Transport Protocol) and web server to communicate.The web server uses the SPDL that is called HTML(Hypertext Markup Language) to provide the visit such as the file of text, figure, image, sound, video etc. as the user.HTML basic document format is provided and has allowed the developer to specify be called hyperlink, being connected to other servers and file.In the example of internet, the network path that arrives server is by URL(uniform resource locator) (URL) sign, and URL has the special grammer that is used for the define grid connection.So-called web browser, for example Netscape Navigator (Netscape Navigator is the registered trademark of Netscape Communications Corporation) or MicrosoftInternet Explorer (Microsoft and Internet Explorer are the trade marks of Microsoft), they are application programs of moving on client machine, make that the user can be by visiting information and navigating between different html pages with the URL designated links.
When the user of web browser selected a link, client machine sent request to name service (naming service), so that host name (in URL) is mapped as the residing particular network IP of server machine (Internet protocol) address.The name service is returned can be in response to the IP address of described request.Use described IP address, the web server is established to the connection of server machine.If server machine can be used, then it returns the web page.In order to assist the further navigation in website, the web page generally includes one or more being called " anchor point (anchor) " or the hypertext of " link " is quoted (hypertext reference, " HREF ").
Door (portal) normally will compile and its web that is illustrated in the door web page will be used from the content of various separate sources, and may have the content that the complicated personality feature comes to provide for the user customization.Portal application can provide gateway for one or more backend software applications, and often is provided on the independent portal server.
Portal server is the portal page that comprises one or more portlets (portlet) with the web content arrangement usually.Portlets is the web assembly, and by the portlets Container Management, the dynamic web content is handled and produced to portlets.Door can with this content of often being called as fragment (fragment) with from the content aggregation of other portlets together, thereby form portal page.According to user's configuration of portlets, the content that is produced by portlets may be different for different user.
Door provides navigate frame (navigation framework) for the web page set by the level arrangement on the server.This framework provides and has allowed the user interface of navigation by the system of the obtainable page on the server.Provide the user interface of this navigation to be called theme (theme).Each page can comprise zero or more a plurality of portlets, and page arrangement pre-determines and makes up by using design or management tool.
Utilize the server-side portal of standard, use client web browser to check that several portlets compile output on the single page.The user causes the portlets operation to be received by door by for example submitting form to or following link and carry out reciprocation with the content that portlets produces.When portal server received the HTTP request, it determined that whether described request comprises with any portlets that is associated with portal page is the operation of target.If existing with the portlets is the operation of target, then described portal requests portlets container calls described portlets and handles described operation.Described portlets is handled described operation, and produces the contents fragment that will be included in the new portal page.In addition, being requested every other portlets on the portal page refreshes and contents fragment is delivered to described door.Described door is packaged in each portlets contents fragment in the portlets window, adds title and control knob for each window.Sometimes this is called as ' packing (wrap) ' each contents fragment that is provided, and the additional markers that is used for packing described fragment is called as ' skin '.Described skin can comprise control knob, described control knob can be used to for example portlets be placed the AD HOC as editor or configuration, perhaps the show state of portlets is changed into maximization or minimized visual state, just as what in common windows system, will see.Then, door compiles the portlets window and is complete portal page, so that send to client.The web browser presents described code on the display screen of client.
If the user is from the URL to the door homepage, perhaps pass through to the URL link beginning of specific webpage, perhaps pass through to the URL link beginning of the example of portlets, then can be by the navigate frame that provides by theme to the navigation of the page that provides by described door; Under latter event, described door provides the complete page that comprises this portlets.
A lot of companies have done huge investment and have satisfied its business need in the exploitation of portlets.At present, these are application of pure server side, have only the client of use web browser just addressable, and general only just addressable when the network by certain form is connected to portal server.For the user, can when not being connected to network, continue to use those identical portlets to be highly profitable.This can realize by those portlets being rewritten as for the stand-alone utility that is deployed in client-side.But this will require to revise all portlets and move as stand-alone utility to allow them, and this will be expensive and task consuming time, might hinder from the server migration to the client-side.The present invention is intended to address these problems.
Summary of the invention
According to a first aspect of the invention, provide a kind of method that is used for installing portlets at client platform.Client platform has the user interface that is used to show the page that comprises one or more view window, and each described view window all shows the content that the assembly by computer system provides.The portlets server that is used to handle to the portlets requests for content is provided.In response to the selection of user to portlets, selecteed portlets is installed on the portlets server, and generation and selecteed portlets associated portlet view tool.Portlet view tool can be operated to be used for moving and is used at the web browser of view window demonstration from the content of its associated portlet, and the control associated portlet.
Described method can also comprise any one in the following step: one or more files are provided, and each described file all comprises at least one portlets; The tabulation that shows these files is selected for the user; Select with the detection user.
According to a second aspect of the invention, provide the Software tool that is used for installing portlets at the client platform that is equipped with the portlets server.Described instrument can be operated and be used to provide the Software tool that is used for installing in the client computer system with one or more portlets servers portlets, and described instrument can be operated and be used to provide the one or more data that all comprise the file of at least one portlets of sign.In response to the portlets of selecting for installation, described instrument indication portlets server is installed selecteed portlets and is produced and selecteed portlets associated portlet view tool.Described portlet view tool can be operated and is used for moving the web browser that is used to show from the content of its associated portlet, and the control associated portlet.
According to a further aspect of the invention, provide client computer system, comprised: user interface, it allows to show the view by the plug-in unit contribution that is registered to client platform; At least one portlets server is used to provide the web content from the portlets that is mounted thereon; With the portlets associated portlet view plug that is installed on the described portal server; With the portlet view tool that comprises the web browser module; Wherein, described portlet view plug-in unit comprises the identification data that is used for the portlets example on the described portlets server, and being configured to use described portlet view tool to described client platform contribution view, described view uses the web content of described web browser module demonstration from portlets.
Described client computer system can also comprise one or more files that comprise at least one portlets respectively.
According to a further aspect of the invention, provide the use client computer system on display page, to show the method for portlets content.Described method comprises following steps: be provided for showing the user interface of the page that comprises one or more view window, each described view window all shows the content that the assembly by computer system provides; With the portlets server that is provided for handling to the portlets requests for content, described portlets server has one or more portlets mounted thereto.After selecting, view window is provided on display page, and moves the web browser therein for the portlets that shows., and it is presented on the display page in the view window that is provided from selecteed portlets request web content by described web browser.
According to a further aspect of the invention, the Software tool that is used for client computer system is provided, described client computer system comprises: be used to show the user interface of the page that comprises one or more view window, each described view window all shows the content that the assembly by computer system provides; With the portlets server that is used to handle to the portlets requests for content, described portlets server has one or more portlets mounted thereto.Described Software tool comprises portlet view tool, described portlet view tool is associated with portlets on being installed in the portlets server, and can operate and be used for controlling associated portlet and operation and be used for showing web browser from the content of its associated portlet in view window.
According to a concrete aspect of the present invention, a kind of client computer system that is used to show the portlets content is provided, comprise: be used to show the user interface of the page that comprises one or more view window, each view window all shows the content that the assembly by described computer system provides; Be used to handle portlets server, on the described portlets server one or more portlets be installed the portlets requests for content; With a plurality of portlet view tool, each is associated with portlets on being installed in the portlets server, be used to control associated portlet, and be used for moving and be used for showing that in independent view window web browser from the content of its associated portlet, wherein said portlet view tool comprise the device of the URL that is used for determining the portlets content that will be shown at the portlet view window by the web browse request.
According to another concrete aspect of the present invention, a kind of method of using client computer system to show the portlets content on display page is provided, comprise step: be provided for showing the user interface of the page that comprises one or more view window, each described view window all shows the content that the assembly by computer system provides; In client computer system, be provided for handling portlets server, on the described portlets server one or more portlets be installed the portlets requests for content; Provide and be installed in each portlets associated portlet view tool on the portlets server; The portlets that selection is used for showing on display page; Independent view window is provided on display page and moves the web browser therein; By the web browser from being installed in the selecteed portlets request web content on the portlets server; The web content that receives is provided on the display page in the view window that is provided; URL with the portlets content of determining in the portlet view window, to be shown by described web browse request.
According to another concrete aspect of the present invention, provide a kind of being used for that portlets is installed in method on the client computer system, described client computer system has the user interface that is used to show the page that comprises one or more view window, each described view window all shows the content that the assembly by computer system provides, and described method comprises step: be provided for handling the portlets server to the portlets requests for content; Select portlets in response to the user, selecteed portlets is installed on the portlets server; With generation and selecteed portlets associated portlet view tool, described portlet view tool can be operated to be used for moving and is used at the web browser of independent view window demonstration from the content of its associated portlet, and the control associated portlet, wherein said portlet view tool comprises the device of the URL that is used for determining the portlets content that will be shown at the portlet view window by the web browse request.
The door aggregation model of using in prior art systems is not employed.On the contrary, independent view window is associated with each portlets.Move in web browser each in these views.Browser in the portlet view is directed to navigate to the page that is associated with this portlets, thereby shows the output of this portlets.So communications all between user and the portlets all use HTTP to take place by built-in browser.Can make a change the pattern of portlets or the request of state by portlet view tool, and redirect to specific URL by the browser that will be associated these requests are conveyed to described portlets with this portlets.
The preferred embodiments of the present invention allow operation in the window of portlets on rich client platform (also being called SmartClient, Fat Client or thick client) of unmodified, the rich client platform be carry out that great majority are handled and few processing or non-processor by the client of server execution.The control of portlets is moved to client UI from the portlets mark.From user's angle, between portlets and any other client side application, there is not difference.If the user can be according to being deployed as the server side portlets with portlets then its identical mode of interactive mode with it, with described portlets reciprocation.Can use simple guidance system that portlets is installed in the client, and remove similarly.Therefore, provide the support of client-side to portlets, allow they in the rich client environment at local runtime, eliminated the demand that independent server is connected with network.This will allow enterprise utilize they on the server side portlets investment and do not require any modification to the portlets code of having write.
Description of drawings
Referring now to accompanying drawing the preferred embodiments of the present invention are described for example, in the accompanying drawings:
Fig. 1 shows the example of display client platform;
Fig. 2 a shows the interactive skeleton diagram between the system component according to a preferred embodiment of the invention;
Fig. 2 b shows client plug-in architecture and functional module thereof, wherein can implement the system of Fig. 2 a;
Fig. 2 c shows the mutual relationship between the expansion of extension point and client computer system according to preferred embodiment;
Fig. 3 a, 3b and 3c show the screenshot capture of the part of the display page that can be shown according to a preferred embodiment of the invention or display page;
Fig. 4 a shows the step that relates to when the display page of design consideration the preferred embodiments of the present invention;
Fig. 4 b shows the step that relates to when showing according to a preferred embodiment of the invention the display page stored; With
Fig. 5 shows the step that relates to when the portlets of installing according to a preferred embodiment of the invention.
Embodiment
In the following description with reference to accompanying drawing, accompanying drawing has formed a part of describing, and accompanying drawing shows an embodiment.Should be understood that the embodiment that can adopt other, and under the situation that does not depart from scope of the present invention, can make the variation of structure and operation.
In client-side method of the present invention, independent view window is associated with each portlets, and moves in web browser each in these view window.Browser in the portlet view is directed to navigate to the page that is associated with this portlets, thereby has shown the output of described portlets.So communications all between user and the portlets all use HTTP to take place by built-in browser.Can make a change the request of portlets pattern or state by client platform UI, and redirect to specific URL by the browser that will be associated these requests are conveyed to described portlets with this portlets.
The preferred embodiments of the present invention are used the client platform based on the Eclipse technology, and the Eclipse technology provides and made application tool performance history source code tectonic block, card cage and operation example smoothly.It is used to create, integrated and dispose the environment of the module that is called plug-in unit, described plug-in unit can be for the instrument of crossing over the use of series of computation environment.
The Eclipse platform definition worktable user interface (UI) and one group of public customer interaction example that is independent of the territory, described example is inserted to add new performance by tool configuration person.Described platform is accompanied by the one group of normal view that can be expanded by tool configuration person.Tool configuration person can either add new view, also the new performance specific to the territory can be inserted existing view.
Instrument is write the plug-in unit that the file in the Eclipse file space that is called as work space is in pairs operated, and for its UI in the worktable specific to instrument provide the surface.When starting the Eclipse platform, show the workbench window display page to the user, this page provides the Integrated Development Environment of being set up jointly by available plug set.Eclipse will move on various operating systems, comprise Linux TMAnd Windows TM(Micrisoft and Windows are the trade mark of Microsoft at the U.S., other countries and above-mentioned All Countries, and Linux is the trade mark of Linus Torvalds at the U.S., other countries and above-mentioned All Countries).
Described the Eclipse platform in the Eclipse platform technology summary of Object Technology International company, this for example can find at www.eclipse.org, and is comprised in here by reference.
The Eclipse platform comprises the add-on file folder, has wherein disposed each plug-in unit.Each plug-in unit all is installed in add-on file folder down in its oneself the file.Plug-in unit is described in and is called plugin.xml, is present in the XML inventory file in the add-on file folder and describes.Manifest file declares the interconnection of this plug-in unit to other plug-in units, and tell the Eclipse platform thing that it need be known in order to activate described plug-in unit.By plug-in registration Table A PI make resolved plug-in manifest file content the programming on available, and resolved plug-in unit standard be buffered in be called the plug-in registration table storer in the storage area in.
The Eclipse platform provides plug-in management kernel and some core inserter that is present in each Eclipse deployment.The identity of these core inserters is hard coded within the Eclipse platform, and described platform is known these plug-in units of activation in each running example of Eclipse.On the other hand, non-core plug-in unit is activated by other Plugin Requirements the time.
Interconnected model between the plug-in unit is very simple: plug-in unit statement any amount by named extension point, other plug-in units can have contribution to these extension points, and the expansion of described plug-in unit statement any amount, described plug-in unit is contributed one or more extension points to other plug-in units with described expansion.Drawing together the expansion of part can be expanded by other plug-in units.Extension point can have corresponding api interface.Other plug-in unit is contributed the enforcement of this interface to this extension point by these expansions.
The XML element and the attribute that use during as the appendix 1 definition plug-in unit that has been comprised in the Eclipse platform plug-in manifest canonical record here.Each plug-in unit all has unique identifier (XML attribute id), and described identifier is used to reference to the plug-in unit in the inventory file of other relevant plug-in unit.Described unique identifier also can use in the plug-in code that the supplier provides, so that the running example of visit plug-in unit.
Comprise two stages in that plug-in unit is installed on the Eclipse platform: the phase one comprises the peculiar file that is used for described plug-in unit under ' plug-in unit ' catalogue that the resource (inventory file, jar or war file and other resources) that will constitute plug-in unit copies to platform.Subordinate phase comprises by will be from the data of the inventory file of plug-in unit, and for example resolved plug-in unit standard is added the plug-in registration table to and registered described plug-in unit.In case this is finished, then when described plug-in unit was required to carry out certain function, described plug-in unit can be activated by the Eclipse platform.
Eclipse platform user interface (UI) example is based on view and perspective (perspective).View is the window that shows about the information of object; And perspective provide thereon can organize views display page or background (canvas).Plug-in unit can be given platform contribute views, and view can be organized into different perspectives.
The Eclipse worktable provides many extension points, comprises view extension point.By this view extension point, other plug-in units can be given platform with contribute views by one or more expansions being offered this extension point.
With reference to figure 1, show the simple case that shows client platform with three different perspective 102a, 102b, 102c.Perspective 102a is displayed on topmost, and comprises that 104: three views of 5 views show the portlets content, and two non-portlet view show other client platform components.Each shows that the view of portlets content is by the expansion contribution of portlet view plug-in unit as the Eclipse view extension point.To the method for portlet view being added to the Eclipse perspective be described after a while.
As already mentioned, at the internal operation of portal server, portal server compiles the content from all portlets on the page to portlets usually, and returns the content of being compiled.In the present invention, portal server is from the content of a portlets and the content aggregation of another portlets, but the web content that is provided by single portlets once is provided.Therefore, use term ' portlets server ' to indicate the portal server process of standard to be modified here.As used herein, the such server process of term ' portlets server ' expression, for example using when being requested, the agreement of HTTP provides marking document and any file that is associated and script from portlets.Can utilize single portlets server implementation the present invention.But,, have several de facto standards at present for writing portlets.Preferred embodiment is supported two (or more a plurality of), i.e. WebSphere in these standards TMPortlets and Java TMSpecification request (JSR)-168 standard.WebSphere is the registered trademark of the International Business Machines Corporation of New York Armonk.
Preferred embodiment uses the revision of Websphere portal server and the JSR-168 portal server small routine server that provides access.This server process provides the marking document from single portlets, that is, and not to compiling from the content of different portlets.Each portlets of URL addressing also returns the labeled fragment of this portlets separately.Portal server code is tailored, so that any theme or skin are not provided, perhaps carries out the packing of portlets contents fragment.Portal page is replaced by the Eclipse perspective, has the ability that the perspective among the Eclipse that crosses over the display page navigation is provided that changes, and the skin that is presented at the portlets contents fragment on the display page transfers to be provided by the portlet view tool that is implemented as the Eclipse platform plug-in, and this will illustrate below.
In addition, Tomcat application server code and Websphere and JSR-168 portal server code quilt be ' reduction ' as far as possible, so that do not comprise unnecessary function, the server security feature (login/authentication etc.) that for example in client computer system, is not required.
The portlets server is configured to the installation of small routine of providing access, and supports portlets life cycle (for example initialization, service and destroying method) and pattern to change.Initialization (Init) method allows portlets to be initialised; When requiring portlets to present its content, call method of servicing; And destroying method makes portlets can be withdrawed from service and is destroyed.
Preferred embodiment uses Tomcat Java TMThe embedding version of 2 enterprise versions (J2EE) application server fits into young procedure service device.Tomcat is JavaServlet and the JavaServer Pages that develops under the Jakarta project of Apache software fund TMOpening by source code of technology realizes (Java and all trade marks based on Java are the trade mark of Sun Microsystems, Inc. at the U.S., other countries or above-mentioned All Countries).In addition, the Tomcat application server provides the support to the J2EE service, and for example database connects and the JavaBean of enterprise (EJB).Other application server, for example the Websphere application server can be used equally well, it will be understood to those of skill in the art that this point.
Fig. 2 a shows interactive skeleton diagram between the system component according to preferred embodiment.Assembly comprises Tomcat application server 201 and application server interface (API) 205, the portlets server that is used for each portlets that will be supported, here be that Websphere goes into small routine server 204b and JSR-168 portlets server 204a, portlets interface 203a, 203b (they are implemented as the part of portlets server), with be installed in portlets server 204a on JSR-168 portlets 206 in a JSR-168 portlet view plug-in unit 202 that is associated, and by the web browser 207 of operation in the client view (not shown in Fig. 2 a) of portlet view plug-in unit 202 contribution.The web browser uses HTTP 208 to communicate by letter with Tomcat server 201.
Fig. 2 b shows the Eclipse plug-in architecture of preferred embodiment, and wherein, portlet view tool is used as the portlet view plug-in unit and provides.As shown, client 100 comprises a plurality of portlet view plug-in units 202 (showing 2) and project plug-in 110.Project plug-in comprises code, described code be used for the realization system and comprise a plurality of UI assemblies 220 and a plurality of server component 230 (although they are illustrated as forming single plug-in unit 110 at Fig. 2 b, but according to preference, they can be realized in a lot of independent plug-in units).UI assembly 220 comprises Setup Wizard 209, line instrument 215, has the standard portlet view 211 and the portal template 213 of UI Operation Processor (actionhandler) 212.When the view of the associated portlet of portlet view plug-in unit will be shown, each portlet view plug-in unit use standard portlet view code 211 with its portlets content packaging in view window, control icon, operation web browser etc. are provided.
The realization that portlets Setup Wizard assembly 209 provides portlets that menu and Setup Wizard are installed, Setup Wizard is created portlet view plug-in unit 202, will describe after a while.
Standard portlet view 211 provides each portlet view plug-in unit to realize the code that its view is required.This makes portlet view tool can be provided for the framework of portlet view (frame), control icon for the portlets that uses on view framework, and moves the web browser in each portlet view.UI Operation Processor 212 comprises code, clicks portlets control icon in response to the user and indicates control operation, and described code is carried out by portlet view tool.
Portal template component 213 provides default initial perspective, and the user can select and open portlets Setup Wizard 209 from described perspective.
Give and to be installed in each portlets on the client by Setup Wizard its oneself associated portlet view plug 202 is provided.Be installed on which portlets server and depend on the type of the portlets that is mounted by portlets interface expansion 214 problems with reference to which portlets interface 203a, b that guide provides about portlets, promptly it is JSR-168 or Websphere portlets.
The portlet view plug-in unit 202 on Fig. 2 b left side has launched, so that its content is shown, its content is two expansions: promptly be connected to the portlets interface expansion 214 of server and the view expansion 210 of expansion Eclipse view extension point by user-defined server extension point 232.View 210 normative reference portlet view 211, it obtains the required code of operation web browser 207 from standard portlet view 211.Web browser 207 can be used to receive the web content by HTTP from the portlets server, exists the associated portlet example of plug-in unit on the portlets server.Portlets interface expansion 214 comprises the access data that are used for this portlets server, and allows the associated portlet instance communications on view 210 and the relevant portal server.Portlets interface expansion 214 comprises the title and the id of its associated portlet, and comes with reference to relevant portlets interface 203 (a or b) with this.
Portlets server 204a and 204b are configured to make when the requests for content that receives portlets, relevant portlets server (promptly be used for the WebSphere portlets server of WebSphere portlets and be used for the JSR-168 portlets server of JSR-168 portlets) only returns the content of these indivedual portlets and not with described content and content aggregation from other portlets, and is not the portlets window with title bar and control knob etc. with described content packaging.
Inner this content that shows of view window that the view plug of portlets uses the web browser to provide according to the configuration data of portlets at plug-in unit,
As shown in Fig. 2 c, client computer system 100 comprise a plurality of Eclipse of being inserted into platforms worktable extension point 222 UI expansion and be inserted into server expansion by the server extension point 232 of project plug-in 110 statements.
With reference to figure 2a and Fig. 2 b, process in the time of will describing the platform operation now.At first, the Eclipse platform starts; Read the inventory file of its registered plug-ins, set up its storer plug-in part registration table; And start the plug-in unit of its registration.Therefore, project plug-in 110 is activated, thereby can be used for the Eclipse platform.And described platform starts the portlets plug-in unit 202 of any registration.Any special event does not take place in portal server 204a, 204b, till user's demonstration comprises the page of portlet view or new portlets is installed.
When the user selected the perspective of the view that comprises portlets that will be shown, the plug-in unit that is associated must obtain the tag content of described portlets, and it calls so that search described content.At first, it calls the interface object that is used for this portlets type and checks whether relevant portlets server 204a, 204b start.If the portlets server does not also start, then portlets interface 203a, 203b tell application server 201 (by API 205) to start relevant portlets server 204a, 204b.When the portlets startup of server, its all portlets that are mounted 206 will be initialised.Comprise the parameter of its portlets example of being associated with of sign with operated portlets associated portlet view plug 202.Portlet view tool is created in the view window of wherein moving the web browser, and by server A PI the portlets example is inquired about, and described server A PI transmits the id of described portlets example and the pattern that is required.Portlets server Return URL and view are delivered to built-in browser 207 with it.Browser 207 sends to application server 201 by HTTP with the URL request, and receives the response that comprises the mark that is presented by described portlets.Then, browser 207 shows the portlets content according to the mark that receives.Portlets can cover the link of other pages, document etc., and if the user select in these any one, then the viewed device of the mark that is linked uses HTTP to search.
When user and portlets 206 reciprocations, the reciprocation between browser 207 and portlets server 204a or the 204b continues.By clicking on user in the skin of portlet view or the control icon in the window frame, start portlets pattern or state and change request, for example edit, dispose or the help pattern.Then, portlet view tool is carried out UI Operation Processor 212, and it notifies portlets interface 214 which control knob of operated view selected.Portlets interface 214 should ask the URL of fresh content to be delivered to the web browser from it on view.The web content that receives from this URL makes browser to show portlets 206 with requested pattern/state.
The installation of portlets is described intuitively referring now to Fig. 3 a, 3b and 3c.After platform 200 starts, will show welcome perspective, have control strip/button usually, for example can select the option of ' opening blank portal template ' from described control strip/button, as shown in Fig. 3 a.Blank portal template is a kind of instrument expansion 213 of extension point (is implemented as Eclipse UI ' perspective '), and it allows the user to create new perspective and use to be fit into young program guide (seeing Fig. 3 b) portlets is installed.Selection is fit into after the young program guide 209, shows the listed files 300 of portlets web application archive (.war) file in the particular file folder 302 of client 100 to the user.If the user selects one or more portlets from this tabulation, then the .war file of each selecteed portlets will be installed in (single .war file can comprise that a plurality of portlets and user can select the specific portlets in the single .war file to install) on the relevant portlets server by guide.When each selecteed portlets has been mounted, show successful Installation Report to the guiding user, then, depend on employed platform specific, the user may must restart client platform so that use the new portlets of installing.Guide also provides client platform view for the portlets that each is mounted, and will describe this mechanism in more detail after a while.Therefore, these views are added to the available views tabulation of platform, and described tabulation shows all views expansions, and developer or user can use the new display page of described tabulation design, for example new perspective.
With reference to figure 4a, in order to design new perspective, after 400 startups, show menu page (being implemented as the expansion of Eclipse UI extension point ' operational set (ActionSet) ') to the user, 402, the user can select and open blank portal template from described menu page.The user selects ' view is shown ' option from the drop-down menu of template, and in 404 tabulations that available portlet view and/or client platform components view be shown.406 select in the listed view one cause this view in current perspective by instantiation with open.The user adds more view can for the page that is created, and 410 can be by organizing view on the page, and can design the perspective of the view of view that non-portlets client platform components as shown in fig. 1 is shown and portlets such as the function such as reorientate of adjusting size, for example drag-put.412, the perspective of being created can be saved in the tabulation of predefined perspective, can call described perspective once more with similar mode when needed, so that switch to the page new in the door.When described perspective is closed, the view on the described perspective also will be closed.
With reference to figure 4b, when customer requirements shows the perspective of storage, 414, the perspective that the drop-down menu selection under ' opening perspective ' option is required.Then, 416, all have plug-in unit as the view of the part of selecteed perspective platform 200 instantiations, and read their inventory file.Information from inventory file is used portlet view tool to create framework and any necessary tool bar and menu for each view window at 418 platforms, and the web browser is embedded each by the portlet view of instantiation.For the view by the contribution of portlet view plug-in unit, each relevant plug-in unit is activated, and passes through the requests for content of embedded type web browser transmission to its associated portlet 420.Described request is gone to application server, application server is guided it into relevant portlets server (when doing this part thing, application server is determined correct container so that processes said request by checking described request URL and finding its container, the mapping table of for example portlets server).Then, show perspective 422 to the user, portlet view all illustrates the content that receives by the embedded type web browser arbitrarily.
Then, the user can with any one reciprocation in the shown view.If for example the user chains by the URL that shows in view and clicks and the portlet view reciprocation, then the embedded type web browser has the content of this URL from the portlets server requests by HTTP.The single portlets of URL addressing.The portlets server only returns the html content from the portlets that is addressed, and subsequently this content by the embedded type web browser display.View remaining on the perspective is not refreshed.
With reference to figure 5, will be described in now portlets will be installed to the functional steps that relates in the process on the application server.Provide portlets Setup Wizard assembly 209 to platform, described assembly provides user interface when 502 are selected by the user, and described user interface makes the user can select specific portlets war file from the war listed files.War (web application archive) file is the routine encapsulation of portlets.In response in the selection of 504 users to portlets, Setup Wizard 209 is determined the portlets type from the war file, and the example of establishment portlets interface 203, if relevant portlets server 204a, 204b are not initialised, then with its initialization.Setup Wizard 209 is installed portlets .war file 211 by portlets interface 203a, 203b instruction portlets server 204a, 204b, and this is at the 506 new examples that caused the portlets 206 on the portlets server.In this process, the portlets server is fit into young program file and adds the portlets details to the registration table of its portlets container, described its portlets of portlets Container Management.
After portlets .war file 211 successfully is installed, produce the new portlet view plug-in unit 202 that is associated with this portlets and comprises its oneself inventory file at 508 Setup Wizards 209.Described inventory file has been listed required display label (for example title of plug-in unit view), control and the expansion of view plug, and state two expansions: the view of Eclipse UI view extension point is expanded, with JSR-168 or WebSphere portlets interface expansion 214, JSR-168 or WebSphere portlets extension point 232 that portlets interface expansion 214 expansions are provided by project plug-in 110.The expansion of portlets interface makes portlets can state that it is associated with the portlets of which kind of type, and with reference to the code that is included among relevant portlets server component 204a, the 204b, so that relevant portlets server interface 203a, 203b is provided.When view will be displayed to the user, the standard portlet view code of view extended reference portlet view plug-in component operation.Use it, portlet view tool is created needed menu and tool bar, and will be applied to the framework of portlet view by the icon that instrument provides.In case to the registration of Eclipse platform, then as mentioned above, the user can add the view of new portlets to the Eclipse perspective at 510 portlet view plug-in units.
The difference of the arrangement of the portlets example of described arrangement and server-side portal is, the portal server 204 in the native system will be from the content aggregation of a plurality of portlets in portal page.On the contrary, each portlets has its oneself portlet view window, and described window can show on user's Eclipse platform screen.And portal server is not bundled to each portlets contents fragment in the portlets window, adds the framework that comprises title and control knob to each window.On the contrary, portlet view tool provides the framework of its portlet view window according to the portlet view plug-in manifest, comprises title bar and control knob.
For each portlets that is mounted, new portlet view plug-in unit is mounted guide and is installed on the Eclipse platform.The Eclipse platform shows each portlet view plug-in unit in independent window or view, each window or view all have its oneself framework, control knob and embedded type web browser.
Therefore, move in the window of portlets on the rich client platform of the preferred embodiments of the present invention permission unmodified, and the control of described portlets is moved to client UI from the portlets mark.From user's angle, between portlets and any other client side application, there is not difference.If the user can be to be deployed as the server side portlets with portlets then its identical mode of interactive mode with it, with described portlets reciprocation.Can use simple guidance system that portlets is installed in the client platform, and remove similarly.Therefore, provide the support of client-side to portlets, allow they in the rich client environment at local runtime, eliminated the demand that independent server is connected with network.
So far, use the treatment facility able to programme of software control at least in part, for example microprocessor, digital signal processor or other treatment facilities, data processing equipment or system, described embodiments of the invention are enforceable, be appreciated that the computer program that is used to dispose the programmable device, device or the system that implement previously described method is regarded as one aspect of the present invention.Computer program can be embodied as source code or supply to implement in treatment facility, device or system through compiling, perhaps can for example be embodied as object code.In addition, the manufacture that comprises such computer program also is regarded as one aspect of the present invention.
For example, be used to implement various functions or the computer program that is used to convey a message can provide on the medium of for example one or more DVD/CD-ROM and/or floppy disk, be stored on the hard disk then.Can also can on communication media, provide by the program that data handling system is implemented,, and be embodied as electronic signal for example by communication network and/or internet.For the data handling system as the running of the wireless terminal on the wireless telephony network, communication media can be the radio-frequency carrier that carries suitable coded signal, and described coded signal is represented computer program and data.As selection, carrier wave can be any other the suitable bearing medium that is used for the light carrier of optical fiber link or is used for communication system.
Although it will be understood by those skilled in the art that and described the present invention, the invention is not restricted to this, and have possible variation and the modification that much falls in the scope of the invention about the one exemplary embodiment of front.
The scope of present disclosure comprises any novel feature disclosed herein or combination of features.Therefore applicant's statement in the application or by course of the review of its any further this application of deriving, at these features or combination of features, may form new claim.Especially, with reference to claims, the feature of dependent claims can with the characteristics combination of independent claims, and the feature of each independent claims can make up in any suitable manner, and is not only the concrete combination of enumerating in the claims.
For fear of uncertainty, run through here the employed term of instructions and claim " comprise " should not be understood that expression " only by ... form ".

Claims (36)

1. client computer system that is used to show the portlets content, described system comprises:
Be used to show the user interface of the page that comprises one or more view window, each view window all shows the content that the assembly by described computer system provides;
Be used to handle portlets server, on the described portlets server one or more portlets be installed the portlets requests for content; With
A plurality of portlet view tool, each portlet view tool is associated with portlets on being installed in the portlets server, be used to control associated portlet, and be used for moving and be used for showing web browser from the content of its associated portlet in independent view window
Wherein, described portlet view tool comprises the device of the URL that is used for determining the portlets content that will be shown at the portlet view window by the web browse request.
2. client computer system as claimed in claim 1 comprises the device that is used for the running client platform, and described user interface allows to show the view by the plug in component contribution that is registered to client platform.
3. client computer system as claimed in claim 1 or 2, wherein, described portlet view tool comprises the portlets view plug, and described plug-in unit is associated with described portlets and configurable being used for to client computer system contribution view.
4. client computer system as claimed in claim 1 or 2, described system comprise a plurality of portlets servers, and one or more portlets all have been installed on each.
5. client computer system as claimed in claim 4, wherein, described portlet view tool comprise be used to realize with relevant portal server on the interactive portlets interface of associated portlet.
6. client computer system as claimed in claim 1 or 2, wherein, configurable being used for of described portlet view tool provides framework for the view window that shows the portlets content.
7. client computer system as claimed in claim 6, also comprise the contribution control knob, for the assembly that on the framework of portlet view window, shows.
8. client computer system as claimed in claim 7 also comprises and is used to detect the Operation Processor of user to the selection of control knob.
9. client computer system as claimed in claim 8, wherein, described Operation Processor comprises the device that is used for detected user's selection is delivered to portlet view tool.
10. client computer system as claimed in claim 1 or 2 also comprises the code that is used to move the web browser is contributed assembly to portlet view tool.
11. client computer system as claimed in claim 1 or 2, wherein, described user interface can be operated and be used for portal template is offered the user.
12. client computer system as claimed in claim 1 or 2 comprises the device that is used for the running client platform, wherein, portlet view tool comprises the portlets interface and the portlet view of being given client platform as expansion by contribution.
13. client computer system as claimed in claim 1 or 2 also comprises the portlets erecting tools.
14. client computer system as claimed in claim 1 or 2, wherein, for being installed in each portlets on portlets server small routine view tool that provides access.
15. a method of using client computer system to show the portlets content on display page, described method comprises step:
Be provided for showing the user interface of the page that comprises one or more view window, each described view window all shows the content that the assembly by computer system provides;
In client computer system, be provided for handling portlets server, on the described portlets server one or more portlets be installed the portlets requests for content;
Provide and be installed in each portlets associated portlet view tool on the portlets server;
The portlets that selection is used for showing on display page;
Independent view window is provided on display page and moves the web browser therein;
By the web browser from being installed in the selecteed portlets request web content on the portlets server;
The web content that receives is provided on the display page in the view window that is provided; With
Determine the URL of the portlets content that will in the portlet view window, be shown by described web browse request.
16. method as claimed in claim 15 also is included in running client platform on the client computer system, described user interface allows to show the view by the plug in component contribution that is registered to client platform.
17. as claim 15 or 16 described methods, comprising provides a plurality of portlets servers, one or more portlets all have been installed on each, wherein, portlet view tool comprise be used to realize with relevant portal server on the interactive portlets interface of its associated portlet.
18., also be included as the portlet view window framework be provided as claim 15 or 16 described methods.
19. method as claimed in claim 18, also comprise the contribution control knob, on the framework of portlet view window, showing.
20. method as claimed in claim 19 also comprises and detects the selection of user to control knob.
21. method as claimed in claim 20 also comprises detected user is selected to be delivered to portlet view tool.
22. as claim 15 or 16 described methods, also comprising to the user provides portal template.
23. as claim 15 or 16 described methods, be included in running client platform on the client computer system, wherein, portlet view tool comprises its portlets interface and portlet view of giving client platform as the expansion contribution.
24. one kind is used for portlets is installed in method on the client computer system, described client computer system has the user interface that is used to show the page that comprises one or more view window, each described view window all shows the content that the assembly by computer system provides, and described method comprises step:
Be provided for handling portlets server to the portlets requests for content;
Select portlets in response to the user, selecteed portlets is installed on the portlets server; With
Produce and selecteed portlets associated portlet view tool, described portlet view tool can be operated to be used for moving and is used at the web browser of independent view window demonstration from the content of its associated portlet, and the control associated portlet, wherein said portlet view tool comprises the device of the URL that is used for determining the portlets content that will be shown at the portlet view window by the web browse request.
25. method as claimed in claim 24, wherein, described portlet view tool is preserved the access data of its associated portlet that is used on the portlets server.
26. as claim 24 or 25 described methods, also comprising provides one or more files that comprise at least one portlets respectively, and by detecting the one or more selection in these files is detected the selection of user to portlets.
27. as claim 24 or 25 described methods, also comprise the running client platform, described user interface allows to show the view by the plug in component contribution that is registered to client platform.
28. method as claimed in claim 27 comprises the tabulation of view available on the storage client platform, and upgrade described tabulation when the portlet view tool that is produced is registered to client platform.
29. method as claimed in claim 27, wherein, generation comprises generation client plug-in inventory file with the step of selecteed portlets associated portlet view tool.
30., also comprise the provide access tabulation of small routine web application archive (.war) file to the user as claim 24 or 25 described methods.
31. method as claimed in claim 30, wherein, in response to the selection of user to the .war file, the portlets server is installed selecteed .war file.
32., also comprise the small routine erecting tools that provides access to the user as claim 24 or 25 described methods.
33. as claim 24 or 25 described methods, comprise be provided for contributing control knob, for the step of the assembly that on the framework of portlet view window, shows.
34. method as claimed in claim 33 also comprises and is provided for detecting the Operation Processor of user to the selection of control knob.
35. method as claimed in claim 34 also comprises detected user is delivered to portlet view tool to the selection of control knob.
36., also comprise the portlet view tool that to be produced and be registered to client computer system as claim 24 or 25 described methods.
CNB2005800279061A 2004-09-17 2005-09-14 Display and installation of portlets on a client platform Expired - Fee Related CN100458782C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
GB0420675A GB0420675D0 (en) 2004-09-17 2004-09-17 Method and software tool for installation of portlets into a client platform
GB0420675.1 2004-09-17
GB0420679.3 2004-09-17

Publications (2)

Publication Number Publication Date
CN101006442A CN101006442A (en) 2007-07-25
CN100458782C true CN100458782C (en) 2009-02-04

Family

ID=33306731

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005800279061A Expired - Fee Related CN100458782C (en) 2004-09-17 2005-09-14 Display and installation of portlets on a client platform

Country Status (2)

Country Link
CN (1) CN100458782C (en)
GB (1) GB0420675D0 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923463A (en) * 2009-06-17 2010-12-22 富士施乐株式会社 Information processing apparatus and method

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8601253B2 (en) 2008-04-24 2013-12-03 International Business Machines Corporation Dynamic provisioning in data processing environment
CN105391784B (en) * 2015-11-24 2018-06-26 无锡江南计算技术研究所 Peer-to-peer communications method based on Eclipse
CN106502736B (en) * 2016-10-18 2018-04-06 腾讯科技(深圳)有限公司 Applied program processing method and device
CN109032691B (en) * 2018-06-25 2020-12-15 腾讯科技(深圳)有限公司 Applet running method and device and storage medium
CN109165360B (en) * 2018-07-12 2022-07-05 北京猫眼文化传媒有限公司 Data processing method and device
CN111651734B (en) * 2020-05-27 2022-03-22 支付宝(杭州)信息技术有限公司 Installation management method, device, equipment and system for applet

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1452742A (en) * 2000-04-17 2003-10-29 安心关联公司 Method for displaying browser screen, display system, and recorded medium
WO2004031986A1 (en) * 2002-10-04 2004-04-15 International Business Machines Corporation Method and apparatus for using business rules or user roles for selecting portlets in a web portal
US20040243577A1 (en) * 2003-05-30 2004-12-02 International Business Machines Corporation System and method for user driven interactive application integration
CN1674522A (en) * 2004-03-24 2005-09-28 华为技术有限公司 Method for realizing small window of customer end in wideband data intelligent network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1452742A (en) * 2000-04-17 2003-10-29 安心关联公司 Method for displaying browser screen, display system, and recorded medium
WO2004031986A1 (en) * 2002-10-04 2004-04-15 International Business Machines Corporation Method and apparatus for using business rules or user roles for selecting portlets in a web portal
US20040243577A1 (en) * 2003-05-30 2004-12-02 International Business Machines Corporation System and method for user driven interactive application integration
CN1674522A (en) * 2004-03-24 2005-09-28 华为技术有限公司 Method for realizing small window of customer end in wideband data intelligent network

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Building JSR 168-Compliant Portlets with Sun Java StudioEnterprise. Cherry,Shu,,Marina,Sum.. 2004
Building JSR 168-Compliant Portlets with Sun Java StudioEnterprise. Cherry,Shu,Marina,Sum. 2004 *
Developing and Debugging PortletsUsingtheIBMPortalToolkitplug-in forwebSphereStudioApplicationDeveloper. Doug,Phillips.. 2002
Developing and Debugging PortletsUsingtheIBMPortalToolkitplug-in forwebSphereStudioApplicationDeveloper. Doug,Phillips. 2002 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923463A (en) * 2009-06-17 2010-12-22 富士施乐株式会社 Information processing apparatus and method
CN101923463B (en) * 2009-06-17 2015-03-25 富士施乐株式会社 Information processing apparatus and method

Also Published As

Publication number Publication date
GB0420675D0 (en) 2004-10-20
CN101006442A (en) 2007-07-25

Similar Documents

Publication Publication Date Title
CN100421375C (en) Data sharing system, method and software tool
KR100992027B1 (en) Display and installation of portlets on a client platform
JP3762687B2 (en) System and method for dynamically displaying HTML form elements
US8260844B2 (en) Information messaging and collaboration system
CN101427229B (en) Technique for modifying presentation of information displayed to end users of a computer system
KR100661393B1 (en) Web site management system and method applying web programming environment
CN103176844B (en) The changing method of a kind of IE6 kernel and novel I E kernel and system
CN100458782C (en) Display and installation of portlets on a client platform
US20040215719A1 (en) Method and system for designing, editing and publishing web page content in a live internet session
US7627813B2 (en) Testing the type of browser used to view webpages by implementing dynamic reference elements from a script
US20230143896A1 (en) Cross-Platform Module for Loading Across a Plurality of Device Types
CN102132316B (en) Method and device for discovering alternative user experiences for websites
WO2003094021A1 (en) Portal setup wizard
EP1723561A1 (en) Method, data processing device, computer program product and arrangement for processing electronic data
JP2002041307A (en) Handling of postback input by control object on server side
US20100229081A1 (en) Method for Providing a Navigation Element in an Application
CN102968341A (en) Method and device for switching different versions of IE (internet explorer) kernels on basis of multi-kernel browser
US8090702B2 (en) Analyzing web site traffic
CN102968448A (en) Browser
US7886227B2 (en) Cross-environment context-sensitive help files
JP2000357082A (en) Method and device for putting expansion descriptor into practice in enterprise environment
Fay An Architecture for Distributed Applications on the Internet: Overview of Microsoft? s. NET Platform
CN103617079A (en) Method and system for switching between IE6 kernel and novel IE kernel
CN110516185B (en) Method and device for processing dynamic website
EP1674991A2 (en) System and method for creating web services from an existing web site

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160422

Address after: American California

Patentee after: Snapchat Inc.

Address before: American New York

Patentee before: International Business Machines Corp.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090204

Termination date: 20160914