File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Platform for Grails application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Platform for Grails application" Watch "Platform for Grails application" New topic

Platform for Grails application

Will Fleming

Joined: Sep 28, 2005
Posts: 20

I would like to know the particular advantages of migrating to Jboss5 with regards to a grails application that uses GORM. I am running my application on 4.2.3 right now and am considering a more lightweight container since jBoss seems a little heavy for my needs. I really like jBoss and don't want to shift if I can streamline jBoss5.

SCJP 1.5
Javid Jamae
Ranch Hand

Joined: May 14, 2008
Posts: 198
JBoss can be as "light" as you want it to. I think the minimum configuration is like 80K and hardly uses any memory -- though it has no userful services running on it.

The first thing you should do with JBoss is figure out what you don't need and customize the server configuration to have only the services that you'll use. For example, if you don't need JMS, strip out the messing service. If you don't need web services, remove them. You get the point.

Peter Johnson and I cover this fairly well in JBoss in Action (which I'm plugging since we're doing a promotion here this week). We have a section in Chapter 15 on "Removing unwanted services".

Author: JBoss in Action,, @javidjamae on Twitter
Peter Johnson

Joined: May 14, 2008
Posts: 5852

JBoss AS 5.0.0.GA contains a new configuration called 'web'. This configuration is the bare-bones set of services needed to run a web application, and it also includes support for JPA. We cover this configuration in section B.1.4.

JBoss In Action
Paul Michael
Ranch Hand

Joined: Jul 02, 2001
Posts: 697
Does it still use Tomcat as its web container?

SCJP 1.2 (89%), SCWCD 1.3 (94%), IBM 486 (90%), SCJA Beta (96%), SCEA (91% / 77%), SCEA 5 P1 (77%), SCBCD 5 (85%)
Paul Michael
Ranch Hand

Joined: Jul 02, 2001
Posts: 697
Paul Michael wrote:Does it still use Tomcat as its web container?

Sorry, the answer to this question is already in here.
I agree. Here's the link:
subject: Platform for Grails application
It's not a secret anymore!