Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Development productivity with Jboss

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Author
Posts: 198
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic