Easy Steps to Set up Portlet Development Environment
By ranjansatya on Mar 31, 2007
This blog will help
- All new portlet developers who don't know how to start writing portlets and test them
- Developers looking for open source softwares to develop and test their portlets
- Developers looking for an integrated portlet development environment
You can use the Java EE Tools Bundle U3 Preview which comes with pre-configured GlassFish appserver, Open Source Portlet Container and NetBeans IDE with Portal Pack Plug-ins to start portlet development.
But Alternatively if you want to use latest versions of mentioned components to set up your portlet development environment then go through this blog.
The following open source components are required to set up your portlet development environment
- Glassfish Application Server
- Open Source Portlet Container
- NetBeans 5.5/5.5.1 Beta IDE
- Portal Pack Plug-ins
1. GlassFish Application Server
2. Open Source Portlet Container
The Open Source Portlet Container is an Enterprise Class Open Source Portlet Container which is free and available for download here. This can be used to deploy/test your JSR 168 portlets. To install Open Source Portlet Container on the GlassFish AppServer run the following command which opens an GUI installer. The whole installation process completes within a few seconds
java -jar portlet-container-configurator.jar
Alternatively you can check installation instructions here
3. NetBeans IDE 5.5 and above
Download and Install NetBeans IDE from https://www.netbeans.org
4. Portal Pack Plug-ins
The Portal Pack NetBeans Plug-ins for Portlet development is available in NetBeans 5.5 Beta Auto Update Center.
But if you want to try latest version of Portal Pack Plug-ins then download them from here . You can find the installation instructions for the plug-ins in download page.
As all of the above components are installed and configured properly, you can now start your portlet development. You can check user guides and documents available in portal pack doc page. If you want a short/quick tutorial on Portlet development using Portal Pack check this.