This week's book giveaway is in the Java in General forum.
We're giving away four copies of Helidon Revealed: A Practical Guide to Oracle’s Microservices Framework and have Michael Redlich on-line!
See this thread for details.
  • 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:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Reasons for Using Jboss Rather Than Tomcat Only

 
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using Struts2 - Spring - Hibernate on standalone tomcat server. However, I heard that someone is using Jboss while also running Struts2 - Spring - Hibernate web appli (without using EJB). Why Jboss is needed in such a case? Is there any benefits for using Jboss rather than standalone tomcat?
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jboss is an application server, which support EJB,JMS....right now it contains web server(Tomcat)
Tomcat is a web server only support for servlet an jsp
 
JavaMonitor Support
Posts: 251
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Alec,

From the stuff you are using, there is no pressing need to go to JBoss. I found JBoss startup times to be horrible, so sticking with Tomcat saves you a lot of waiting.

If you are experiencing the kind of system loads that overload tomcat's connectors, switching to JBoss *may* help. From what I have heard, JBoss offers quite a good NIO-based connector.

Other that that. Meh. :-)
 
Alec Lee
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Kees,

Does Jboss offer anything better than standalone Tomcat in terms of scaling up the appli (no EJB, no remote call) through clustering ?
 
Kees Jan Koster
JavaMonitor Support
Posts: 251
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Alec,

Tomcat offers clustering, JBoss does too. Whether it is more effective depends on your application's needs. Since you're asking, I think Tomcat's clustering will do nicely for you. :-)

If you write your application according to the JEE spec and use Tomcat without relying on any of its Tomcat-specific features, you can move to JBoss (and endure JBoss start times) at any time in the future.
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic