Is Xworks similar to Spring ?

WebWork is a web application MVC framework. XWork is a generic command pattern implementation with nifty features for processing requests (i.e. web requests, command line, JMS, etc.). WebWork is built on XWork.

In this way, WebWork overlaps with Spring's MVC framework.

XWork also contains a simple IoC container. This is really meant for small apps where you have a few components you want to automatically provide to your Actions (and you don't need more than one of the same type). It's really really handy for these situations because you don't need any per-Action configuration. It falls short of the capabilities of a Spring or Picocontainer IoC container.

So there is some overlap, but there is more synergy, I think. There is good integration between WebWork and Spring, much of it done by the guys at Atlassian. They are building their new product, Confluence, on WebWork 2, Spring, Hibernate, Sitemesh, Lucene, Quartz, etc... They have the power of WebWork and XWork as a powerful Web MVC front end, along with the power of Spring to automatically wire components together, and Hibernate's transparent persistence. From the feedback I've heard from them, it's an awesome combination.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值