deploying portlet to portal server.

I am newbie in portal technology.Just cretaed a simple Hello World portlet.Now I need to deploy HelloWorld.war in the server.How do I do that?
[170 byte] By [jaaya] at [2007-11-26 21:15:29]
# 1

<PS_INSTALL_DIR>/SUNWportal/bin/psadmin deploy-portlet -u amadmin -f ps_password -m portal1 -d <dn for which you want to deploy the portlet> helloworld.war

You can also see ./psadmin deploy-portlet --help

To undeploy

./psadmin undeploy-portlet -u amadmin -f ps_password -m portal1 -d <dn for which you want to undeploy the portlet> helloworld

SiddeshKamatha at 2007-7-10 2:54:10 > top of Java-index,Web & Directory Servers,Portal Servers...
# 2

> <PS_INSTALL_DIR>/SUNWportal/bin/psadmin

> deploy-portlet -u amadmin -f ps_password -m portal1

> -d <dn for which you want to deploy the portlet>

> helloworld.war

>

> You can also see ./psadmin deploy-portlet --help

>

> To undeploy

>

> ./psadmin undeploy-portlet -u amadmin -f ps_password

> -m portal1 -d <dn for which you want to undeploy the

> portlet> helloworld

Are the above commands same for all the portal servers or do they vary depending upon the servers?

jaaya at 2007-7-10 2:54:10 > top of Java-index,Web & Directory Servers,Portal Servers...
# 3

These commands are specific to Sun Portal server. If you want to deploy and test your portlets you can download the Open Source Portlet Container from https://portlet-container.dev.java.net . Once your portlet is working fine, you can use the commands mentioned above to deploy on the Sun Portal Server.

You can also use Netbeans Portal Pack(http://portalpack.netbeans.org), which is a Netbeans Plugin to develop and test portlets .

dgothea at 2007-7-10 2:54:10 > top of Java-index,Web & Directory Servers,Portal Servers...