Tuesday Jul 10, 2007

Ohloh tracks OpenPortal project

Ohloh The OpenPortal project has an entry on the Ohloh web site for tracking information related to the OpenPortal community. This includes information about committers, code size and makeup, and licensing. If you use software from any of the OpenPortal projects, please add OpenPortal to your stack on Ohloh. We would also welcome any user reviews.

Monday Jul 09, 2007

Post-Installation Troubleshooting For SRA

Information is now available on BigAdmin on post-installation configuration issues and solutions for the Secure Remote Access (SRA). This documentation has a list of common issues that occur after installation of the SRA and tips to solve them.

Click here to read the troubleshooting guide.

Friday Jul 06, 2007

Screencast: Syndication of Portlets and iGoogle Gadgets

Here's a new screencast that demonstrates the syndication of Google gadgets from iGoogle to the Sun Portal Server, and also syndication of portlets/channels from the Sun Portal Server to iGoogle. The gadgets are syndicated with the help of the open source Google gadgets wrapper portlet from PALAB. The content from Sun Portal Server is syndicated to iGoogle using a Javascript/AJAX script as discussed in a previous post

Blog maintenance: New section for Portal documentation

I added a new section for Portal Documentation in the blog's right sidebar. This section has links to documentation for some of the past releases of the Portal Server. You can use this section to directly access documentation for a particular release instead of having to search through the maze at docs.sun.com. I also added a few more links under the Useful Resources section. Let us know if there are any other links that will be useful to share from the blog.

Thursday Jul 05, 2007

Sun Portal in 2007 SYS-CON SOA World Reader's Choice Awards

SYS-CON SOA World Reader's Choice Awards

Sun Java System Portal Server has been recognized in the "Best Portal Platform" category in the recently announced SYS-CON SOA World Reader's Choice Awards for 2007. Read the full announcement here.

Overall, Sun has won several top awards, including for the Best Application Server (read more commentary on The Aquarium).

Getting Started with OpenPortal


To get started, request the observer or contributor role in the OpenPortal project. This gives the details ...

You can grab the source from the project's subversion repo:

The build instructions are here:

And the install instructions:

Windows is still flaky it is best to start with Linux or Solaris at this point.

And finally, subscribe to the users and dev aliases:

The OpenPortal developers are happy to start answering your questions and help you get involved in the project.

Tuesday Jul 03, 2007

Building Blocks: Document provides technical overview


For those who want to take a closer look at the building blocks of Portal Server and the technology that powers this wonderful product, there is a very handy document in the Portal Server 7.1 document collection.

This will give a fair idea to someone who wants to evaluate Portal Server prior to installing and testing the product. The Sun Java System Portal Server 7.1 Technical Overview explains quickly the major features Portal Server.

Monday Jul 02, 2007

New Portlet Action support in Eclipse Portal Pack

Eclipse Portal PackA new version of Eclipse Portal Pack is uploaded on the Eclipse Portalpack site.

To learn how to use this new version to easily add portlet action support to your portlet visit my blog.

Sun Portal now supports EMC Documentum Portlets

Back in January 07, we started a project to support EMC Documentum Enterprise Content Management Portlets in Sun Java System Portal Server 7.1. The portlets in Content Management and Web Publisher categories are pre-packaged Web Development Kit (WDK) components that include Java server pages,  Java classes, and XML files. These portlets  provide core content management and content services for creating, viewing, submitting and publishing various types of content.

eRoom portlets provide a dashboard view into EMC Documentum eRoom and offer the ability to manage multiple project eRooms. 

ECI Services portlet is built using ECI Services framework with adapters to search various repositories, databases and and web sites.

All these portlets are  JSR 168 standard based and customizable. For further details, please visit this link Sun Java System Portal Server Documentum Portlets 

Friday Jun 29, 2007

New Look, Same Great Content

You've probably noticed we gave this blog a fresh, new look today.  The motivation was to inspire our great content writers, as well as our readers, to touch it.

We'd love to hear what you think.  Please feel free to comment on what improvements you'd like to see. As always, we're open to them.

Tuesday Jun 26, 2007

Mirage - Open Source CMS Based on JSR-170 Standards

Mirage project

The Mirage Project site got launched today on java.net. Check it out here

Mirage is an open source project which aims to deliver a professional open source content management system based on the content repository Java Content Repository (JCR) viz. JSR-170.

You can read more about it at my blog here.

Monday Jun 25, 2007

IPC StoryBoard Explored

If you are thinking of a simpler way to write the shopping cart example from my previous tutorial, check out the new IPC Tutorial. This explains how much easier it is now to drag and drop events with the help of StoryBoard .

StoryBoard is the new Feature introduced in the Portal Pack 1.3 Beta. Right now it provides tooling support for InterPortletCommunication for JSR 168 portlets. The tool will be enhanced in the future to enable support for the Eventing feature of JSR 286 portlets.

Also, checkout Satya's blog to  know more on IPC StoryBoard .

Portal Server 7 Samples Screencast

There are 4 portal samples available with Portal Server 7.  Here's a quick overview of each sample and pointers to the screencasts available for the samples.

Portal Welcome page

  • The Enterprise Sample is a business portal based on a fictitious company named Adventure Sports Café and showcases key features of the Sun Java™ System Portal Server.  Checkout the screencast
  • The Developer Sample highlights content that would be helpful to a developer trying to understand the inner workings of the Sun Java™ System Portal Server. Checkout the screencast

The fourth sample is the Welcome Sample which is a welcome page that provides a single point of access to the portal samples and pointers to the product documentation and support.

Friday Jun 15, 2007

Portal Hacks: Ajax Table Container as a Community template

Sun Java System Portal Server 7.1 Update 1 introduces the Ajax table container (see screencast for more information) . The Ajax container provides Ajax capabilities at the framework level such as drag & drop positioning of portlets, asynchronous refreshing of portlets, multiple layouts and styles.

The Community feature (see this post for more information) allows you to create new communities with different layout templates. The layout templates provided out-of-the-box are 2 column, weblog and  wiki, left navigation, and wiki. The Ajax container is not provided out-of-the-box, but it is fairly easy to add the Ajax table layout to the existing templates. Follow these steps to add Ajax table layout as one of the options to be displayed during community creation.

Step #1

From your command shell (make sure you are logged in as root or the portal user), go to /var/opt/SUNWportal/portals/<portal-id>/communitytemplates. All the paths in this post are for a portal installed on Solaris. If you are using Linux or Windows use the appropriate corresponding paths. For example, the above path on Linux will be /var/opt/sun/portal/portals/<portal-id>/communitytemplates, and on Windows it'll be something like C:\\Sun\\JavaES5\\portal\\data\\portals\\<portal-id>\\communitytemplates.

Step #2

In the /var/opt/SUNWportal/portals/<portal-id>/communitytemplates directory, copy 2column directory as ajax (or some other name), and 2column.properties as ajax.properties.

# cd /var/opt/SUNWportal/portals/portal1/communitytemplates
# cp -r 2column ajax
# cp 2column.properties ajax.properties
# ls
2column                      ajax.properties              menucontainer                wiki.properties
2column.properties           menucontainer.properties     wiki_en.properties
2column_en.properties        blogwiki                     menucontainer_en.properties
ajax                         blogwiki.properties          wiki

Step # 3

Change to the newly created ajax directory. You'll see a number of XML files in the directory.

# cd ajax
# ls
banned.xml    disabled.xml  member.xml    pending.xml   visitor.xml
deleted.xml   invited.xml   owner.xml     rejected.xml

Edit each file and replace the string "JSPTableContainerProvider" with "AJAXTableContainerProvider".

Step # 4

Change directory one level up and edit ajax.properties. Customize the values for the new ajax template. This should be fairly straightforward. Next create a localized copy of ajax.properties by copying it as ajax_en.properties.

# cp ajax.properties ajax_en.properties

That's it! Your ajax community layout is now ready to be tested.

Login to the Community sample as a user. Default user is test/test. Click on the "Create a New Community" link to launch the community creation wizard. Enter the values for the first two screens of the wizard till you reach the Template step. In the templates screen you should now see a new option for the Ajax Table Layout.

Select Ajax Layout in the template selection step and go through the wizard to create a new community. Access your newly created community and you should see the community load up using the Ajax table layout. In your layout, you'll be able to drag and drop portlets around the page, change the layout from 2-column to 3-column, and even change the style of the page.

This concludes the simple hack to make your community Ajax-enabled!

Saturday Jun 09, 2007

Portal Server at Sun TechDays in Mexico

Sun Tech Days 2006-2007I had the pleasure of giving a talk on Portal Performance and our AJAX desktop at the Sun Tech Days event in Mexico last month.  You can download the presentation from the Mexico event site, it was part of Track 1.

All of the Tech Days events are very highly recommended for all developers and cover quite a wide spectrum of technologies.  But it just so happens that the portal talk fit in perfectly.  Because after talking about NetBeans and WebServices and features of the Java language I had a chance to say, this is how it all comes together. And, by the way, everything that I talked about you can download, install and start developing your portlets.  And, yes, we have this all integrated with NetBeans. 

I usually don't have too much trouble speaking in front of an audience, but speaking in front of developers is always a challenge.  That is even more so when 300 to 400 people show up.  But, fortunately the talk was well received and I was still answering questions half hour after I finished. I had the greatest time and my thanks go out to the Sun Tech Days event organizers in Mexico and to all the attendees.

It truly is wonderful to have a chance to show off your work and my experience shows that when we show Portal Server to developers, we all win.




« June 2016