Results 1 to 5 of 5
  1. #1
    Anoop is offline Member
    Join Date
    Mar 2010
    Rep Power

    Default 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

  2. #2
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Rep Power


    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

    Design paradigms:
    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.

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power


    What's with all the words? Just mail him the code liked he asked. :rolleyes:

  4. #4
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Rep Power



    I got to learn to read the WHOLE sentence.

    Apache Roller - Downloads - Apache Roller

    No wonder I did terrible on my exams :P

  5. #5
    evan.anon is offline Member
    Join Date
    Nov 2011
    Rep Power

    Default 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 09:54 PM. Reason: First Post: corrected title

Similar Threads

  1. Replies: 11
    Last Post: 08-18-2009, 05:31 AM
  2. Here is my blog
    By Shahid in forum Reviews / Advertising
    Replies: 5
    Last Post: 10-23-2008, 03:48 AM
  3. My java blog and site
    By in forum Reviews / Advertising
    Replies: 1
    Last Post: 10-23-2008, 03:47 AM
  4. Will you blog if we ...
    By Java Tip in forum Suggestions & Feedback
    Replies: 6
    Last Post: 07-23-2008, 05:25 AM
  5. easy way to study the java springs concept
    By kumar84 in forum New To Java
    Replies: 1
    Last Post: 07-17-2007, 04:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts