[jboss-user] [JBoss Seam] - Re: Using seam-gen with JBoss IDE (Eclipse), where are all t

ellenzhao do-not-reply at jboss.com
Sat Nov 25 06:03:09 EST 2006


Hi Richard,

a common problem of almost all modern java IDE is, they consume a lot of system resource. I encountered OutOfMemoryException on both stack and heap pretty often using default start up configuration. This problem is magnified when there are plugins. So first off, the JBoss IDE does consume more system resource than a plain Eclipse. Make sure the memory is big enough in your box. With <= 512MB memory you'll probably spend more time on waiting for the IDE to respond than actual programming. (I have 1.5G in one box and 2G in another) For exclipse based IDEs, a workaround is adding arguments like this on startup:

  | -vmargs -Xms128M -Xmx256M -XX:PermSize=128M -XX:MaxPermSize=256M
  | 

Second, it is better to use the all-in-one bundle from jboss than first installing the bare Eclipse SDK then adding the JBoss features as plugin. The latter option might bring up some plugin management problems. Especially after running an update for the Eclipse, some JBoss features, for example the server synchronization (I consider a very important feature) was automatically disabled by Eclipse update and I failed to bring it back after hours of tweaking the configurations for the different plugins. When there was incompatible plugins, the really messy cyclic dependencies even prevented me from unstalling anything. So I tried out the all-in-one bundle from Jboss then things worked again. 

The JBoss IDE offers free tools for Hibernate, visual Jbpm and things alike.   I would like to have a feature which validates Seam objects. Hopefully it would be available in the future. But then, more memory would be needed....

Whether to use JBoss IDE or not also depends on what do you develop. My boss wanted a jbpm showcase application with graphical diagrams so I'm using this IDE. The hibernate tools are nice and frequently used by others too. If your daily work is more about handling web presentations especially jsf- or struts-centric, there might be better alternative which is more visual or consumes less system resources. If you go for WYSIWYH visual tools, on the Eclipse platform there are myeclipse, exadel studio and others. NetBeans has some visual things out of box, recently they have visual bpel and visual page-flow thing. IDEA 6 occupied approximately 60mb memory at startup without any plugin. That was remarkable but after plugins like database browser installed, the performance decreased significantly. What bothered me most is, IDEA 6 isn't really Debian-friendly. It was not quite responsive and crashed  every 30 min on my Linux box (2G memory). NetBeans has the best performance on Linux among the three and very stable. Emacs/JEdit   + Ant has the ultimate performance but when the project goes large and/or the there are a lot of configuration files, the OutOfMemoryException would occur in _my_ brain instead. :D  

   




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988527#3988527

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988527




More information about the jboss-user mailing list