集成springMVC和extjs [英] integrating springMVC and extjs

查看:142
本文介绍了集成springMVC和extjs的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我当前的j2ee项目中使用springMVC和hibernate。
现在的视图由简单的jsp,JSTL组成,使事情有点简单。



看看extjs项目,我相信可以使用作为观点的替代。我一直在看extjs文档,但坦率地说,我不知道如何在春天融合。



有谁有任何教程,博客,书籍推荐,以获得我开始这个?



或者另一方面,如果extjs将从一个不同的java MVC框架更好地管理,那么请建议一样。

解决方案

以下是 ProgressBar Pager 与Spring 3.0集成



它演示了Ext JS提供了一个帮助类XMLStore,它由XMLReader自动配置,用于从服务器读取数据。



它使用 Xstream from codehaux for serialization to XML。



XStream是可以使用注释


I am using springMVC and hibernate in my current j2ee project. The view as of now consists of plain jsp, with JSTL to make things a bit simple.

Looking at the extjs project, I believe it can be used as a substitute for the view. I have been looking at the extjs docs but frankly, I am not sure how to integrate it in spring.

Does anyone have any tutorial, blog, books recomendation, to get me started on this?

Or on the other hand, if extjs would be better managed from a different java MVC framework, then please suggest the same.

解决方案

Here is an example of a ProgressBar Pager integrated with Spring 3.0

It Demonstrates that Ext JS provides a helper class, XMLStore, which is automatically configured with an XMLReader which is used to read data from server.

It uses Xstream from codehaux for serialization to XML.

XStream is easily configurable with annotations,

这篇关于集成springMVC和extjs的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