用于配置的 Web UI 框架

发布于 2024-07-21 23:27:13 字数 209 浏览 2 评论 0原文

我正在寻找一个支持以下功能的 UI 框架:

  • 与 Apache Commons Config 和/或 JFig 集成
  • 支持嵌套选项卡
  • 了解用户/组/角色
  • 可以与 JMX MBeans 交互
  • 不需要 Javascript 即可运行
  • 用 Ja​​va 编写,理想情况下基于JSP

I am looking for a UI Framework that supports the following features:

  • Integrated with Apache Commons Config and/or JFig
  • Supports nested tabs
  • Understands users/groups/roles
  • Can interact with JMX MBeans
  • Doesn't require Javascript in order to function
  • Written in Java and ideally JSP-based

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

意中人 2024-07-28 23:27:13

我真的怀疑你能找到类似的东西,因为你指定了浏览器端、服务器端和开发端的要求。 它相当限制了领域。

我认为您不会找到一个可以立即支持这些要求的框架。

如果 GUI 对您很重要,我会推荐 Wicket。 嵌套选项卡和 no-javascript-required 都得到很好的支持(至少当我去年使用它时)。 但这与 JSP 完全不兼容...

作为一个安全系统,Spring Security(以前称为 Acegi)跃入我的脑海。 它可以与几乎任何东西集成——如果还没有可用的绑定的话。

“可以与 JMX MBean 交互”需要一些澄清 - 它应该如何处理这些 Bean?

如果您不在 Mac 上工作,您也可以考虑 GWT(GWT 开发环境并不真正适用于 64 位 java)。 它是完全java的,前端被编译。

并与 Commons Config / JFig 集成? 您希望配置什么? 即使框架支持公共配置,它也可能不允许您配置您想要配置的内容...

我个人目前正在使用 spring MVC 和 spring security。 我选择这个是因为我们已经在使用 Spring,而且我喜欢 JSP 作为视图技术,只要视图很简单。

如果我需要使用相同的代码创建 javascript 和无 javascript 页面,我会选择 Wicket,这样这种灵活性就不会成为我的问题。

我意识到这不是问题的答案,祝你好运!

I really doubt you can find anything like that, as you specify both browser-end, server-end and development-end requirements. It quite limits the field.

I think you won't find a single framework which supports those requiremens out of the box.

If the GUI is important to you, I'd recommend Wicket. The nested tabs and no-javascript-required are supported just fine (at least when I used it last year). This is totally not compatible with JSP though...

As a security system Spring Security (formerly Acegi) leaps to mind. It can be integrated with almost anything - if there isn't already a binding available.

The "Can interact with JMX MBeans" needs some clarification - what should it do with those beans?

If you're not working on a Mac you could also consider GWT (the GWT development environment doesn't really work with 64 bit java). It's fully java, the front-end gets compiled.

And integration with Commons Config / JFig? What do you wish to have configured? Even if the framework supports commons config it probably wouldn't allow you to configure what you want configured...

I personally am currently using spring MVC with spring security. I chose this because we already were using Spring, and I like JSP as the view technology as long as the views are simple.

If I had a requirement to create javascript and javascript-less pages with the same code, I'd have chosen Wicket so this flexibility would not be my problem.

I realize this is not an aswer to the question, so good luck!

徒留西风 2024-07-28 23:27:13

UI 也不能与 JMX 一起使用,但可以完成 JFig 的功能,且没有 XML 膨胀,并且完全是 Java(使用 Commons Configuration、Commons IO、Guava 等)。

Maven 配置具有良好的默认设置,但还有许多附加选项可以适应遗留环境。 可以构建脚本和配置。

与 Maven Assembly 插件相结合,我们使用它来持续交付,推送自动部署脚本,推送属性/配置、(liquibase) 数据库更改、应用程序服务器 CLI 和 Web 服务器更改。

Maven Central 的最新版本是 0.9.10:

<plugin>
    <groupId>com.ariht</groupId>
    <artifactId>config-generation-maven-plugin</artifactId>
    <version>0.9.10</version>
    <executions>
       <execution>
           <goals>
               <goal>generate/goal>
           </goals>
       </execution>
    </executions>
</plugin>

https://github.com/sofdes/config -生成-maven-插件

Neither a UI nor works with JMX but does what JFig does without the XML bloat and is fully Java (uses Commons Configuration, Commons IO, Guava etc).

The Maven configuration has good defaults but has lots of additional options for fitting to legacy environments. Can build scripts as well as configuration.

Coupled with the Maven Assembly plugin we use it for continuous delivery pushing auto-deploy scripts pushing properties/configuration, (liquibase) database changes, application server CLI and web server changes.

Latest version on Maven Central is 0.9.10:

<plugin>
    <groupId>com.ariht</groupId>
    <artifactId>config-generation-maven-plugin</artifactId>
    <version>0.9.10</version>
    <executions>
       <execution>
           <goals>
               <goal>generate/goal>
           </goals>
       </execution>
    </executions>
</plugin>

https://github.com/sofdes/config-generation-maven-plugin

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文