4 Replies Latest reply on Mar 7, 2006 10:56 AM by Roy Russo

    "Hello World" for CMS/Jackrabbit? (newbie)

    Kiril Sramko Newbie

      Hi,
      first: I'm new to JBoss Portal.
      My problem: I'm trying to build a sample-portlet with persistent data storage in the CMS or into jackrabbit directly. But I can't find a sample or useful documentation on this subject. I've tried to understand the forum-portlet and some other. But they aren't documented for newbies, so I wasn't able to understand how they work.

      Has/Can anyone written/write a ?Hello World!?-portlet with his on persistent data storage, just showing,
      - how to access jackrabbit (if it's needed; maybe just the CMS)
      - how to build up a custom object (e.g. address book: name, surname, address)
      - how to read and write data

      I'm not interested in much functionality, but into documentation.

      Thanks,

      Kiril

        • 1. Sorry, my system
          Kiril Sramko Newbie

          I'm using JBoss Portelt 2.2 on Windows XP. I' donloaded the 60 MB package of JBoss AS (Version ???) including JBoss Portal 2.2

          • 2. Re:
            Thomas Heute Master

            You should do your homework step by step. What about starting to write a simple portlet then write a simple application that uses JackRabbit and finally mix both ? They are not tightly coupled so you won't have any problem.

            Are you sure you want to store that in CMS and not directly in a database ? (using Hibernate for example).

            • 3. Re: "Hello World" for CMS/Jackrabbit? (newbie)
              Kiril Sramko Newbie

              I thought, there is some library for persistent storage, because a CMS is already implemented. And using just JBoss libs would make it easier to use other JBoss functionalities, like clustering. I've already done some ?homework?, but wasn't sure about this. The JBoss Portal doc is quiet poor and there are only a pew pages about portlets and portals on the Internet. For me it is hard to get familiar with this technology.

              • 4. Re:
                Roy Russo Master

                 

                "lyrik" wrote:
                The JBoss Portal doc is quiet poor and there are only a pew pages about portlets and portals on the Internet. For me it is hard to get familiar with this technology.


                The JBoss Portal docs are not a beginners guide to portlet development, nor are they a beginners guide to jackrabbit development.

                Buy a book or read the specs.