Resin文档阅读笔记

阅读文档对应的版本为Resin4.0,且基本只关注Standard版本的功能。

 

1、Resin可以注册为服务:

 

To install the service, use

C:/> resin-3.2.x/resin.exe -install -conf conf/myconf.xml /
                              -user MyResinUser -password mypassword

To remove the service, use

C:/> resin-3.2.x/resin.exe -remove

 

2、Resin Logs目录里面有访问服务器访问日志在./logs子目录内。

 

3、Resin服务器本身提供一套类似Spring Security的可配置权限控制解决方案.详见http://www.caucho.com/resin/admin/security.xtp

4、显式定义Web应用目录的方法:

 

5、Resin本身提供依赖注入:Java Injection (CanDI, JSR-299) Injection :http://www.caucho.com/resin/admin/candi.xtp ,注意这句:CanDI provides a straightforward driver for integrating Resin capabilities with popular frameworks. Struts2SpringMule, and Wicket have already been integrate。

6、在database configuration部分,注意现在的配置有Protecting the database password的方法。

7、关于Server Push (Comet):Resin's Comet support focuses on solving the concurrency issues around server push.

8、Resin内建Rewrite and Dispatch机制

9、Resin's remoting lets applications write services as plain Java objects and export them with a choice of protocols, including Hessian, Burlap, CXF (SOAP), XFire. Because Resin activates the service as an IoC singleton, the service can use any of Resin's IoC capabilities, including dependency injection, AOP interception, EJB transactions, and event handling.

10、virtual host的设置样例:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值