Enterprise Portal includes an Enterprise JavaBean (EJB) that allows developers to access and use concept-based search features. The EJB component is installed automatically, resides in EAServer, and is readily available from a Java client.
Hosting the EJB on EAServer ensures that the EJB is:
Available to servlets and other components on the application server
Available to different content management solutions
The Java package com.sybase.ep.search.PortalSearchServices performs ad hoc natural language searches against documents that have been indexed into the PortalSearch search engine. It contains the SearchHome and Search and classes, which are used to invoke the PortalSearchServices EJB.
Search – contains methods to perform searches on the DRE. It also contains the methods used with agents, channels, subchannels, and roles.
See “com.sybase.ep.search.PortalSearchServices.Search” later in this chapter for method descriptions.
SearchHome – contains methods to create an instance of the search services EJB and connect to the DRE.
See “com.sybase.ep.search.PortalSearchServices.SearchHome” later in this chapter for method descriptions.
See “Search and SearchHome Examples” later in this chapter for code samples for both classes.