Oracle9i Application Server-Portal

Source: Internet
Author: User

Part I enterprise portal and Oracle Portal

Oracle Portal is an important web development tool. Provides a friendly development environment to accelerate website construction, application development, and website content establishment and management. Developers and front-end users can quickly build business intelligence portals, including forms, reports, charts, and workflow applications.
The Oracle portal user interface provides a development framework for developers to perform their respective duties, such as website content management, database management, and portal application development.
The role ke portal is built on Oracle's role-based security and can be collaboratively developed based on roles or groups. Basically, it is a group of PL/SQL programs stored in the database, which is fast and efficient during execution.
The Oracle Portal System architecture also has a very important mod_plsql component. It is a group of programs used to explain the requests sent by the user, execute specific PL/SQL programs in the database, and finally return the processing results to the user. The application is a PL/SQL program that executes a form or chart. The URL generated in the browser is transmitted to the database through mod_plsql, and then calls the bin to execute a specific program, after execution, the form is displayed in the browser. (The URL content is generated by the portal. Bentley uses CGI parameters to transmit the URL content from Apache to the database. This URL cgi Command uses the Apache HTTP Server's Data Access Descriptor (DAD) to find programs and send them back to the client ).
Users can call the web page developed by the Oracle Portal through the web browser. Portal web pages can be divided into different regions, which can use portlets, PL/SQL programs, and search engines. Form. Reports or Java programs to display data.
Another important component of the Oracle Portal architecture is the Apche jserv parallel filter servlet mechanism. When a webpage is requested, paraller filter will call the web engine of the database to generate the webpage content. At this time, it will call a portlers and application, then call the preliminary test function, and send it back to the client.

Part II Oracle9iAS installation and configuration

Before using the portal, we must first install Oracle9iAS and now have oracle10gas.
In these two versions, 10gas is relatively simple to install, but it has high requirements on memory, preferably 1 GB.
I have encountered a problem when installing Oracle9iAS, that is, the hardware compatibility, this problem can refer to the http://www.itpub.net/showthread.php? S = & threadid = 213756. I do not know why. Please study it by yourself. Now, go to the installation page.
1. system settings before installation (for Windows)
1.1 confirm the service pack version
Upgrade servive pack to version 3 or later.
1.2 make sure that the DNS suffix is complete
1.3 set virtual memory
The memory size of my machine is 512 MB and the value is 2048-4095. Of course, you can set the memory size based on the machine.
1.4 confirm TCP/IP
Note that you must have a fixed IP address. After the IP address is installed, it cannot be modified. In the past, it seems that the IP address of 10gas can be changed on the Internet. This has not been tried yet.
2. Install Oracle infrastructure and Oracle Application Server
Since there has been a master to upload its detailed installation files, here I will not say much, please refer to the http://www.itpub.net/showthread.php for details? S = & threadid = 188591.

After the above installation is complete, we can now access the portal. In the browser, enter http: // hostname: 7778/pls/portal to go to the portal page.

Part III Overview of Oracle Portal

Oracle Portal has intuitive user interfaces and is suitable for collaborative website development. This development environment itself is an entry site, and you can develop your own enterprise website on the portal platform.
1. log on to the Oracle Portal
A. Enable the browser and enter http: // hostname: 7778/pls/portal at the URL.
B. Click login connection in the upper right corner. the logon screen is displayed. Enter the portal in username,
Enter the password set when 9iAS is installed in password.
C. Press the login button and you have logged in.
Note: After 9iAS is installed, the system automatically generates four accounts: Portal, orcladmin,
Portal_admin and public. The portal has the largest permissions, which is equivalent to the administrator role in the operating system. Therefore, you must keep the portal password safe. Orcladmin is the management account of Oracle Directory Manager (OID) in 9iAS. You can also log on to the portal.

2. Use of builder
The builder button appears in the upper-right corner. Click to enter. Three tabs are displayed: Build, administer, and administer database.
Build: We will rely on its functions to build website architecture and application components, including portal forms, reports, charts, and calendars. You can also create and name descriptive containers to store portal webpages, webpage styles, webpage content areas, and database applications.
Administer: Allows portal administrators to create user accounts, assign users to specific groups, edit and create portal permissions and user-defined files.
Administer Database: Provides database access and editing forms, tool programs, reports, and charts to help monitor database activities and functions.

3. Oracle9iAS portal Navigator
Go to the buider and select navigator in the upper-right corner. Then, go to the Oracle9iAS portal navigator. Portal navigator is a very easy-to-use user interface for developers. You can use it to explore the entire portal website or create portal webpages, content areas, applications, and database objects.

There is a tab on the screen named database objcts.
Oracle Portal is a Tool Driven by Oracle databases. The Oracle Portal System and all its functions are stored in Oracle databases. security mechanisms, other application-style connections, and Web URLs are also stored in the database.
Database objects provides a very simple o database object access mechanism. It allows you to view all tables, view and update data, and Access database objects. When developing application components, you can access these database objects. On this page, you will see all Schemas (assuming you log on as a portal). Because Oracle 9iAS has its own database, you will see its own schema. If the database link accesses the remote database, the remote data schema is also displayed here. Portal users will have different database object access permissions, while DBA will have full access permissions for All database objects. As a DBA, the portal account has full access permissions to all databases.

4. Create and compile user accounts
After entering the portal, the portal Administrator (portal) should first create a user account. Before creating an account, it is best to create a user group to divide different user permissions within the enterprise. Users should be granted certain group permissions, and do not set the access permissions for each user separately. The portal has some built-in group permissions for the development team, including dBA, portal administrator, portal developer, and Portlet publisher.
Log on to the portal homepage, go to the administer tab, press create new users to connect, and enter the corresponding data.
Granting access permissions is the most complex topic in the portal. The following describes how permissions are associated and how to allow users to access the portal development environment and user environment. From the developer's point of view, nothing can be done before the database has been granted access permissions! The portal is also a database application, so any action must start with the database, including granting the user group and database access permissions.

5. Oracle portal shortcuts
Go to the portal and find some icons in the upper-right corner of the portal to connect to them. These icons are used as follows:
Community: connection provided by Oracle 9iAS developers to Oracle
The Technology Network website is the first industry in the portal community.
Navigator: used to access all Oracle Portal objects.
Home: Return to the development environment of Oracle Portal.
Help: provides teaching examples and online help systems
Refresh: refresh the portal webpage content from the database and refresh the information displayed on the portal webpage.
Edit page: provides full control over webpages, including access control and style changes.
Customize: allows users to customize the appearance of the webpage, but does not affect the portal webpage of other users.
Account_info: allows users to modify the portal account and password.
Logout: log out of the portal and disconnect online.

6. portal webpage Analysis
For general users, the "portal webpage" is just an HTML page with some special features. However, from the perspective of the portal website, the "portal webpage" must contain different partitions to store different portlets to display different data content. The content may come from the website itself or other Portlet providers. Each webpage must define a style to set the font and N colors of different text areas in the webpage. To create a portal website, you must create many webpages in advance. It is best to design more than one webpage configuration and style. Each webpage must be configured with a style. A style must be created unless you plan to use a preset webpage style. Page Layout defines the appearance of a user's webpage and how to organize portlets within the webpage.
How to Create a page:
I have mentioned a lot of theoretical knowledge above. Now I start to practice and create a page.
Log on to the portal homepage.
A. Click builder.
B. Create a page group. You can also choose not to create a page group.
C. Name test, which is also the name of the page group.
D. Return to the original page and create the page.
E. There is an authorization screen at the end, indicating the user to which the page is to be granted. Click Finish to complete page creation.
F. Compile the page again, for example, add a Portlet.
The above is just a simple page creation process. There are still many details that need to be understood.

Part IV portal website management

1. The portal website can be divided into the following three forms:
Internet: portal websites can be used for Internet search, such as Yahoo.com, msn.com, and Google.com.
Intranet: a private network is usually located on the inside of the firewall, allowing users to share internal enterprise information.
Exclusive Network: allows suppliers and trading partners. Third-party vendors and customers can securely access the enterprise network, share specific information within the enterprise, and improve business processes.

2. Main Group roles in the portal development environment:
Portal Administrator
Portal developers
Portal publisher
Portal DBA
Authorized users
The Oracle Portal determines whether to display webpage content based on the role or permission granted to the user.

3. Create and compile user groups
You can use groups to simplify permission management for websites.
Portal preset provides five group permissions:
Portal_administrators (portal administrator)
Authenticated_users (authorized user)
DBA (Database Manager)
Portal_developers (portal developers)
Portal_publishers (portal publisher)
Each group has different permissions, so the control and access of the Oracle Portal are also divided into different layers. Each group represents a user role to establish and maintain an enterprise portal website. Managers can also use different groups to grant a large number of permissions at a time to simplify permission management. In addition, users can belong to multiple groups and have multiple permissions at the same time.
Different levels of permissions can be set for each group to create or manage portal objects. Users affiliated to the portal_administrators group can perform any work, including creating database objects, managing shared components, and compiling or managing existing groups. Users in the authenticated_users group can create webpages, styles, configuration methods, and other user groups. Any preset permission will be granted to the authenticated_users group, except for users in the public group (users can only view certain company webpages of X ). If you change the group permissions, all members of Group y automatically inherit the new permissions. The DBA group has the highest permissions. To create an application, developers must have the portal_developer permission. Users in this group will have certain database management permissions to develop portal applications. Members of the portlet_publishers group can create or accept applications of other users, and publish applications in the form of Portlet. Members of this group and DBA group can publish any Portlet to a specific webpage.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.