TechnoBuzz

A Techno Blog, mainly about Java

Hello World Portlet

From IBM:

WSAD Integration edition

First, this page has a link to the portal toolkit

Requirements: portlet-api.jar, wpsportlets.jar, wps.jar
Servlet functionality: j2ee.jar, dynacache.jar

javac -classpath %CLASSPATH% com.ibm.wps.samples.HelloWorld.java


import org.apache.jetspeed.portlet.*;
import java.io.*;
public class HelloWorld extends PortletAdapter {
public void init(PortletConfig portletConfig) throws UnavailableException
{
super.init( portletConfig );
}
public void doView( PortletRequest portletRequest, PortletResponse portletResponse )
throws PortletException, IOException
{
PrintWriter writer = portletResponse.getWriter();
writer.println(“

Hello Portal World!

“);
}
}

Developer Works On Portals

Portlet Redbook

Advertisements

October 11, 2004 Posted by | Portals | Leave a comment

Struts in action forum

Click here to enter the forum

October 11, 2004 Posted by | Struts | Leave a comment

First Time Strutter

Just a link to a nice source of information. This one happens to be on Struts. But there seems to be quite an array of good information [link].

Then there is this Struts with WSAD example.

October 11, 2004 Posted by | Struts | Leave a comment

Sequence Diagram

Below is the link to a UML sequence diagram i composed using Magic Draw.

It contains the following components: Control, Entity, Boundry, and a User:

link

October 11, 2004 Posted by | Patterns & UML | Leave a comment

Linux 101

APT as in Advanced Package Tool

Webmin.com – a web-based interface for system administration for Unix

RootPrompt.org

Stokely

LWN.net– Linux news

Linux distrubutions can be found at distrowatch, example ubuntu

As well, you can find a distribtion archive at ibiblio  Right hand side for links.

The Linux Documentation Project – TLDP

GNOME is a Unix and Linux desktop suite and development platform.

KDE is a powerful Free Software graphical desktop environment for Linux and Unix workstations.

Fedora (redhat)

Centos – CentOS-3 is designed for people who need an RHEL 3 compatible OS but who do not need strong support in order to achieve successful operation.

GNU – complete UNIX style operating system which is free software.

Novell : Ximian , Suse, Evolution .

http://www.blackdown.org/
http://go-mono.org/

October 11, 2004 Posted by | Linux | Leave a comment