• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

portlet content caching

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello friends,

i am portal developments with portlets.

Please clarify the my following doubts

1.How portlets assembled in to portals.
2.how we cache portals contents
3.how we embed a pluto container to our tomcat web applications(web applications +portlets)(both want to be in same web context)
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Developers write small content pieces called Portlets. Clients decide which portlets should be displayed on a page. When the portal server, such as WebSphere Portal Server, or JetSpeed, runs, the portal looks at the client, looks at the portlets the client wants to see, and checks all the variuos security settings, and shoots out an aggregated portal page to the client.

As far as caching goes, there are alot of places content can be cached. From a JSR-168 perspective, an <expiration-cache> tag can be added to the portlet.xml file to describe how long a portlet content can be cached:

"According to the JSR-168 specification, expiration based caching is performed on a per portlet, per user client basis, and the cached content cannot span across multiple users viewing the same portlet."

If you want to know more about the portal, check out my multimedia presentations on using the portal on my website:

http://www.technicalfacilitation.com/examscam/get.php?link=../portal/tutorials
 
Ranch Hand
Posts: 686
Mac
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kameron,
I have gone through one or two tutorial, they are excellent.

I also saw you are mentioning about IRAD tutorial, but suppose I want to add hibernate tools in RSA6.0. There is no information I am getting on internet. Do you have any idea what tool is supported other then Hibernator.

I am looking to integrate hibernate synchronizer.

Also I have connected my RAD with the database, but when I am saying transform from UML to java it doesn't work. It works fine for creating ejbs but not for creating POJOs.
[ September 06, 2006: Message edited by: Jignesh Patel ]
 
Jignesh Patel
Ranch Hand
Posts: 686
Mac
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here is the caching works in websphere and hibernate:

5.1Caching in the Portlet Container

�Websphere portal supports fragment caching (also called Servlet caching) using the WAS dynamic cache to keep the portlet output in the cache. There is no time consuming installation and integration work needed to activate fragment caching since it is handled in portlet.xml file.
�Cache- Expiration time can be set according to management ie. <expiration-cache>300</expiration-cache>.

5.2Caching in Remote caches
�Websphere portal offers adaptive page-caching feature, using it pages will be cached external to portal server (remote caches), if all the page components indicate that they�re cacheable. For getting more detail information about static and dynamic caching please refer to Develop high performance Web sites with both static and dynamic content using WebSphere Portal V5.1.

5.3Object caching (ie. Hibernate Caching)
Hibernate has two level cache architecture.
oThe first level cache is the Session itself. Since Session object is associated with the transaction, the cache is at transaction scope. The first level cache can�t be turned off.
oThe second level cache is pluggable and can be scoped to process and cluster. It is a cache of state. Hibernate also support implementation of a query result cache with second level cache.
There are various options to implement second level cache.

1.EHCache: It is a process scope cache. It supports the optional Hibernate query result cache.
2.OpenSymphony OSCache: It supports caching to memory and disk in a single JVM.
It also provides query cache support.

3.SwarmCache: It is clustered cache. It doesn�t support query cache.

4.JBossCache: It is clustered cache, with query cache support.
reply
    Bookmark Topic Watch Topic
  • New Topic