Difference

What is the difference between a Protal Bean and a JAVA bean?  I'm new to Vignette and a lot of the termonlogy is very confusing.  Is there a difference?

Difference between Portal Bean and Java Bean

Java bean: Java bean is a Java class that conforms to certain naming conventions. Typical Java bean carries the data. Java bean contains private attributes and public getter and setter methods accessing private properties.

 The following is an example of a Java bean.

public class Person {

private String firstName;

public String getFirstName() { return firstName; }

public void setFirstName(String firstName) { this.firstName = firstName; }

}

Portal Bean: Portal bean is small portion (portlet) which sits on a portal page. In Vignette terminology we call them as Portal bean portlets. So portlets generates a fragment of HTML when they rendered in the page. A portal page can contain many portlets and each portlet displays a specific information. For example in a news portal there can be 2 portlets. One for business news and another for sports news. Hope this helps!