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

Servlet & jsp or Spring for faster and efficient web application

 
Ranch Hand
Posts: 622
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Members

I am working on a web project for a finance company whose functions would be similar to those of banks. i will be using mysql as the database, with hibernate as the orm framework. Will also use SSL. Should i go for simple Servlet & Jsp or Spring framework? (I am having only 45 days to hand over the project)

Please give your suggestions with reasons to support it

Thanks
 
author & internet detective
Posts: 41988
911
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kunal,
The right decision is based on many factors. For example, what is your comfort level with Spring. If you've never used it before, writing a project in a new technology in a month and a half by yourself, isn't a good idea.

If you are comfortable with Spring, use it. It will help you develop faster leaving you more time to find the performance bottlenecks in your code.
 
Kunal Lakhani
Ranch Hand
Posts: 622
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your reply Jeanne Boyarsky
Frankly speaking, last time i had worked with spring was about 1.5yrs back.

So, i think it would be better to use jsp servlet
 
Ranch Hand
Posts: 172
Redhat Ruby C++
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree with Jeanne, but I would also consider the maintenance factor like: does your enterprise use spring (or JSP or any other technology) a lot? If they do, this could be also a good choice due other people might also work in this project or even have to maintain the code later.

Regards!
Luan
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Kunal Lakhani wrote:So, i think it would be better to use jsp servlet


That may be the right decision, but note that this discussion here is much too superficial to support it. Unfamiliarity with a framework is a good reason not to use it in a time-constrained project, but as the others said, there are a lot more factors to consider, many of which are so specific to your circumstances that it would not make sense for anyone here to advise one way or another. Performance of the web app in particular is not a good reason: neither a Spring web app, nor a pure Servlet/JSP web app, is inherently faster than the other. It's possible to create both slow and fast web apps with either approach.
 
Rancher
Posts: 989
9
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you use plain JSP and servlets you will have to solve many problems that modern day frameworks have inbuilt solutions for. Your solutions may be just as efficient theirs but personally I would prefer writing more business logic than spending time solving technical problems that have been solved by some frameworks.
 
Kunal Lakhani
Ranch Hand
Posts: 622
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks to all of you members.

I am using Servlet jsp as i dont have enough time to dive in with spring.
May be, later on, i may use spring in a no time-constraint project
 
There's a city wid manhunt for this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic