Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Development productivity with Jboss

 
Katia Cris
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody!

In our company we are developing a new Java Framework based on J2EE. We're presencing a small development productivity when leading with Jboss 4.2, cause the server is to slow to startup ou to publish the web site.

Is there any basic configurations that we have to make in Jboss server to change this situation?

Thanks a lot.
 
Ankur .Jain
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to change the memory arguments in run.bat(Windows) or run.sh(Unix).

set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m

Xms is for Minimum and Xms is for maximum RAM usage by JBoss.
you can change Minimum memory requirement from 128 MB to as supported by your system.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You do not have to restart the server when you make a change - you could instead just redeploy the app. Also, if you deploy the app using an exploded directory, then you could easily update only the changed files.
 
Javid Jamae
Author
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've found that stripping out a lot of services that you might not use will really help with startup time. If you don't use things such as JMS, just remove the services and you'll see a big impact.
 
Anthony Karta
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Javid Jamae:
I've found that stripping out a lot of services that you might not use will really help with startup time. If you don't use things such as JMS, just remove the services and you'll see a big impact.


Or it's enough to use Tomcat + openJMS + other frameworks as required. am I correct?

I don't know much about JBoss. Does it have build in "spring/injection" framework inside?

thanks
ak
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JBoss Microkernel, on which JBossAS 5.0 is built, is an IoC container and this has many of the same features as Spring. In addition, there is a JBoss Spring integration project.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic