Hi,
I'm planning to write a blogging engine over the summer to learn about web apps & servlets, etc. What would be an appropriate framework to use? I've been told Spring would be good, but I don't know anything about it. Any suggestions?
Hi,
I'm planning to write a blogging engine over the summer to learn about web apps & servlets, etc. What would be an appropriate framework to use? I've been told Spring would be good, but I don't know anything about it. Any suggestions?
You could try Apache Abdera. It's an Atom Publishing library (with some Servlet framework pieces) that I've found useful, and Atom Pub would be a good place to start since it fits the blog/feed paradigm.
i would suggest grails (grails is built on top of spring-mvc, spring, and hibernate). here is a article about a sample blog app: http://www.devx.com/Java/Article/37487. i would also keep an eye on: http://graemerocher.blogspot.com/ as he is planning on releasing a blog plugin soon.
I wonder why you want to use Java for such a task. If you want to learn the concepts of web-programming then why don't you go with an easy language like Python, perhaps using Django.
You might already know Java, but all the more reason to expand your language breadth even while you learn the plumbing of websites. I think you'll be able to build the site faster, iterate more, and learn more if you use Python/Django. I've heard that Ruby is good for such projects too, but I can't attest to that.
There really is no comparison for building websites quickly than a modern language and framework.
I would agree that Spring would be the best bet for your primary framework. The base spring framework is all about dependency injection, but there are layers on top of it (like spring's mvc framework) that leverage it very well and will make your development easier.
To hit the other major Java frameworks and patterns that you should be familiar with, make sure you use Hibernate as an object-relational mapping tool and JUnit for unit testing.
I would recommend to use JBoss Seam, which has very nice concepts. Used with JSF, you can build in a fast and efficient way a webapp. There is also a very good documentation, as tutorials, it won't take you much time to get it and use it.
Hi,
Better MVC/Web framework for write a blogging engine over the summer to learn about web apps & servlets, etc: NONE.
My rec:
:-)
imo using Spring or Jboss Seam are an overkill for a relatively simple application. As an entry point for web development in Java I would use Stripes http://www.stripesframework.org/display/stripes/Home
Other options will be: 1. not use a framework at all and work with Servlets and JSP directly, there are many books and online material you can use