WPF Knowledge

1. import model/linked model/container model

1.1 Imported Model Builder:
Host Model and target Model share the same WebApp, target model are imported into the host model at generation time. The host model can invoke all the builder calls of the target model, but cannot change any of the builder imputs.

1.2 Linked Model Builder:
Host model and Linked model use two separate WebApp. From a host model, we can access any public methods, Linked Java Objects(LJOs), and action lists in Linked Model.
They are roughly analogous to classes in java.
Linked Model builder is best suited for linking to data and logic that resides in another model. It is not suited for linking to any user interface elements(pages, buttons, forms, and so forth) that may reside in another model.

1.3 Model Container Builder:
The Model Container builder allows a model to host another model at the named page location. It is ideal for retrieving user interface components from another model.

2. app war/portal war/ dev war
3. lifecycle, profile -> generation time -> execution time
4. portal server/portlet container/portlet
portal server:
first received request from the client
forward the request to portlet container
aggregating the content produced by the protlets
portlet Container: contains and run portlets, manages portlets lifecycle, provides portlets with
the required runtime environment,provides persistent storage for portlet perferences

5. portlet container / servlet container
portlets and servlets are java technology based web components
both are managed by a specialized container
both generate dynamic content
lifecycle is managed by a container
inteact with web client via a request/response paradigm

difference:
portlet only generate markup fragments, not complete documents. The portal aggregates portlet
fragments into a complete portal page
portlet are not directly bound to a URL
web clients interact with portlets through a portal system
portlets have a refined request handling, action requests and render requests
portlets have predefined portlet mode and window states
portlets can exist many times in a portal page
portlets have means for accessing and storing persistent configuration and cusomization data
portlets have access to user profile information


6. JSF Portlet Framework in RAD 7
7. Thems and stylesheet for portal server


8. configure Web service URL in WPF:
first approach:
1. configure in the property file
2. load in LJO and set to share variables
3. in web service builder "advance" section, use the shared variables to override host,url,etc.
there are no UI for editing

second approach:
1. when export model to portlet, in portlet adapter builder, configure preference in "advance" section, each url associated with an item.
2. in LJO, get httpservlet request from webAppAccess; then get portlet request from http request; then get preference from portlet requet; last we can get the url we
configurated in preference.
I am not sure if we can configure the preference on UI
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值