Monday, January 30, 2006

Navaneeth Krishnan's cool online demo for creating JSF Portlets
in Sun Java Studio Creator 2


This is a blog of Navaneeth's going back to August last year where he has link an online demo he has created for creating JSF Portlets using Sun Java Studio Creator 2.

You can find the blog here.

The direct link to the Online Demo is here.

You can see from the demo that Apache Pluto is bundled and provides a means for testing the Portlets from the IDE.

Matt

Sunday, January 29, 2006

Roads previously travelled

It's funny how sometimes in life ideas pop into your head, you pursue them on some courses or tangents, after some parts of these journeys you feel satisfied that some of your investigations have yielded fruits of new knowledge. And then you find someone else has been down those roads and left juicy fruits you could have savoured before you started your journeys.

A while ago I start to explore and test the various Portlet Containers, commercial and open licensed. This is where I spent a lot of time, travelling in straight paths, down some alleys, around in a couple circles, backwards at times, and momentarily pausing and tracking off on other endeavours.

I still had plenty of testing and evaluating in front of me when I discovered Jing Xue's Blog and the reviews he has done. Timesaving stuff.

If you are into this Portlet stuff you can check out the following. Half a year is almost a lifetime when it comes to particularly active projects however I believe there is still some value in these insights.

Liferay Pro 3.5.0, Tomcat 5.5, and Spring Portlet Sample
Wednesday, July 27th, 2005

First Impression on Liferay 3.5.0
Wednesday, July 25th, 2005

Open Source Portal Servers - Jetspeed
Wednesday, July 6th, 2005

Open Source Portal Servers - GridSphere
Tuesday, July 5th, 2005

Open Source Portal Servers - JBoss Portal & Liferay
Sunday, June 26th, 2005

Big thanks to Jing Xue. Time is valuable and he has done us a great service.

Matt

Saturday, January 28, 2006

NVPortal from NodeVision is pretty cool

I was having a look around on the Manageability.org website and came across a list of Open Source Portal Servers written in Java. On this list I found the NVPortal.

NVPortal is an enterprise portal solution and a pretty cool one at that. It's JSR-168 Portlet Specification Compliant and it's based on the BSD license.

Check it out here.

Let me give a quick preview of what you get.

A cool Main Page to kick you off.




A cool subtle Admin start page.




A cool means to edit the main JSP's. (Part one : The File Tree)




A cool means to edit the main JSP's. (Part two : The Editor)




A cool Portlet Admin tool.



Pretty cool. Worth a look.

Matt

Tuesday, January 24, 2006

Don't you get it?

100's of people are flocking to this site everyday, obviously interested in NetBeans development. I want to welcome you all.

If you haven't already downloaded NetBeans 5.0 Release Candidate 2 then don't waste anymore time. Get it here.

Matt
'Build it and they will come....'

NetBeans 5.0 has made it so easy to create Modules for NetBeans everyone is doing it now. ;-)

A new NetBeans Module website has popped up on the radar as well.

http://www.nbextras.org

Roumen has a Module in there already. A ProjectPackager module that will let you zip up your project ready for emailing or backup in a jiffy.

http://www.nbextras.org/2006/01/20/1137795966838.html

Very exciting things happening in the NetBeans realm of late.

Matt

Sunday, January 22, 2006

Quickstart an MDI application using NetBeans 5.0

This is a quick tutorial showing how quick and easy it is to start an MDI application project and add one JInternalFrame.


1. Start a 'New Project' and choose 'Java Application'.




2. Give you project a name and a location.




3. From 'Source Packages' create a 'New - MDI Application'.




4. I have added a JToolBar and a JButton.




5. Create a 'New - JInternalFrame Form'.




6. Here you are ready to use the Matisse GUI Builder to design the JInternalFrame.




7. I have added a JToolBar and a JButton, with some sample form elements.




8. On the JDesktopPane I am adding an Event to open the JInternalFrame.




9. I have added the following code to the btnOpenIFrameActionPerformed method of the MDI Frame to open the JInternalFrame.


private void btnOpenIFrameActionPerformed(java.awt.event.ActionEvent evt) {
IfrmMyIFrame frm = new IfrmMyIFrame();
int width = 400;
int height = 300;
frm.setSize(width, height);
frm.setVisible(true);
desktopPane.add(frm);
}



10. I have added the following to the constructor of the IfrmMyIFrame class.


super("My little JInternalFrame",true,true,true,true);
setLocation(50, 50);


11. I have added the following code to the btnHelloWorldActionPerformed method of the JButton on the JToolBar in the JInternalFrame.


private void btHelloWorldActionPerformed(java.awt.event.ActionEvent evt) {
JOptionPane.showMessageDialog(null, "Hello World!", "Message", JOptionPane.INFORMATION_MESSAGE);
}



12. Hit the 'F6' and Run Main Project and you're on your way.




In Summary, you can quickly create an MDI application, use the Matisse GUI Builder to do what you like with the main JDesktopPane, then create individual JInternalFrames which you can in-turn use the Matisse GUI Builder to layout and do what you like with as well. Pretty cool stuff.

Matt

Wednesday, January 18, 2006

Humble Beginnings

I am a person who loves to talk about things I am passionate about and I now have a new medium at my disposal, my blog.

One of the things I am most passionate about is programming so I will probably blog most on topics related to programming.

I 'burn the midnight oil' most nights tinkering with and testing nearly anything and everything that is Java and/or NetBeans related. Each day I am talking up the cool things I have been played with or discovered with my colleagues and programming mates.

This blog acts as a centre point for which friends, new or old, can check up on what I have been playing with and maybe enjoy some of the fruits of my labour.

Get ready everyone. Matt is here!