Struts 2 的流行 IDE
我开始学习 Struts 2,并且想知道:
哪个是 Struts 2 最受欢迎的 IDE?
我研究了其中的一些(netbeans、idea、eclipse),只有 idea 似乎将 Struts 视为一等公民。但社区版的idea不具备这个能力。
其他人有第三方插件来支持它,但听起来并不像真正的“内置”。鉴于 struts 是最流行的 java 框架,我觉得这很奇怪。
任何提示表示赞赏
I'm beginning to learn Struts 2, and am wondering:
Which is the most popular IDE for Struts 2?
I've looked at a few of them (netbeans, idea, eclipse) and only idea seems to treat Struts as a first class citizen. But the community version of idea doesn't have this capability.
The others have third party plugins to support it but it doesn't sound like its really 'built in'. I find this strange, given that struts is the most popular java framework.
Any hints appreciated
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
带有 Struts 2 插件的 Eclipse,本文提供了有关它的详细信息 Struts -2-Eclipse-插件
Eclipse with Struts 2 Plugin, this article provides details information about it Struts-2-Eclipse-plugin
即使这是真的,在表示层环境中,事情也是短暂的,并且将来可能会发生变化。最重要的是,开发和维护对非标准框架的 IDE 支持并不是那么轻松,可能不值得付出努力,特别是对于开源计划而言。这也许是一个解释。
也就是说,一个好主意实际上是避免 XML 配置地狱并更喜欢约定而不是配置方法。 代码隐藏插件可以帮助实现这一目标。另一种选择是抛弃 Struts 2 并切换到 Stripes Framework > :) 但这是另一个故事了。
Even if that's true, things are ephemeral in the presentation layer landscape and it might change in the future. On top of that, developing and maintaining IDE support for a non standard framework is not that light and may not be worth the effort, especially for open source initiatives. This might be an explanation.
That said, a good idea would be actually to avoid the XML configuration hell and to prefer a convention over configuration approach. The Codebehind Plugin can help achieving this. Another option would be to throw Struts 2 away and to switch to the Stripes Framework >:) But this is another story.
我使用 IntelliJ 和 Struts 2 插件。到目前为止我是一个快乐的用户。
I use IntelliJ with Struts 2 plugin. I'm a happy user so far.
我使用 eclipse,但没有任何真正的插件支持。
编辑 struts xml 文件有点麻烦,但是 Eclipse 中的 xml valiator 以及 eclipse 对应用程序服务器和容器的支持非常容易处理。
I use eclipse, but without any real plugin support.
Editing the struts xml files is a bit of a pain, but the xml valiator in Eclipse and eclipse's support for application servers and containers is pretty easy to deal with.
我用过 Eclipse &我的Eclipse。
MyEclipse 更适合开发 STRUTS Web 应用程序,因为您可以在其中启动 Tomcat 实例,并编辑 JSP 以进行实时更改。并不是说如果没有设置就无法在 Eclipse 中执行此操作。 MyEclipse 也有 struts-config 的图形表示,但对于大型设置来说并不是很有用。
我的大部分 JSP 和配置文件已在 TextPad 中编辑...
I've used Eclipse & MyEclipse.
MyEclipse was slightly more tailored to developing STRUTS webapps because you could start a Tomcat instance within it, and edit JSPs for real time changes. Not that you couldn't do this in Eclipse without setup. MyEclipse also had a graphical representation of the struts-config, but it wasn't really useful for large setups.
Most of my JSPs & config files were editted in TextPad...