RAP Servlet&EntryPoint&Branding

<此文章仅用于技术交流,不做任何商业用途,任何转载请注明来源!>

 

RAP Servlet & EntryPoint & Branding

Overview an example flow chart

The screenshot below comments about servlet and entry point for MSDK RAP application with graph.Users access the RAP MSDK APP with URI,which responses the request by different parameters in URI.The new URI will be requested again.

Be used to redirect with Servlet(Extension:org.eclipse.equinox.http.registry.servlets)

The servlet is only used to redirect in RAP application,which extends the extension of "org.eclipse.equinox.http.registry.servlets".The attribute of alias named "/test" ,which is shown in URI,decides whether the instance of servlet will execute.If you access RAP APP with the URI "http://<host>:<port>/<APP_NAME>/msdk",the class "MsdkRedirectServlet" will be called by APP.

About Branding(Extension:org.eclipse.rap.ui.branding)

With the branding we are able to define several aspects of RAP APP.We can define a new branding by creating an extension for the "org.eclipse.rap.ui.branding" extension point.The servletName attribute is responsible for the URL of the application for the outside world.In MSDK RAP APP,it is named "amino",which will be available at <host>:<port>/<APP_NAME>/amino.The defaultEntrypointId refers to an entrypoint which should be launched for the sevlet like "amino".Below the URI "http://<host>:<port>/<APP_NAME>/aimo" and "http://<host>:<port>/<APP_NAME>/aimo?startup=sherlock" are equivalent because there is an entrypoint defined with ID "com.ibm.msdk.ui.entrypoint.sherlock" and parameter "sherlock".

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值