PowerBuilder Tips, Tricks, and Techniques

Berndt Hamboeck

Subscribe to Berndt Hamboeck: eMailAlertsEmail Alerts
Get Berndt Hamboeck: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

Related Topics: Java EE Journal, Apache Web Server Journal, ERP Journal on Ulitzer

J2EE Journal: Article

Working with the Enterprise Portal

An Overview Part 1

Where to Find It
The access control database (ACDB) structures data in the form of a Lightweight Directory Access Protocol (LDAP)-compliant directory. It's created and stored on the Adaptive Server Enterprise when you install the security CD. The database is called entldb. Some EJBs are also installed in EAServer and the SecurityAdminGui. You'll find the GUI in your %SYBASE%\SECURITY-2_5\bin directory. You install Enterprise Security after EAServer.

Enterprise Portal and Portal Search
This is where the real stuff is installed on your machine. It installs Portal Manager, Portlet Builder, the search service, and the portalinterface and portalsearch databases. Before you begin to install this part of the Enterprise Portal, you should know the domain name of the machine where you're installing the portal application. This information is required during the installation; if you don't enter it correctly, your portal won't start.

To find your domain name contact your system administrator or at a command prompt, enter ipconfig/all.

Your domain displays in the Primary DNS Suffix line as shown in Figure 6.

Setting the Domain Name
If you aren't using a domain, you should add a domain name to your machine where your EAServer installation resides. I'll show you now how to do this on a Windows 2000 workstation machine.

Open the Control Panel (Start, Settings, Control Panel) and open System Properties. You'll see a button called Network ID. Click this button, and you'll see a dialog box where you can change your computer's name. Don't change anything there; just use the More button. Here enter your domain name (on my machine, I entered portal.at on the line Primary DNS Suffix of This Computer). Close all windows by clicking OK, and again try the ipconfig utility. You should now see your domain name. You must enter the computer's name and this suffix during the installation. Your EAServer listeners will be changed to <computername>.<domain name>.

If you use Windows NT, you will find these settings on the Network Control Panel of the TCP/IP protocol on the DNS tab.

Information You Should Keep
The EP installation guide provides you with all the information needed to install and connect to your enterprise portal. During the installation of the portal, you should write down all the values you enter (or accept) through the installation. Table 24.1 on the end of this piece displays default values; feel free to change them during the installation, but write them down or save them in a file that you store in a safe place (but be sure that you can find it again if you need any configuration parameter). Otherwise, you might be locked out of your portal forever (or until you reinstall it).

Portlet Builder and the Portal Interface
To present corporate data to users, enterprise portal developers create pages for different user groups. The data is displayed in so-called portlets. You can think of each portlet as a mini-service; the Portal Server manages the services and presents them to the appropriate users. Portlets consist of one or more content elements arranged in a template. These elements can display Web content, XML feeds, database query results, JavaServer Pages, or HTML. Portal Studio lets you create and manage portlets.

The best way to describe how this works in Enterprise Portal is with a step-by-step example using the evaluation version. In this sample, you'll use the Portal Builder application to integrate a Web DataWindow to display corporate data. You'll develop another small portlet using the portal interface itself.

This article is based on PowerBuilder 9 Internet and Distributed Application Development by various authors (ISBN 0672324997), published by Sams Publishing.

More Stories By Berndt Hamboeck

Berndt Hamboeck is a senior consultant for BHITCON (www.bhitcon.net). He's a CSI, SCAPC8, EASAC, SCJP2, and started his Sybase development using PB5. You can reach him under [email protected]

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.