Reputation: 373
I am new to "java world", I need following clarification
My application would be simple 3-tier with Servlets, so given this which is the best option.
Upvotes: 0
Views: 2094
Reputation: 179
when to use JBOSS v/s TOMCAT ? differences?
Basically, they are web server but Jboss is a larger web server. JBoss is also used for enterprise applications using Java EE technologies: JMS,EJB etc. and others like SOA, Webservices. Jboss usually is called Application Server (different from Web server).
which is more reliable ? which is more scalable? Both. It depends on your application
which is more easy to to administrate? Tomcat
does both have scale out options? Yes
can i host an application developed in flex on JBOSS/TOMCAT? Yes, any of them
my application would be simple 3-tier with Servlets , so given this which is the best option You did not mention what your tiers are so for the begining I suggest TOMCAT
Upvotes: 1
Reputation: 137
What type of Java app server should you choose for your next project? Well, that kinda depends on what kind of app you’re building, what your needs are, what type of organization you work in, and lots of other factors too pls check below link
http://zeroturnaround.com/rebellabs/the-great-java-application-server-debate-with-tomcat-jboss-glassfish-jetty-and-liberty-profile/
Upvotes: 0
Reputation: 199215
my application would be simple 3-tier with Servlets , so given this which is the best option.
Use: Tomcat
Tomcat is a servlet container which basically serves JPS pages and servlets.
In the other hand JBoss is an application server ( which inside contains a servlet container among a lot more stuff ) and is more complex.
Upvotes: 2
Reputation: 310893
Tomcat is a servlet container. JBoss is a J2EE container. It uses Tomcat as its servlet container. So the question doesn't actually make much sense.
Upvotes: 0
Reputation: 340221
They are different beasts. Tomcat is a pure servlet container (meaning can run servlets and JSP mostly). JBOSS implements thte full J2EE spec, adding, for example, EJB (Enterprise Java Beans) and JMS layers, with the additional complexity that entails.
You very likely just need a servlet container like Tomcat. I recommend Jetty as it's a lot simpler to handle for that use case (just servlets).
Upvotes: 1