在编译时检查有数据绑定的JVM是否有任何Web框架? [英] Are there any web frameworks for JVM with data binding checked at compilation time?

查看:133
本文介绍了在编译时检查有数据绑定的JVM是否有任何Web框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通常当您将一些属性绑定到www页面中的某个元素时,您将在测试时知道打字错误。



我正在寻找在编译时的Web框架会给我一个错误,我在绑定(属性未找到或类似的东西)错误,并假设我的IDE有有效的重构机制,重命名属性也会影响绑定(反之亦然),换句话说,这个重命名不会导致代码破损。



JVM是否有这样的框架?


$ b $我很新的JVM世界,所以我不知道JVM框架的功能(总之,不只是我要求的这个功能)。

解决方案

Eclipse中的JSP开发可以做到这一点


Usually when you bind some property to some element in www page, you will know about typo when testing.

I am looking for web framework which, at compile time would give me an error, that I made error in binding ("property not found" or something similar) and assuming my IDE has valid refactorization mechanism, that renaming property would also affect the binding (and vice-versa), or in other words, that renaming would not result in broken code.

Is there such framework for JVM?

I am new to JVM world so I don't know the features of the JVM frameworks (at all, not just this feature I ask for).

解决方案

JSP development in Eclipse can do this

这篇关于在编译时检查有数据绑定的JVM是否有任何Web框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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