Making the switch to Netbeans

Up until recently, I was still using vi and Pluto to do my portlet development.  Others had recommended switching and I needed to work with the portlet repository at java.net and I realized it was time to make the switch.  The release of the new Java Application Platform SDK really helped.  Here is what I did.

  1. Download Java Application Platform SDK Update 2 with Tools
  2. Run the installer
    • Netbeans is installed with Glassfish (officially named Sun Java System Application Server Platform Edition 9.0) and the new portlet container already deployed.
  3. Install Maven plugin
    • The portlet repository uses maven for building. This plugin integrates maven into Netbeans to make it easy.
  4. Install Portal Pack plugin
    • This plugin allows you to deploy directly to the portlet container from Netbeans.
    • Start Glassfish (Runtime tab ->Servers->(right-click) Start
    • Follow these configuration steps in Netbeans.  However, the steps are backwards.  First configure the Glassfish instance, then the portlet container.
  5. Download portlet repository source in Netbeans
  6. Open the project
    • Netbeans will prompt after the cvs checkout and ask if you want to open the project.  Select portlet-repository.
  7. Build the project
    • In Netbeans, Build->Build Main Project
    • Maven downloads all the dependency libraries automatically
    • Look for the BUILD SUCCESSFUL message in the Output window
    • To see the individual portlet projects, right-click on the portlet repository project and choose Open Required Projects
    • Projects List
  8. Deploy
  9. View

Honestly.  It's that simple.  Then from there you can use the steps to create a new portlet application and build and test your own portlets in Netbeans.
Comments:

This is cool bru.
I'm asking for help. I'm using netbeans 6.1 I want to run portlet on a webbrowser not that portlet container that appears if u are ruining the portlet.
HELP HELP
elmathonsi@gmail.com

Posted by guest on October 06, 2008 at 07:48 AM MDT #

This is cool bru.
I'm asking for help. I'm using netbeans 6.1 I want to run portlet on a webbrowser not that portlet container that appears if u are runing the portlet.
HELP HELP
elmathonsi@gmail.com

Posted by Esau Mathonsi on October 06, 2008 at 07:49 AM MDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

gregz

Search

Top Tags
Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today