GWT + EJB 3.0 +日食 + Java EE +网络逻辑10g

发布于 2024-09-29 10:16:07 字数 286 浏览 0 评论 0原文

我对 EJB 和 GWT 还很陌生,但我已经使用 Java 有一段时间了。

我的问题是:如何让 GWT 和 EJB 在 Eclipse 上一起运行?我一直遇到非常严重的记忆问题。它消耗 600mb 的 VM 和 200mb 的内存,并且我执行的所有其他操作(即打开 .java 文件或构建)都会因 permgen 错误而崩溃。我已经使用 java ee 安装了 eclipse helios,并安装了 gwt 作为插件。然后我安装了 Oracle Weblogic eclipse 插件。有没有更好的设置或IDE?

太感谢了!

I'm pretty new with EJB's and GWT but I've been using Java for a little while.

My question is: How do I get GWT and EJB's running all together on eclipse? I keep getting pretty severe memory issues with it all together. It consumes 600mb of VM and 200mb of mem and every other operation I do (i.e. open a .java file or build), it crashes with a permgen error. I have installed eclipse helios with java ee, and installed gwt as a plugin. I then installed the Oracle Weblogic eclipse plugin. Is there a better setup or IDE?

Thank you so much!

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

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

发布评论

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

评论(2

2024-10-06 10:16:07

当出现 permgen 错误时,解决方案通常是编辑 eclipse.ini。寻找该线

-XX:MaxPermSize=...m

并增加该值。永久代空间与堆和堆栈空间是分开的,因此增加它们没有帮助。 eclipse.ini 中的默认 MaxPermSize 值太小也是很常见的。

When you get permgen errors, the solution is usually to edit your eclipse.ini. Look for the line

-XX:MaxPermSize=...m

and increase the value. The permgen space is separate from the heap and stack space, so increasing them doesn't help. It's also pretty usual, that the default MaxPermSize value in the eclipse.ini is too small.

习惯成性 2024-10-06 10:16:07

我开始使用MyEclipse,它让我可以稳定地使用EJB + GWT + Java EE + Weblogic。它带有自己的 Weblogic 插件,并具有用于创建 EJB 的向导。您也可以通过其仪表板安装 GWT 插件。

另一个解决方案是完全忘记 Weblogic 并使用不同的服务器,例如 JBoss 或 Tomcat。这并不是真正的解决方案,因为它是一种妥协。 JBoss 和 Tomcat 似乎可以很好地与 Eclipse Helio Java EE 甚至 GWT 配合使用。

可用的设置:

- Eclipse Helio Java EE + JBoss + GWT (compromise)
- Eclipse Helio Java EE + Tomcat + GWT (compromise)
- MyEclipse + GWT (real solution)

希望这对像我这样刚刚开始使用 EJB 的人有所帮助。

I started using MyEclipse and it allows me to use EJB + GWT + Java EE + Weblogic stably. It comes with its own plugins for Weblogic and has wizards for creating EJBs. You can install the GWT plugin through its dashboard as well.

Another solution is to forget Weblogic altogether and use a different server such as JBoss or Tomcat. This isn't really a solution as it is a compromise. JBoss and Tomcat seem to work well with Eclipse Helio Java EE and even with GWT.

Setups that are usable:

- Eclipse Helio Java EE + JBoss + GWT (compromise)
- Eclipse Helio Java EE + Tomcat + GWT (compromise)
- MyEclipse + GWT (real solution)

Hopefully this helps someone who's starting out with EJBs like me.

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