Month: January 2009

Change Brings Web 2.0 to the Whitehouse

Posted by on January 21, 2009

The Obama administration is marked by a promise of Change. That Change starts with the new Just like his campaign strategies, Obama is incorporating Web 2.0 into how business will be conducted in the White House. Macon Phillips, the newly appointed Director of New Media for the White House, is steering in a whole new direction, one that centers around, and puts citizens first.

According to Phillips’ blog, their initial new media efforts will center around three priorities: communication, transparency, and participation, which will be conducted through Web 2.0 strategies.

Lines of communication are being opened through blogs, and government business will be made public for Americans to review.

“Citizen participation will be a priority for the Administration, and the internet will play an important role in that. One significant addition to reflects a campaign promise from the President: we will publish all non-emergency legislation to the website for five days, and allow the public to review and comment before the President signs it.”

This citizencentric methodology shows a movement towards what this government was fundamentally created for…. a goverment of the people, by the people, for the people.

This Change is off to a promising start…….

How to get the JBoss Portal window name, page name, and portal name for a JSF portlet

Posted by on January 12, 2009

Recently I needed one of my JSF portlets running in JBoss Portal to know some information about itself.  The information I needed was:

  • Window name
  • Page name
  • Portal name

Surprisingly it was not easy to figure out how to do this. Not because it’s not feasible, it’s just that the information was simply not there for the common developer to find (forums, Google, etc.).  So I thought it would be worthwhile to share my findings.

This is what you need to do:

// Get render request object that contains needed info
JBossRenderRequest req =
    (JBossRenderRequest) FacesContext.getCurrentInstance()
// Extract window name for this portlet
String windowName = req.getPortalNode().getName();
// Extract page name for this window
String pageName = req.getPortalNode().getParent().getName();
// Extract portal name
String portalName = null;
PortalNode portalNode = req.getPortalNode();
PortalNode rootNode = req.getPortalNode().getRoot();
while (true) {
    portalNode = portalNode.getParent();
    if (!rootNode.equals(portalNode)) {
        portalName = portalNode.getName();
    } else {

What’s in Store for the Web in 2009?

Posted by on January 02, 2009

Looking back on 2008, we’ve seen several trends in the web space. The web has transformed from a place to look for information to a place to share information. Social networking tools and applications exploded, with the release of the Facebook Platform and Google’s OpenSocial. Enterprises also saw an increase in the adoption of collaboration and social networking tools such as blogs, wikis, and LinkedIn.  Mobile web usage became increasing mainstream with Apple’s iPhone 3G and Google’s Android. Open source software gained popularity as the economy took a downturn.

So what’s in store for 2009?

Here are just a few things to watch out for in the coming year…

  • Semantic web – what good is information if it can’t be organized? contextual web utilizing semantic technologies will be huge
  • Web 2.x – in preparation for Web 3.0, the new wave of “intelligent web”, we will see an increased adoption of technologies such as semantic web, OpenID, and SaaS to name a few
  • Cloud computing – will cloud computing gain enough momentum to be the next big thing?
  • Facebook domination continues
  • Open source continues to gain popularity within the enterprise
  • Friend synchronization tools – to help ease the information overload from the social media revolution