Results 1 to 5 of 5
- 03-01-2010, 07:44 AM #1Member
- Join Date
- Mar 2010
- Rep Power
What should I study to create a BLOG with java
I m just aware of basic java.... i wanna Create a BLOG using java...
so can anyboy tell me that what should i study and from where(if possible)?
If any body have code then plzz mail me at email@example.com
- 03-01-2010, 07:08 PM #2
Well, from the features a blog has,
- a web interface
- storage of content in a way that facilitates storing a lot of content over time and making it searchable.
For the first point, I would think we are going to need to build a Java web application, which could be a servlet container, such as Tomcat, possibly hooked to a front facing HTTP server such as Apache, using "mod_jk" tomcat connector.
Structurally, a web application is contained in a .war file, where we would have a model-view controller type of mechanism (such as struts (v1,or v2), Spring-MVC, or Java Server Faces).
I have had good success using Spring MVC with JSP pages and the Tiles templating project to create simple structured web applications.
And for the second point, this is a kind of database. which could be Postgresql, MySQL, H2 (a nice Java based embeddable database), All of which are invoked using SQL, through Java database connection (JDBC).
Though in practice it is difficult and tedious to program straight JDBC for complex applications, it might be handy to learn about an object relational persistence engine, such as Hibernate or Ibatis.
And to assemble this together, likely a build tool such as Ant.
So, to review
HTTP (e.g. cookies)
Java Web Applications
Model view controller (MVC)
Templated Web page layout
Data accessors and object relational mapping.
Build management (e.g. ant, maven)
Springframework (a good inversion of control container to use inside web applications)
Spring MVC (builds on former)
Tiles (templating library)
commons-fileupload (if we wanted to attach pictures)
MySQL databse (a popular easy to get into database)
Hibernate, or Ibatis (database mapping tools)
Lots of parts eh.?
There is a project called 'app fuse' Home - AppFuse 2 -*Confluence
they work to make a bundle of a bunch of these projects to facilitate quick start to building new applications, so that might also be a good place to investigate. Though it is handy to know the different pieces on their own, as with any single bundled thing, its easy to become confused where and what something is providing if it all comes pre-assembled for you, and playing with a project like appfuse doesn't teach you how to do all of the individual programming activites.
What's with all the words? Just mail him the code liked he asked. :rolleyes:
- 03-02-2010, 01:37 AM #4
- 11-14-2011, 08:49 PM #5Member
- Join Date
- Nov 2011
- Rep Power
Clear, Concise, and Informative is Wonderful!
No, please... words are good, especially when they are clear, concise, and informative. Thank you for answering my question ahead of time. I just spent a few hours searching for this information, before specifically entering "create a blog with java".
Last edited by evan.anon; 11-14-2011 at 08:54 PM. Reason: First Post: corrected title
- By Tiago in forum New To JavaReplies: 11Last Post: 08-18-2009, 04:31 AM
- By Shahid in forum Reviews / AdvertisingReplies: 5Last Post: 10-23-2008, 02:48 AM
- By Engineeringserver.com in forum Reviews / AdvertisingReplies: 1Last Post: 10-23-2008, 02:47 AM
- By Java Tip in forum Suggestions & FeedbackReplies: 6Last Post: 07-23-2008, 04:25 AM
- By kumar84 in forum New To JavaReplies: 1Last Post: 07-17-2007, 03:53 PM