Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 211097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T18:03:53+00:00 2026-05-11T18:03:53+00:00

I am investigating the use of web frameworks with my Java web-app. My basic

  • 0

I am investigating the use of web frameworks with my Java web-app. My basic requirements are pretty much easy maintainability, testability and no repetition.

I have explored writing my own MVC-type app using some sort of front controller pattern and JSP’s for the views. The benefit of this is that I have complete control of all aspects of my web-app and if I design it properly it should not be hard to move it over to a more tested framework in the future if I so choose. However, the con is that I have to reinvent the wheel so to speak.

I hear good things about the currently available web frameworks. Some technologies that I have been looking at are Spring, Wicket, Struts, Guice, Hibernate and Tapestry.

I am a bit wary of Tapestry and Wicket. I dont know TOO much about them but they seem to deviate from the servlet->model jsp->view formula. I am not sure if I am comfortable with that. Although, I hear that Wicket is actually the best fit with Guice and is extremely testable.

Spring seems like it could be a nice fit, but I am very wary of frameworks which attempt to do everything. I would love to use spring-MVC, but can I swap in other components? Can I for example use Guice as my DI engine while using Spring-MVC as my framework?

I have briefly looked at Struts but it seems overly complex for my needs and again seems to be a complete package.

I’ve never used Hibernate, but it seems to be the standard for ORM and if it’s anything like ActiveRecord (which I have only been exposed to a little bit) I am sure it fits my needs.

I also have never really used Guice but people really seem to like it, and I am a fan of DI in general even though I am not sure how it is used in an actual application.

Basically, I am only really confident with writing Servlets / JSP’s. I am not opposed to learning alternate technologies but I am looking for advice as to which ones would REALLY benefit me.

If I can make an MVC app using Servlets and JSP’s is it worth it to incorporate Spring? Or should I just use Servlets / JSP’s and incorporate a DI engine like Guice?

I am pretty sure I would like to use Hibernate for ORM, but I hear it can be pretty complex. All I am really looking for is a way to map my POJO’s to a database, so if there is something better/easier to use I am willing to look it up.

I am feeling lost and am looking for a bit of direction from people knowledgable in the area, any opinions on any of these issues would be hugely appreciated. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T18:03:54+00:00Added an answer on May 11, 2026 at 6:03 pm

    “Spring seems like it could be a nice fit, but I am very wary of frameworks which attempt to do everything. I would love to use spring-MVC, but can I swap in other components? Can I for example use Guice as my DI engine while using Spring-MVC as my framework?”

    Agreed Spring provides a lot of stuff, but it’s totally modular. You can use DI with or without AOP and so forth. And yes you can use Spring MVC and Guice for DI together.

    “I have briefly looked at Struts but it seems overly complex for my needs and again seems to be a complete package.”

    I have used Struts for quite some time now, but even when I started using it, I found it easy as a breeze. The controller might seem overwhelming at first, but you will have real fun when you get the hang of it. The best way would be taking a look at some real world examples using Struts.

    “I’ve never used Hibernate, but it seems to be the standard for ORM and if it’s anything like ActiveRecord (which I have only been exposed to a little bit) I am sure it fits my needs.”

    Oh then if you found Struts to tough, Hibernate is huge. It requires a big learning curve. It pays at the end, but if you know ActiveRecord, I will suggest you to stick to it before you get a good amount of knowledge of Hibernate.

    “I am pretty sure I would like to use Hibernate for ORM, but I hear it can be pretty complex.”

    IMHO, very true…at least for beginners. (Anyone suggesting a change here?)

    “If I can make an MVC app using Servlets and JSP’s is it worth it to incorporate Spring?”

    You mean without Struts or any other framework? How?

    Seems like you are trying to take on too much too fast. Try considering one thing at a time. DI itself is a tricky thing to implement in real world. Oh yes conceptually it’s great, but what I mean is you need to first get a hang of things one by one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 171k
  • Answers 172k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I would recommend Set::CrossProduct, which will create an iterator to… May 12, 2026 at 2:23 pm
  • Editorial Team
    Editorial Team added an answer It's actually not that hard. JQuery almost gets you there… May 12, 2026 at 2:23 pm
  • Editorial Team
    Editorial Team added an answer Original Question: jQuery makes a point of not including a… May 12, 2026 at 2:23 pm

Related Questions

I am trying to debug a problem with a .net compact framework application I
We have a .NET application that makes several concurrent calls to various web services,
I am currently investigating how to make a connection to a SQL Server database
I am working on a Silverlight client and associated ASP.NET web services (not WCF),

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.