Tuesday Nov 24, 2009

Where's Portal Pack Project !!!

The Portal Pack project site (http://portalpack.netbeans.org) is down for last few days because of the netbeans.org migration. But in case you need Portal Pack's binaries urgently,  here is the new location for Portal Pack project http://contrib.netbeans.org/portalpack/. We have filed a bug to set the redirect for http://portalpack.netbeans.org to this new location. Once that bug is fixed, you should be able to access the Portal Pack project site using the old url http://portalpack.netbeans.org .

For more details check this issue

Friday May 29, 2009

Web Space/Liferay : Expose SOAP & JSON services through Service Builder

As you know Portal Pack 3.0.1 provides a nice service builder editor where you can add/remove services and also generate service classes from NetBeans IDE. These services can be deployed on Liferay/Web Space server. To know more about how the services can be generated using Portal Pack, check this blog.

If all your portlets are deployed on the same liferay instance, then they can consume those services through normal java calls. But what about exposing a service as remote service, so that it can be consumed by remote clients. But currently the service builder plug-in in Portal Pack doesn't generate SOAP, JSON classes which are required to expose a remote service as SOAP and JSON and hence can not be consumed by remote clients.

[Read More]

Friday Feb 13, 2009

Portal Pack 3.0 : Makes Portlet Development Easy !!!

The Portal Pack 3.0 is now available for download.
With lots of new features and bug fixes, the Portal Pack 3.0 is out
there to make portlet development easier than before. This version is
compatible with NetBeans 6.5 IDE. This version of Portal Pack supports
the recently released Sun GlassFish Web Space Server 10.0 which is part of the GlassFish Portfolio.

[Read More]

Thursday Nov 06, 2008

Portal Pack 3.0 Milestone 2 is now available

The Portal Pack 3.0 M2 is now available for download. These plug-ins are supported on NetBeans 6.5 Beta or later. 

Highlights of the new features added in this release are :

  • Integration with Project WebSynergy M3 running on Glassfish V2 and recently released Glassfish V3 Prelude

  • Integration with Liferay Portal Server running on Glassfish V2/V3 and Tomcat 5.x/6.x

  • Support for Spring MVC Portlet : Using this plug-in, user can develop a portlet using spring webmvc portlet framework.

  • Service Builder Plug-in : This plug-in provides liferay/websynergy's service builder capabilities inside NetBeans IDE. Using this plug-in, user can generate and use services inside their portlets created by NetBeans Portal Pack. This plug-in also helps developer to write a database portlet quickly using service builder infrastructure. User can modify a service xml either through standard xml editor or through advance design editor for service xml.

  • WebSynergy/Liferay Taglib Palette : A new jsp palette has been added to help developer to use WebSynergy/Liferay specific taglibs inside their JSPs. Currently it supports all Journal taglibs through this palette.  But all other WebSynergy/Liferay specific taglibs are also exposed to the portlets, so that user can add them manually to their jsp code.

(Service Xml Editor. Click to enlarge)

Monday Sep 01, 2008

Portal Pack 3.0 M1 - Features Highlights

Portal Pack 3.0 Milestone 1 has been released recently. This version of Portal Pack plug-ins are supported on NetBeans 6.5 Beta. In this blog, I will explains about the new features supported by Portal Pack 3.0 Milestone 1.

[Read More]

Wednesday May 14, 2008

Tutorial: JSR 286 portlet Eventing using Eventing Story Board

The recently released Portal Pack 2.0 has a new feature called Eventing StoryBoard.The Eventing StoryBoard feature in Portal Pack 2.0 simplifies the task of creating portlet application that uses JSR-286 eventing. It provides a simple drag drop feature to link the portlets involved in eventing. Automatic code generation functionality in the storyboard adds the necessary interfaces, methods and xml elements needed during eventing.

Here's a tutorial  contributed by Sriram K,  which explains about JSR 286 eventing using Eventing StoryBoard


There is also a screencast available for the same. Thanks to Hemadri, Anjana, Sriram for their help for this screencast


Thursday May 08, 2008

Portal Pack and WebSynergy

There is a preview version of the WebSynergy plug-in available at Portal Pack project site. This plug-in supports portlet development and deployment on the new WebSynergy and also works with Liferay.

You need to install other Portal Pack 2.0 plug-ins before installing this plug-in. 

Using this plug-in :

  • You can write portlets which can be deployed on the WebSynergy and Liferay.
  •  By selecting the target runtime server as "WebSynergy", it automatically creates all liferay specific xml/properties file to the project.
  • Liferay specific files get updated whenever a new portlet is added to the project
  • Single click portlet deployment on WebSynergy and Liferay.
  • You can see a list of the deployed portlets in the Services tab under WebSynergy node inside your NetBeans IDE
  • Undeploy a portlet directly from the NetBeans IDE
  • Create PHP/Ruby Portlet which can be deployed on the WebSynergy. Ruby portlet development support is not currently available for download. But it will be available soon. 
  • Develop cross-platform inter-widget communication code using Eventing StoryBoard with simple drag and drop. To use this feature you need to download the latest nightly build of Generic Portlet Builder which is linked from the WebSynergy plug-in download location. Check these blog and screencast for more details.

Monday Mar 17, 2008

New Visual JSF Portlet Builder in Portal Pack Beta 3

http://blogs.sun.com/satya/resource/jsf-small.PNG         A new plug-in called "Visual Portlet Builder" has been added to the recently released Portal Pack Beta 3 plug-ins list. Sometime back I had written a blog entry on how to create a JSF based portlet using NetBeans 6 + Portal Pack through some manual steps. This new plug-in eliminates all those manual steps and provides JSF portlet building capability inside Netbeans. It uses the existing VisualWeb's WYSWYG editor and enables portlet developers to design their JSF portlet through drag & drop components. You can use OpenPortal Portlet Container 2.0 RC1 to test your jsf based portlets.

Steps to create a JSF Portlet :

  • Create a Web Application with "Portlet Support" framework.
  • Right click on the project node, select New > Visual Web JSF Portlet Page
  • Enter page detail and press Finish.
  • Now you can drag & drop jsf components and design your jsf portlet page.
  • You can create more than one jsf portlet pages in the project and set them as VIEW/EDIT/HELP mode page for the jsf portlet.

To select jsf portlet pages for different modes of the portlet

  • Right click on the visual web jsf portlet page.
  • Select "Set as Initial" and select VIEW/EDIT/HEP mode page

Now you can build and deploy your project on OpenPortal Portlet Container from your NetBeans IDE.

The Portal Pack Beta 3 plug-ins are now available on both Portal Pack project site and NetBeans Beta Auto Update Center.

Thursday Sep 27, 2007

Portal Pack 2.0 Beta is now available

Portal Pack 2.0 Beta  for NetBeans 6.0 Beta 1 is now available. This version of  the Portal Pack supports portlet application deployment on both OpenPortal Portlet Container 1.0 and OpenPortal Portlet Container 2.0 Beta bundled with Java Application Platform SDK Update 3 Beta.

 (Check out Deepak's blog for more on Portlet Container 2.0 Beta in Java Application Platform SDK U3 Beta)


Some of the New Features in this release are 

  • Support for both Portlet 1.0(JSR 168) and 2.0 (JSR 286 Public Draft 1)
  • A new wizard to create portlet filters
  • Option for adding a new Public Render Parameter through UI
  • Drag and drop support to map Public Render Parameters/Filters to portlets

Useful resources :

Portal Pack 2.0 Beta Plug-ins can be downloaded as a zip archive from here.

These plugins are also available on NetBeans 6.0 Beta 1 auto update center.

Thursday Sep 06, 2007

Migrate to Freemarker from Velocity template engine in your NetBeans Module

In Portal Pack Plug-ins, earlier Velocity template engine was used for all type of code generations and templating. But after going through some NetBeans doc I found that NetBeans 6 (Currently under development) bundles FreeMarker template engine with it. But FreeMarker apis are not exposed directly rather those can be used through JSR 223 Library Integration (JSR223: Scripting for Java Platform) in NetBeans Module.

You can follow the below steps for a easy migration from Velocity to Freemarker template engine in your module

[Read More]

Wednesday Jul 25, 2007

Build JSF Portlet with NetBeans Visual Web Pack and NetBeans Portal Pack

In this blog I will explain how  NetBeans 6.0 M10 with Visual Web Pack and Portal Pack 2.0 preview plug-in can be used to develop & deploy JSF Portlet application.

[Read More]

Tuesday Jun 19, 2007

Portal Pack IPC Story Board - Tutorial

The Sun Java System Portal Server 7.x (Now Open Portal) /Open Portal Portlet Container enables JSR 168 portlets to communicate with each other through custom portlet eventing. The new Portal Pack 1.3 Beta for NetBeans 5.5/5.5.1 has a new feature IPC Story Board. Interportlet Communication Story Board(aka "IPC Story Board") provides a visual way of wiring(linking) portlets to listen each other's events. Then these portlet applications can be deployed and tested on Open Portal Portlet Container/Sun Java System Portal Server 7.x which are supported by the Portal Pack.

This blog is intended to help portlet developers to get acquainted with the new IPC Story Board feature in the Portal Pack.

[Read More]

Tuesday May 29, 2007

Portal Pack 2.0 preview for NetBeans 6 M9

The Portal Pack 2.0 preview is now available for download here. Though in this version there are no functional changes in the serverplugin modules, but there are some changes in the portlet builder (Generic Portlets) module. Unlike earlier version, in this version of the Portal Pack, there is no separate "Portlet Application" project type. In this version Portlet application is supported through web framework. So  "Portlet Support" can be added to a new/existing web application  through web framework. In other word you can say an existing/new web application can be extended to support Portlets inside it. To know how to create portlet application in this version click here

Thursday May 17, 2007

InterPortlet Communication Made Easy with IPC Story Board in the Portal Pack Plug-ins for NetBeans

In my last blog, I had mentioned about the IPC Story Board which is an upcoming feature in the next version of the Portal Pack. In brief IPC Story Board in Portal Pack will help developers to implement Inter Portlet Communication/Eventing in their portlets in a visual manner.  More importantly it also generates most of the eventing related code automatically for you. In my last demo I had also linked to a screen cast which gives an idea how this IPC Story Board will work in future. But now there is a new flash demo available which shows a full functional IPC Story Board in action. This feature will be supported in the next version of the Portal Pack for NetBeans 5.5/5.5.1. The new binaries are not yet available on the Portal Pack project site, but those will be available very soon. In this flash demo I have created a simple shopping cart portlet application using Portal Pack + NetBeans 5.5 with IPC Story Board support. The application developed using IPC Story Board can be deployed/run on Open Portal Portlet Container / Sun Java System Portal Server 7.x . The future version of the IPC Story Board will also be supporting  JSR-286 portlet eventing.

If you are interested to see the fully functional IPC Story Board in action then check this screencast

Let me know if you have any suggestions & feedbacks or you want to see any new features in the Portal Pack. 


Monday May 07, 2007

Upcoming Feature in Portal Pack - IPC Story board for Eventing to visually wire the portlets

Now a days I am working on some new features for Portal Pack. One of the features I am working on is "IPC Story Board"  for Eventing. Portal Pack IPC Story board will be useful for all portlet developers who want to make their portlets consume events thrown by other portlets. Though  eventing is not part of the current portlet specification, but it will be part of the next portlet specification. IPC Story board will be providing drag and drop support where the developers will be able to drag and drop their portlets and then visually wire them with each other. If you want to see an early preview of IPC Story board in the Portal Pack then check this small flash demo




« August 2016