aspose file tools*
The moose likes JBoss/WildFly and the fly likes How to configure JBoss only for sevlets and jsp? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to configure JBoss only for sevlets and jsp?" Watch "How to configure JBoss only for sevlets and jsp?" New topic
Author

How to configure JBoss only for sevlets and jsp?

Vinayachandra Acharya
Greenhorn

Joined: Nov 16, 2004
Posts: 8
Hi,

I am developing an web application using struts.....
I am using jboss 3.2.3 ..... how i can configure the jboss server to run only servlets, JSp and some database? i don't need EJB..

Thanks
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Then there's nothing to configure. You are not deploying any EJB's, so none of JBoss's EJB container stuff will be used. Of course you probably don't want to be using a full J2EE application server just a s a Web Container.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Vinayachandra Acharya
Greenhorn

Joined: Nov 16, 2004
Posts: 8
thanks for the reply....

Since starting jboss takes lot of time, i need help in deleting unwanted (in my case) applications (i.e. files not related to web container).
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

If starting an out-of-the-box instance of JBoss take more than about 25 seconds, I'd consider getting more resources for the machine you are developing on. Just for comparison, the 1GB RAM, 3GHz processor machine I'm working on at the moment JBoss 3.2 starts in 11 seconds. Curiously, staring Tomcat stand alone takes about the same time.

The easy way JBoss registers stuff for deployment means its also easy to remove services from the app. There's stuff like this the jmx-console, jms clustering services etc. are all non-essential. There's also things like the default hsqldb data source which you don't need. You can just play around, trial and error to see what you don't need.
Peter Rooke
Ranch Hand

Joined: Oct 21, 2004
Posts: 805

i don't need EJB.. - Why don't you just use Tomcat then?


Regards Pete
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to configure JBoss only for sevlets and jsp?