Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to configure JBoss only for sevlets and jsp?

 
Vinayachandra Acharya
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Vinayachandra Acharya
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 848
1
Java Linux Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i don't need EJB.. - Why don't you just use Tomcat then?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic