在Java世界中有类似CherryPy或Cerise的东西吗? [英] Is there something like CherryPy or Cerise in the Java world?

查看:125
本文介绍了在Java世界中有类似CherryPy或Cerise的东西吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

CherryPy Cerise 是两个小框架,除了网络框架的准系统之外什么都不实现,我喜欢它们的简单性:实际上我认为如果经典ASP以这种方式实现(并没有那么多需要 VBScript)我本可以安顿下来并且过上幸福的生活。

CherryPy and Cerise are two small frameworks that implement nothing but the barebones of a web-framework and I love their simplicity: in fact I reckon that if Classic ASP was implemented that way (and didn't pretty much require VBScript) I could have settled for it and lived happily ever after.

但现在我生活在Java世界的边界并且想知道是否有类似于这两个框架的东西,并且不会试图控制你。我的要求是他们有一个:

But now I'm living at the borders of the Java world and would like to know if there's something similar to these 2 frameworks and that doesn't try to take control away from you. My requrements would be that they have an:


  • 将网址映射到方法的调度程序(如CherryPy,Django,Cerise,Rails)等等...)

  • a dispatcher that maps urls to methods (like CherryPy, Django, Cerise, Rails, etc...)

如果它有一个简单而强大的模板语言(一个JSP / ASP),它在分离上不太虔​​诚关注点

bonus points if it has a simple, yet powerful templating language (a la JSP/ASP) that is not too religious in separation of concerns

如果它有某种有助于验证表格的库

bonus points if it has some sort of library that helps in validating forms

谢谢

-

推荐答案

OOWeb ,基本上是CherryPy的一个端口。

OOWeb, essentially a port of CherryPy.

这篇关于在Java世界中有类似CherryPy或Cerise的东西吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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