aspose file tools*
The moose likes JBoss/WildFly and the fly likes Development productivity with Jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Development productivity with Jboss" Watch "Development productivity with Jboss" New topic
Author

Development productivity with Jboss

Katia Cris
Greenhorn

Joined: Oct 29, 2007
Posts: 1
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

Joined: Jul 01, 2008
Posts: 2
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

Joined: May 14, 2008
Posts: 5836
    
    7

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.


JBoss In Action
Javid Jamae
Author
Ranch Hand

Joined: May 14, 2008
Posts: 198
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.


Author: JBoss in Action, javidjamae.com, @javidjamae on Twitter
Anthony Karta
Ranch Hand

Joined: Aug 09, 2004
Posts: 342
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


SCJP 5
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Development productivity with Jboss