This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
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
Joined: Jul 01, 2008
Posts: 2
posted
0
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.
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.
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.
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?
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.