You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Billy Bacon <bi...@gmail.com> on 2006/05/01 16:47:32 UTC
Getting started with Jetspeed 2.0
Hi,
I'm trying to get started with jetspeed 2.0 and went through all the Guides
here http://portals.apache.org/jetspeed-2/guides/index.html.
I'm still not clear where I should start. I'm obviously new to the portal
development world. I'm looking to build a portal from scratch and I haven't
seen a 'how to get started' guide for dummies like me. I looked through the
mailing list archives back to January of this year and didn't find anything
to get me started. Google hasn't done me any good either.
Does a quick start guide exist somewhere? This guide here
http://portals.apache.org/jetspeed-2/getting-started.html seems to be dated
b/c I've downloaded and installed the Derby installer which seems to bundle
everything so I don't even need my own install of Tomcat. My
ApacheJetspeed2.0 directory seems to have everything. I've started up the
tomcat install in this directory and can hit http://localhost:8080/jetspeed.
I've downloaded and installed Maven and a lot of the documentation refers to
the 'maven' command but it seems that the new command is 'mvn'.
Would it be useful for me to start looking into Velocity before I get
started with Jetspeed 2.0?
Thank you for any help.
- Lost -
Re: Getting started with Jetspeed 2.0
Posted by Billy Bacon <bi...@gmail.com>.
It looks like I have all the tools and setup I need to get started. I'll
just use the bundled Tomcat within the ApacheJetSpeed2.0 directory which
uses the embedded derby database.
Maven seems to be a very powerful tool and I'd like to use it. I'll need to
do some more research to make sure I'm using it properly.
So I think most of my questions revolve around how to setup a web app (WAR)
which adhears to the portlet standard. Looks like JetSpeed uses PSML to
define the structure of a web portal. I have a lot of experience with Struts
and web development so I understand that a jetspeed portal is nothing more
than a WAR file. But PSML is completely new to me as is JSR 168.
Would you happen to have a simple WAR file that you've created which is the
bear minimum to get a jetspeed portal deployed to a servlet container? PSML?
Maybe by looking at these examples I could make some sense as to what is
required.
Thanks Jacek.
- Billy -
On 5/1/06, Jacek Wiślicki <ja...@gmail.com> wrote:
>
> Wiadomosc od Billy Bacon z 2006-05-01 19:35 brzmiala:
>
> > Are you saying that I should run this same installer again and point the
> > installer to my own Tomcat installation?
> As far as I remember, Jetspeed binary distrubutions/installers indeed
> contain the complete Catalina install. Overwriting existing Tomcat
> installation (as I've stated before) is useful when it is already
> configured (with other webapps deployed or runs as a service/deamon) and
> you just want to keep these setting with a new Jetspeed installation
> running on it. So there's no requirement to overwrite Tomcat, it is just
> a nice functionality :)
>
> > I've never used Maven before. I downloaded the 2.0 version and installed
> it
> > from http://maven.apache.org/. I will check out
> > http://wiki.apache.org/portals/Jetspeed2/Maven2BuildSupport. Thank you.
> > Do I
> > need Maven to develop with jetspeed or is it just recommended?
> Maven is very useful as it downloads/updates all the project
> dependencies and stores them in local repositories. And Jetspeed is
> "maven-configured" (it consists of many related sub-projects and manual
> build would be horribly difficult). But the same result could be
> achieved with ant.
>
> > How would I go about creating my own new portal app? Should I use Maven?
> I
> > read the Jetspeed Simple Portlet Guide and the instructions there seem
> to
> > not include Maven or even Ant.
> In order to deploy your own webapp into Jetspeed you just need to create
> a WAR. WAR is simply a ZIP archive (similar to JAR with some extra
> directories) and can be build with the jar tool, most IDEs also can
> create WARs. So there is no need to use Maven.
>
> --
> pozdrawiam,
> Jacek Wislicki
>
> jacek.wislicki@gmail.com
> tel.: +48 502 408 444
> gg: 2540358
> skype: jacek_wislicki
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
Re: Getting started with Jetspeed 2.0
Posted by Jacek Wiślicki <ja...@gmail.com>.
Wiadomosc od Billy Bacon z 2006-05-01 19:35 brzmiala:
> Are you saying that I should run this same installer again and point the
> installer to my own Tomcat installation?
As far as I remember, Jetspeed binary distrubutions/installers indeed
contain the complete Catalina install. Overwriting existing Tomcat
installation (as I've stated before) is useful when it is already
configured (with other webapps deployed or runs as a service/deamon) and
you just want to keep these setting with a new Jetspeed installation
running on it. So there's no requirement to overwrite Tomcat, it is just
a nice functionality :)
> I've never used Maven before. I downloaded the 2.0 version and installed it
> from http://maven.apache.org/. I will check out
> http://wiki.apache.org/portals/Jetspeed2/Maven2BuildSupport. Thank you.
> Do I
> need Maven to develop with jetspeed or is it just recommended?
Maven is very useful as it downloads/updates all the project
dependencies and stores them in local repositories. And Jetspeed is
"maven-configured" (it consists of many related sub-projects and manual
build would be horribly difficult). But the same result could be
achieved with ant.
> How would I go about creating my own new portal app? Should I use Maven? I
> read the Jetspeed Simple Portlet Guide and the instructions there seem to
> not include Maven or even Ant.
In order to deploy your own webapp into Jetspeed you just need to create
a WAR. WAR is simply a ZIP archive (similar to JAR with some extra
directories) and can be build with the jar tool, most IDEs also can
create WARs. So there is no need to use Maven.
--
pozdrawiam,
Jacek Wislicki
jacek.wislicki@gmail.com
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Getting started with Jetspeed 2.0
Posted by Billy Bacon <bi...@gmail.com>.
Thank you for the reply Jacek.
I downloaded and installed JetSpeed with this installer:
http://www.apache.org/dyn/closer.cgi/portals/jetspeed-2/binaries/Jetspeed2.0-derby-install.jar
And performed the install via
java -jar Jetspeed2.0-derby-install.jar
Nothing else was needed. I then can go to my ApacheJetSpeed2.0/bin directory
and start up tomcat via ./startup.sh. I then can hit the default jetspeed
portal from a browser window via http://localhost:8080/jetspeed.
Are you saying that I should run this same installer again and point the
installer to my own Tomcat installation?
I've never used Maven before. I downloaded the 2.0 version and installed it
from http://maven.apache.org/. I will check out
http://wiki.apache.org/portals/Jetspeed2/Maven2BuildSupport. Thank you. Do I
need Maven to develop with jetspeed or is it just recommended?
How would I go about creating my own new portal app? Should I use Maven? I
read the Jetspeed Simple Portlet Guide and the instructions there seem to
not include Maven or even Ant.
Thanks for your insights.
- Billy -
On 5/1/06, Jacek Wiślicki <ja...@gmail.com> wrote:
>
> Wiadomosc od Billy Bacon z 2006-05-01 16:47 brzmiala:
>
> > Does a quick start guide exist somewhere? This guide here
> > http://portals.apache.org/jetspeed-2/getting-started.html seems to be
> dated
> > b/c I've downloaded and installed the Derby installer which seems to
> bundle
> > everything so I don't even need my own install of Tomcat. My
> > ApacheJetspeed2.0 directory seems to have everything. I've started up
> the
> > tomcat install in this directory and can hit
> > http://localhost:8080/jetspeed.
> For the beggining I'd advise you to use some ant-based GUI installer
> available at http://portals.apache.org/jetspeed-2/download.html. Durring
> the installation process point to your CATALINA_HOME and all the
> necessary files will be copied to proper directories (remember that
> Tomcat should be stopped during Jetpeed install).
> > I've downloaded and installed Maven and a lot of the documentation
> > refers to
> > the 'maven' command but it seems that the new command is 'mvn'.
> "mvn" stands for Maven 2.x, for Maven 1.x use "maven". Currently
> Jetspeed build is supported by either of them. As I see, you know how to
> use Maven 1.x. If you want Maven 2.x refer to
>
> > Would it be useful for me to start looking into Velocity before I get
> > started with Jetspeed 2.0?
> Only if you need to create your own decorators.
>
> --
> pozdrawiam,
> Jacek Wislicki
>
> jacek.wislicki@gmail.com
> tel.: +48 502 408 444
> gg: 2540358
> skype: jacek_wislicki
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
Re: Getting started with Jetspeed 2.0
Posted by Jacek Wiślicki <ja...@gmail.com>.
Wiadomosc od Billy Bacon z 2006-05-01 16:47 brzmiala:
> Does a quick start guide exist somewhere? This guide here
> http://portals.apache.org/jetspeed-2/getting-started.html seems to be dated
> b/c I've downloaded and installed the Derby installer which seems to bundle
> everything so I don't even need my own install of Tomcat. My
> ApacheJetspeed2.0 directory seems to have everything. I've started up the
> tomcat install in this directory and can hit
> http://localhost:8080/jetspeed.
For the beggining I'd advise you to use some ant-based GUI installer
available at http://portals.apache.org/jetspeed-2/download.html. Durring
the installation process point to your CATALINA_HOME and all the
necessary files will be copied to proper directories (remember that
Tomcat should be stopped during Jetpeed install).
> I've downloaded and installed Maven and a lot of the documentation
> refers to
> the 'maven' command but it seems that the new command is 'mvn'.
"mvn" stands for Maven 2.x, for Maven 1.x use "maven". Currently
Jetspeed build is supported by either of them. As I see, you know how to
use Maven 1.x. If you want Maven 2.x refer to
http://wiki.apache.org/portals/Jetspeed2/Maven2BuildSupport.
> Would it be useful for me to start looking into Velocity before I get
> started with Jetspeed 2.0?
Only if you need to create your own decorators.
--
pozdrawiam,
Jacek Wislicki
jacek.wislicki@gmail.com
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org