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

web framework for small web app

Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I'm looking for a framework(s) for a small web app (running on free micro AWS EC2 for the first year, serving probably to less than 100 users a day (but i hope there will be more in the future ) )
at the beginning i thought about Spring (DI) Spring MVC, Spring JPA, Hibernate - something i know.

then i thought that maybe there are other lighter frameworks?  i spent 2 evenings trying to configure and get a knowledge about Play Framework,
but i can see that there is too much Scala, Activator works strange (run command hang few times, so i had to reload whole activator app anyway - it takes a lot of time), poor IDE integration, not happy for now.

What about other frameworks? something worth to try ?

But then i thought that with Spring i'll have all functionalities i need (like auth, etc.), for faster reloading (during dev process) i can use spring boot devtools.

Is there a real alternative? i know some frameworks offer simple MVC with annotations - that's look nice, but then, i'm worried that later i'll have some problems with implementing Authentication/Authorization (and in Spring there are proven/tested mechanisms for that)

Can i really get smaller memory footprint with other frameworks ?
Saloon Keeper
Posts: 7597
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I prefer to use smaller frameworks, and then to combine them as necessary. For MVC, I like Stripes, which uses annotations, and does everything I want a web framework to do, and little else. For security, I might add Apache Shiro, and for DB access, Hibernate or OpenJPA. Stripes is readily extensible, making it easy to mix and match in that way.
    Bookmark Topic Watch Topic
  • New Topic