• Post Reply Bookmark Topic Watch Topic
  • New Topic

web framework for small web app  RSS feed

 
Jack Donahey
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

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 ?
 
Tim Moores
Saloon Keeper
Posts: 4024
94
  • Mark post as helpful
  • send pies
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!