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
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.
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.
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.
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.
Joined: Jun 05, 2010
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
subject: Servlet & jsp or Spring for faster and efficient web application