CN106845921A - A kind of enterprise portal of lightweight and application integration method - Google Patents

A kind of enterprise portal of lightweight and application integration method Download PDF

Info

Publication number
CN106845921A
CN106845921A CN201611181205.XA CN201611181205A CN106845921A CN 106845921 A CN106845921 A CN 106845921A CN 201611181205 A CN201611181205 A CN 201611181205A CN 106845921 A CN106845921 A CN 106845921A
Authority
CN
China
Prior art keywords
lightweight
portal
application
integration method
application integration
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.)
Pending
Application number
CN201611181205.XA
Other languages
Chinese (zh)
Inventor
牟玉松
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.)
Chengdu Aircraft Industrial Group Co Ltd
Original Assignee
Chengdu Aircraft Industrial Group Co Ltd
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 Chengdu Aircraft Industrial Group Co Ltd filed Critical Chengdu Aircraft Industrial Group Co Ltd
Priority to CN201611181205.XA priority Critical patent/CN106845921A/en
Publication of CN106845921A publication Critical patent/CN106845921A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/101Collaborative creation, e.g. joint development of products or services

Abstract

The invention discloses a kind of enterprise portal of lightweight and application integration method, comprise the following steps:(1)Set up general purpose I frame Portlet;(2)According to application integration target, development interface provides the data that need to show in business application system, and interface exploitation is called using the Http of Web service or Restful styles;(3)Set up lightweight portal application server;(4)Several IframePortlet, configuration step are cloned in door(3)Whether the URL link of the developed page, defines its displaying height, width and needs scroll bar.The development efficiency that the present invention makes enterprise portal integrated with service application is lifted, and greatly lifts the door stability of a system;Clear positioning can be carried out to the module for breaking down.

Description

A kind of enterprise portal of lightweight and application integration method
Technical field
The present invention relates to enterprise portal, Enterprise information integration field, more particularly to a kind of enterprise portal of lightweight with should Use integrated approach.
Background technology
EIP(Enterprise Information portal, abbreviation EIP)Information resources can be realized Issue and shared, it is possible to achieve access the single entrance of the various information resources of enterprise, the employee of enterprise, client, affiliate Personalized information and service can be obtained by this door with supplier etc.;Enterprises, enterprise are realized by it simultaneously Between industry and enterprise, and business integration end to end between enterprise and client, so as to optimize the workflow of enterprises, close Resource in reason allotment enterprise and supply chain, is better achieved the functioning in parallel of enterprise, improves enterprise and overall fast of supply chain Fast responding ability.
On technological layer, Portal(Door)Be that offer based on web is personalized, log in authorize, from different numbers The information system of represent layer is based on according to source aggregated content.Specific to J2EE fields, Portal majority of cases are one and meet The ear bags of J2EE standards.Being related to several technical specifications of Portal includes:JSR168、JSR286、WSRP1.0、WSRP2.0.
Enterprise information integration can be divided into the integrated, application system integrated of data from depth(Logic behaviour can be regarded as Make layer), operation flow it is integrated, and enterprise portal herein on solve interface it is integrated, be Enterprise information integration technology development It is natural extension.
The content of the invention
The present invention also aims to provide a kind of enterprise portal of lightweight and application integration method, it overcomes existing The deficiency of technology, can improve the current domestic enterprise portal for falling behind and application integration mode, and its target has:
1) general purpose I frame Portlet are set up in enterprise portal, URL link can be embedded in and be shown content.
2) lightweight portal application server is set up, the Tomcat for increasing income is used under normal circumstances.Develop on its basis Using displayed page.
The present invention is achieved through the following technical solutions:
A kind of enterprise portal of lightweight and application integration method, comprise the following steps:
(1)Set up general purpose I frame Portlet
Exploitation general purpose I frame Portlet, define its entitled IframePortlet, and by the application deployment to door On, IframePortlet is used to provide a displaying shell;
(2)According to application integration target, development interface provides the data that need to show in business application system,
Interface exploitation is called using the Http of Web service or Restful styles;
(3)Lightweight portal application server is set up, according to step(2)The interface protocol of offer, opens on this application server Hair displayed page;
(4)Several IframePortlet, configuration step are cloned in door(3)The URL link of the developed page, defines it Show height, width and whether need scroll bar.
Wherein, the process for setting up portal template is comprised the following steps:
S1 sets up portal template, and the portal template includes general file, personalization files, template file and variable description text Part;
S2 sets up automatic deployment system, and the automatic deployment system includes data acquisition module, template parsing module and automatic portion Administration's module;
S3 obtains user input by the automatic deployment system;Then variable description file is read in;Finally from portal template File needed for extracting simultaneously is deployed on server.
Its Portlet uses the segment of Iframe as follows during part JSP codes are presented:
<iframe id='<%=ifName%>' name='<%=ifName%>' style="display:none;" src=" about:blank" marginwidth="0" marginheight="0" frameborder="0" scrolling="<%= scrolling %>" height="<%=iHeight%>" width="<%=iWidth%>" onload="javascript:<% =ifrOnLoadName%>();">
</iframe>。
Further, the step(1)In, being related to several technical specifications of Portal includes:JSR168、JSR286、 WSRP1.0, WSRP2.0, the present invention is according to JSR168, JSR286 specification, exploitation general purpose I frame Portlet.
Further, the step(2)In, interface interchange time control was at 0~3 second.
Further, the step(3)In, set up lightweight portal application server using the Tomcat for increasing income.
Further, the step(3)In, the style to displayed page carries out uniform requirement, the wind of the displayed page Lattice include:Theme, skin, layout type, Role Policies.
Further, the step(4)In, 2-10 IframePortlet is cloned in door.
The present invention compared with prior art, with advantages below and beneficial effect:
(1)The development efficiency that the present invention makes enterprise portal integrated with service application is lifted, and greatly lifts the door stability of a system;
(2)The present invention can carry out clear positioning to the module for breaking down.
Brief description of the drawings
Fig. 1 is door structure of container figure of the invention;
Fig. 2 is lightweight portal integration system figure of the invention;
Fig. 3 is the portal integration system figure of traditional approach.
Specific embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from start to finish Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached It is exemplary to scheme the embodiment of description, is only used for explaining the present invention, and is not considered as limiting the invention.
Embodiment 1:
As shown in Figure 1, Figure 2, Figure 3 shows, a kind of enterprise portal of lightweight and application integration method, comprise the following steps:
(1)Set up general purpose I frame Portlet
Exploitation general purpose I frame Portlet, define its entitled IframePortlet, and by the application deployment to door On, IframePortlet is used to provide a displaying shell;
(2)According to application integration target, development interface provides the data that need to show in business application system,
Interface exploitation is called using the Http of Web service or Restful styles;
(3)Lightweight portal application server is set up, according to step(2)The interface protocol of offer, opens on this application server Hair displayed page;
(4)Several IframePortlet, configuration step are cloned in door(3)The URL link of the developed page, defines it Show height, width and whether need scroll bar.
Wherein, the process for setting up portal template is comprised the following steps:
S1 sets up portal template, and the portal template includes general file, personalization files, template file and variable description text Part;
S2 sets up automatic deployment system, and the automatic deployment system includes data acquisition module, template parsing module and automatic portion Administration's module;
S3 obtains user input by the automatic deployment system;Then variable description file is read in;Finally from portal template File needed for extracting simultaneously is deployed on server.
Its Portlet uses the segment of Iframe as follows during part JSP codes are presented:
<iframe id='<%=ifName%>' name='<%=ifName%>' style="display:none;" src=" about:blank" marginwidth="0" marginheight="0" frameborder="0" scrolling="<%= scrolling %>" height="<%=iHeight%>" width="<%=iWidth%>" onload="javascript:<% =ifrOnLoadName%>();">
</iframe>。
Embodiment 2:
The step(1)In, being related to several technical specifications of Portal includes:JSR168, JSR286, WSRP1.0, WSRP2.0, According to JSR168, JSR286 specification, exploitation general purpose I frame Portlet;Step(2)In, interface interchange time control is 0~3 Second;Step(3)In, set up lightweight portal application server using the Tomcat for increasing income;Step(3)In, to displayed page Style carries out uniform requirement, and the style of the displayed page includes:Theme, skin, layout type, Role Policies;Step(4) In, 2-10 IframePortlet is cloned in door.
Embodiment 3:
Assuming that we will build information portal, it is necessary to set up portal template, detailed step is as follows for different colleges and universities:
1 .1 sorts out to file.
Portal application is substantially that many files are constituted in the server according to certain hierarchical structure storage, not fellow disciple The difference at family is substantially the difference on file and file content.Different doors has the text of filename and content all same Part, we are classified as general file, such as web .xml files.Filename is identical, the file of content some difference, and we are classified as quasi-mode Plate file, will be fabricated to template file in following step.The database used such as different colleges and universities is different, and we are by number It is put into server .properties files according to storehouse information, program will therefrom read when running.Entirely different file, we It is classified as personalization files.As there are different loge pictures, school badge picture etc. in different colleges and universities.
The quasi-mode plate documenting that 1 .2 will be marked off in step 1 .1 is into template file.
The template file refers to the file of comprising variable in file.Therefore step is with the quasi- template file of variable replacement Uncertain content, these contents are different and different because colleges and universities.
1 .3 makes variable description file.
The all variable informations used in step 1 .2, including variable name, variable institute are recorded in variable description file Template filename and variable logical name.
Template file and variable description file that 1 .4 will make in step 1 .3, same to general file, personalization files Classifying packing is into portal template together, such as a jar file.Pacify position during packing according to file actual deployment on the server Arrange the hierarchical structure of file.As web .xml files should be deployed under WEB-INF catalogues, the web .xml positions in template also should It is WEB-INF/web .xml.
After establishing mark portal template, it is possible to use the automatic deployment system rapidly builds different types of door. The automatic deployment system includes three modules, is respectively data acquisition module, template parsing module and automatic deployment module.Its In, data acquisition module and automatic deployment module are prior art, and template parsing module is specific to the special of portal template structure With module, detailed implementation is as follows:
2 .1 data acquisition modules generation guide guides the customized information of user input enterprise portal, such as theme, skin, cloth Office's mode, Role Policies etc., the file set according to needed for door is built in user input selection.By taking skin as an example, data acquisition module Skin is represented using skin variables in block, reddish yellow three kinds of skins of indigo plant are represented respectively with 0,1,2.If user's selection is red, skin will 0 is assigned, in the following step, system will be according in the red skin associated documents of skin==0 selection deployment to server.
2 .2 data acquisition modules read in variable description file from portal template, according to the text selected in step 2 .1 The template file that part is concentrated, searches variable description file, and the information in variable description file determines there is which variable needs User input, further guide guiding user input is generated further according to these variables, and the variate-value that will be collected into is temporarily stored into interior In depositing..
2 .3 data resolution modules according in step 2 .1 determine file set extracted from portal template needed for file to In temp directory.General file and personalization files can be replicated directly.In extraction template file, gathered according in step 2 .2 Value replace template file in variable.
The file parsed in step 2 .3 is copied to service by 2 .4 automatic deployments modules according to corresponding hierarchical directory On device.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that:Not Depart from and can these embodiments be carried out with various changes, modification, replacement and modification under principle of the invention and objective, it is of the invention Scope is limited by claim and its equivalent.

Claims (6)

1. a kind of enterprise portal of lightweight and application integration method, it is characterised in that:Comprise the following steps:
(1)Set up general purpose I frame Portlet
Exploitation general purpose I frame Portlet, define its entitled IframePortlet, and by the application deployment to door On, IframePortlet is used to provide a displaying shell;
(2)According to application integration target, development interface provides the data that need to show in business application system,
Interface exploitation is called using the Http of Web service or Restful styles;
(3)Lightweight portal application server is set up, according to step(2)The interface protocol of offer, opens on this application server Hair displayed page;
(4)Several IframePortlet, configuration step are cloned in door(3)The URL link of the developed page, defines it Show height, width and whether need scroll bar.
2. a kind of enterprise portal of lightweight according to claim 1 and application integration method, it is characterised in that:The step Suddenly(1)According to JSR168, JSR286 specification, exploitation general purpose I frame Portlet.
3. a kind of enterprise portal of the lightweight according to claim 1 and application integration method, it is characterised in that:It is described Step(2)In, interface interchange time control was at 0~3 second.
4. a kind of enterprise portal of lightweight according to claim 1 and application integration method, it is characterised in that:The step Suddenly(3)In, set up lightweight portal application server using the Tomcat for increasing income.
5. a kind of enterprise portal of lightweight according to claim 1 and application integration method, it is characterised in that:The step Suddenly(3)In, the style to displayed page carries out uniform requirement.
6. a kind of enterprise portal of lightweight according to claim 1 and application integration method, it is characterised in that:The step Suddenly(4)In, 2-10 IframePortlet is cloned in door.
CN201611181205.XA 2016-12-20 2016-12-20 A kind of enterprise portal of lightweight and application integration method Pending CN106845921A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611181205.XA CN106845921A (en) 2016-12-20 2016-12-20 A kind of enterprise portal of lightweight and application integration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611181205.XA CN106845921A (en) 2016-12-20 2016-12-20 A kind of enterprise portal of lightweight and application integration method

