• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Can large applications be deployed with tomcat?

 
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

1)I guess tomcat is not the server used to deploy big web applications.Is it true?

2)Can we make a large web application with tomcat & then deploy it with another server than tomcat?

3)Do companies use tomcat to drive web applications(if small)?

also

4)Do companies make applications using MVC?? Not using any framework??
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1) False.

2) True, as long as you follow standards and the other container follows standards.

3) Companies use Tomcat for apps of all sizes.

4) A framework is not required to create MVC applications.
 
Jyoti Vaskar
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Bear Bibeault wrote:1) False.

2) True, as long as you follow standards and the other container follows standards.

3) Companies use Tomcat for apps of all sizes.

4) A framework is not required to create MVC applications.




thank you Bear,
for your best answers .

But one small thing, either you didn't get my last question's meaning or I didn't get your answer.

My question is
4) Do companies use MVC to make applications(large or small) in real?
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm sure that most do. But dumb things happen as well.

My point was simply that creating a properly structures MVC application does not require a framework in order to accomplish that.
 
Jyoti Vaskar
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Bear Bibeault wrote:I'm sure that most do. But dumb things happen as well.

My point was simply that creating a properly structures MVC application does not require a framework in order to accomplish that.



thank you Bear.
I got it & sorry for the dump thing.
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why are you sorry because some companies are dumb?
 
Jyoti Vaskar
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Bear Bibeault wrote:Why are you sorry because some companies are dumb?



oops! that's a mistake again .

But is it maintainable for large applications using MVC?
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Of course. That's one of the whole purposes for following MVC.
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, Tomcat is used by companies (and other organizations) large and small for apps ranging from minor to major, and is commonly clustered to make heavy-load failure-resistent application server systems. I worked on one where we matched up 4 quad-core systems (16 Tomcat instances) with load-balancing and that's far from the biggest configuration you're likely to come across.

The primary difference between Tomcat and products like WebSphere, WebLogic, OC4J and so forth is that Tomcat doesn't provide the full J2EE service stack. It lacks such things as EJBs, JMS, and so forth. However an awful lot of production work can be done with just the basic Servlet/JSP platform, and Tomcat is ideal for that, since it doesn't require the long startup times more typical of full-stack servers. Actually, a number of full-stack J(2)EE servers embed a copy of Tomcat within themselves, including the JBoss and JOnAS server systems. In addition to Tomcat, there's also the jetty server, which is reportedly somewhat faster than Tomcat. JBoss and JOnAS use a plug-in servlet/JSP component architecture, so either Tomcat or jetty can be used within them.

Technically speaking, no system based on the HTTP protocol can truly be MVC, regardless of server, language or platform. The reason being that part of the MVC contract is that changes in the model must reflect back to the view. HTTP is a request/response protocol, and is forbidden by its basic architectural constraints from making unsolicited posts back to the client. The best it can do is send back update information when it responds to the next incoming request.

A number of frameworks for doing "MVC" exist. Struts is one of the oldest, but it was actually known as Model2, since it wasn't full MVC even within HTTP's constraints. The Spring Framework likewise has Spring MVC. About the most complete MVC you can get is offered by JavaServer Faces, which, when paired with a good set of AJAX tags, such as RichFaces, makes for something that isn't quite MVC, but gets about as close as HTTP will let you.
 
Jyoti Vaskar
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thank you Bear & Tim for this information.

thank you Tim for this wonderful explanation.

thank you .
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic