How to configure webcache to use JESI ? - Web Cache and Edge Side Includes (ESI)(Archived)

Is there any spesific configuration needed by webcache to use
functionality of JESI ??? how about with a default
configuration ?? 

You need to specify cacheability rules for the content fragments.
Depending on the application, you may need to modify the
surrogate-control header accordingly. The document, "Oracle JSP
Support for Java Server Pages Developer's Guide and Reference"
describes JSP in detailed and provides some excellent JESI
examples. The document can be found on OTN > Technologies > Java
Servlets > Documentation > Servlets
Christine

Using JESI, you actually don't need to provide cacheability rules
in the config. The "surrogate-control: max-age" headers
generated by the JESI-enabled application will override any
configuration pertaining to a given response.
As Christine points out, the admin guide for both OracleJSP and
Web Cache provide good examples. Both are available on OTN.

Related

Content Management.

We may chose to integrate our own Java based content management system with
the BEA Weblogic Personalization server. I understand that there is a way
to integrate Interwoven's TeamSite with the portal. Are there any APIs you
can call to publish other documents in the portal (XML documents,
Java-defined documents, etc.)? The tags defined in the documentation don't
seem to provide much functionality.
Thanks.
Hi, Lenny
I think what you are looking for is referred to as the BulkLoader in WLPS. The
bulkloader allows you to load in any type of documents into the Personalization
Server. It then searches and retrieves those documents based upon document
metadata.
You might want to take a look at http://edocs.bea.com/wlcs/p13n/content.htm for
everything you wanted to know but were afraid to ask.....
Cindy
Lenny wrote:
We may chose to integrate our own Java based content management system with
the BEA Weblogic Personalization server. I understand that there is a way
to integrate Interwoven's TeamSite with the portal. Are there any APIs you
can call to publish other documents in the portal (XML documents,
Java-defined documents, etc.)? The tags defined in the documentation don't
seem to provide much functionality.
Thanks.

owa_cache

Hello,
I found in 9ias documentation(1.0.2.2.2) that mod_plsql generated pages can be cached using owa_cache package, but I cannot find any examples/directions how to do that ? How can I get any examples/directions how to use owa_cache for caching mod_plsql pages ?
Thank you
Regards,
Alex 
Again, please take a look at the 9.0.2 release of Web Cache for Windows, available soon.
In the meantime, you can look at the Web Cache documentation on OTN, which covers cacheability and invalidation in great detail. Cacheability
has nothing to do with PL/SQL. It's handled at the HTTP level in response headers (surrogate-control) or in the Web Cache configuration (cacheability rules).
Invalidation can be accomplished either manually or programmatically. In release 9.0.2, we provide invalidation APIs in PL/SQL and Java. There is
more info on that in the doc. See http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/caching.htm

zone.properties

Hi,
can anybody tell me what is the use of "Servlet Aliases"
and "Aliased Servlet Init Parameters" in zone properties? How
does it locate provider.xml.
Thanks in Advance,
Biren
Brian,
Go to Technet>Oracle9iAS Portal > Community > Portal Studio /
PDK > PDK-Java
Then, go to Portal Development > "How to build a Java Portlet"
Robin 
Biren Doshi,
Are you asking how Portal/Oracle9iAS knows how to find the
provider.xml?
The articles in PDK-Java Reference Material cover this topic.
You should really take a look at all the articles in the PDK-Java
Reference Material section, but the one that specfically mentions
how Portal finds the provider.xml is located in:
Understanding the PDK-Java Adapter
Also the Installation Instructions for PDK-Java Framework and
Samples describe how the Aliased Servlet Init Parameters usese
the directory you specify to point to the provider.xml directory.
Please let us know if the articles in the Reference section don't
provide the information you are looking for.
Sue

9iAS Which servlet engine? JServ not configured?

Hello all,
According to the setup docs for the PDK, to install and use the URL provider framework, they have me editing the 'root' zone and adding the *.jar support files to my jserv.properties file. Why is JServ even there if there is a servlet engine running at "http://<servername>:7777/j2ee/examples/servlets/"
Isn't there an easier way to develop and deploy a "portal URL provider" by using the more manageable "deploy webapp" that contains a "URL Provider" servlet?
Also, I noticed that the httpd.conf configuration has the *.conf include commented out for JServ:
...
# Include the configuration for Apache JServ 1.1
#include "D:\Oracle\9iASHome\Apache\Jserv\conf\jserv.conf"
...
and, assuming the jserv.properties file is miraculously being loaded, there are the lines:
...
# Oracle Servlet
wrapper.classpath=D:\Oracle\9iASHome\lib\servlet.jar
# Oracle Java Server Pages
wrapper.classpath=D:\Oracle\9iASHome\j2ee\home\lib\ojsp.jar
...
... does this mean that JServ is being hacked to use an "Oracle" servlet engine instead of the "JServ" servlet engine?
I have a pretty good understanding of the architecture, but all this customized product stuff is driving me insane!. .. If anyone knows of the best out of the box configuration for the PDK and developing URL web based providers (and portlets ulitmately), then I would be grateful for any insight. I will continue to dig and dig to understand this configuration.
-Sean
PS.. there are some inconsistencies in the docs I am foloowing,.. namely where it says:
"wrapper.classpath=D:\jpdk\lib\provider.jar".. nowhere did the docs ever mention why provider.jar should go in that directory. Logically, I decided to put it in :
D:\Oracle\9iASHome\portal\pdkjava\v2\lib\provider.jar
... help! 
What PDK version are you using?
If v2 (9.x), follow this article: Installing the PDK-Java Framework and Sample Providers.
You can register the Web providers built using PDK-Java v2 (9.x) on both 3.x and 9.x portal. 
Well, it just occured to me what's goin on. Although I've downloaded the latest PDK (Circa Jan of this year), the <i>included</i> documentation isn't updated, and so the steps it was telling me was to use the JServ servlet container and muck with the config files to create the java portal provider.. I did this after following a seperate set of steps to deploy the jpdk.war file included with the PDK into 9iAS. So, after uncommenting the "include JServ..." line in my httpd.conf, I now have essentially two servlet web providers on my machine. One at /jpdk/providers/ and the other at /servlet(s)/pdk_sample/ (the alias name I specified in the zone properties)
So it seems that Oracle changed their mind and decided to use the instance OC4J_Portal for deploying the sample web provider. Gofigure. Can anyone confirm? I will follow the doc link that was provided. Thanks for the help!!
-sean-
PS.. this is nice learning experience but at the cost of time... "Build a Self-Service Portal in Days, Not Months"... SURE!.. after months of expensive training :-] 
Allright.. this is madness.
I followed the link provided, and realized I performed all those steps ( I think last Friday.. ) Then went to click on "Packaging and Deploying Your Provider". Sounds like a reasonable next step. BERNGH!.. the link is bad!
I scoured my jpdk "unzip" folder, and sure enough, in the root there is the old "installing..." document, and in the "v2" subfolder is the "installing..." document that matches the link that was provided. Ok, .... but even viewing that doc locally, the link still didn't work!!!
Users beware! Fortunately, the link is clearly written "deploying.pdkjava.v2.providers.html".. which can be found in the same directory.
And the quest continues...
-s- 
On JSERV-
JServ is not configured by default - you can do so from within the EM Website's HTTP Server properties

OracleAS Portal Extension for Macromedia Dreamweaver

Were you ever wondering, how you can integrate Portal pages seamlessly into your Web site ? You can now using our extension for Macromedia Dreamweaver. Simply create or edit OracleAS Portal UI Templates directly from within Dreamweaver. These UI Templates can be used as "skins" for your Portal page. The extension also provides support for the UI Template substitution tags from Dreamweaver's Insert Panel.
For more information, go to http://portalcenter.oracle.com and click on Integration Solutions.
That rocks ! Haven't tried it yet, but it looks like it has a ton of potential. I've read through the docs and didn't see this anywhere...
I have a development question about the plugin. When you do a Portal | Save from the menu, is Dreamweaver FTPing the file to the portal or doing some sort of post to the webservice?
I'm in the process if downloading everything I need to get it running and I know I'll have to request some ports to be opened to be able to do this from our development network (everything is quite segregated here)
Thanks,
-Jon
jon,
thanks for your interest. to answer your question, the extension communicates with portal using a Web service and users would use dreamweavers FTP mechanism to submit the assets to the application servers HTTP server document home path.
in order for us to easily manage postings about the extension, pls use the "Portal Content Areas" forum here on OTN for any further questions.
thanks,
philipp

Categories

Resources