Publications (1)

Publication Number Publication Date
CN106845921A true CN106845921A (en) 2017-06-13

Family

ID=59140361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611181205.XA Pending CN106845921A (en) 2016-12-20 2016-12-20 A kind of enterprise portal of lightweight and application integration method

Country Status (1)

Country Link
CN (1) CN106845921A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108023948A (en) * 2017-12-04 2018-05-11 山东浪潮通软信息科技有限公司 A kind of system and method for handling third party system information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070265930A1 (en) * 2006-04-26 2007-11-15 Julia Mohr Usability by offering the possibility to change viewing order in a navigation panel
CN101388897A (en) * 2007-09-12 2009-03-18 福建富士通信息软件有限公司 Enterprise portal webpage integration system
CN105357027A (en) * 2015-09-24 2016-02-24 四川长虹电器股份有限公司 Lightweight data service bus system based on large data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070265930A1 (en) * 2006-04-26 2007-11-15 Julia Mohr Usability by offering the possibility to change viewing order in a navigation panel
CN101388897A (en) * 2007-09-12 2009-03-18 福建富士通信息软件有限公司 Enterprise portal webpage integration system
CN105357027A (en) * 2015-09-24 2016-02-24 四川长虹电器股份有限公司 Lightweight data service bus system based on large data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王珩宇: "西飞企业信息门户系统设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108023948A (en) * 2017-12-04 2018-05-11 山东浪潮通软信息科技有限公司 A kind of system and method for handling third party system information

Similar Documents

Publication Publication Date Title
CN101916255B (en) HTML (Hypertext Markup Language) content contrast device and method
CN100596174C (en) Method for setting interface of electronic card
US9384473B2 (en) Methods and systems for creating online unified contact and communication management (CM) platform
US20120072436A1 (en) Relationship and Content Management Application
CN107818143A (en) A kind of page configuration, generation method and device
CN105608066A (en) Method and device for generating evidence report
CN101968817B (en) Method for configuring webpage template
US10817662B2 (en) Expert system for automation, data collection, validation and managed storage without programming and without deployment
CN106775770A (en) The lookup method of query statement is built based on category information
CN107273122A (en) Based on decoupling mechanism can iteration set up operation system method and its terminal
CN108776824A (en) Bar-code label generation method, device and electronic equipment
CN105404514B (en) JavaScript rendering method and device
US7185280B2 (en) Personalized automatic publishing extensible layouts
Paulheim et al. Data mining with background knowledge from the web
CN102541829A (en) Multiuser concurrent electronic document generation device and method
CN107291827A (en) A kind of data comparison method and system
CN106708506A (en) Method and device for optimizing starting speed of Android applications visually
CN106599015A (en) Data service management system and method
CN103399744B (en) A kind of method building business gate platform
CN108959475A (en) A kind of webpage setting method and device
CN107193549A (en) Webpage quick development method based on metadata
CN104657422B (en) A kind of content issue intelligent method for classifying based on categorised decision tree
CN106845921A (en) A kind of enterprise portal of lightweight and application integration method
CN105100372A (en) Conference recording method and mobile terminal
CN105740239A (en) Translation method and system of character on webpage

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170613