针对Jrun的Java 1.4 MVC框架的建议? [英] Recommendations for a Java 1.4 MVC framework for Jrun?

查看:87
本文介绍了针对Jrun的Java 1.4 MVC框架的建议?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在重新访问一个项目,需要将其限制为Java 1.4(不幸的是).我有兴趣介绍MVC框架,以提高将来的维护难度.

I am revisiting a project and need to limit it to Java 1.4 (unfortunately). I was interested in introducing a MVC framework to improve ease of maintenance in the future.

除了Struts 1之外,我还有哪些选择?框架越轻便越好.

不要无视Struts,我刚刚听到了很多关于它的坏消息.如果有人想在这里为之辩护,请这样做.

Not to dismiss Struts off hand, I've just heard a lot of bad things about it. If anyone wants to defend it here, please do so.

此外,该框架必须能够在Jrun上运行,这可能会限制我的选择.例如,我无法使Spring MVC正常工作.

Additionally the framework has to be able to run on Jrun, which may limit my choices. I can not, for example, get Spring MVC to work.

推荐答案

我在寻找其他问题时发现了这个问题,因此我很抱歉这个答案可能无法及时找到您.

I found this question while looking for something else, so I apologize that this answer may not find you in time.

有一个很好的选择可以满足您的需求! MVC框架是归纳法,它是使用JDK 1.4编写的.感应控制器是多种动作,例如Spring MVC 2.5,但是感应不使用注释或XML,默认情况下该控制器会自动连线.

There is a great option for your needs! The MVC framework is Induction, it is written using JDK 1.4. Induction controllers are multi-action, like Spring MVC 2.5, but Induction does not use annotations or XML, the controller get auto-wired by default.

归纳法是一个非常轻便,快速的MVC框架(7.7K行),但是具有许多主要MVC框架所缺少的功能,例如:

Induction is an extremely light-weight and fast MVC framework (7.7K lines) but has many features absent in the major MVC frameworks, such as:

  • 在更改控制器,视图,模型时在开发过程中动态重新加载
  • 文件上传非常简单(与字符串输入相差无几)
  • 控制器无需配置
  • 使用IDE分析模型,视图和控制器之间的依赖关系的能力
  • 基于正则表达式的URL映射
  • 对管理任何MVC框架的重定向的最佳支持

在此处查看入门指南: http://www.inductionframework.org /getting-started-tutorial.html

Check out the getting started tutorial here: http://www.inductionframework.org/getting-started-tutorial.html

祝你好运!

这篇关于针对Jrun的Java 1.4 MVC框架的建议?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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