Video search results for APPLICATION_SCOPE
PortletSession APPLICATION_SCOPE: 168 Portlets Sharing Data
Description: The full screen video, in full resolution, can be seen here: jpa.ezhibernate.com ApplicationScope and the PortletSession An interesting aspect of the PortletSession is the fact that data stored in the PortletSession, by default, is local and accessible only to the portlet that created it. By default, data stored in the PortletSession by one portlet cannot be shared by any other portlets on the same portal page. If there are four portlets on a portal page, if they all use a PortletSession object, then each one will have a separate, unshared, PortletSession namespace. Even if two instances of the same portlet appear on a portal page, each one will have its own, unshared, PortletSession namespace. PortletSession and the PORTLET_SCOPE This default behavior is known as PORTLET_SCOPE, and has been the way the PortletSession object has behaved for years. However, developers have done nothing but moan and groan about the fact that it is incredibly difficult to share information between portlets that exist within the same portlet application (think war file), so, with the JSR-168 portlet specification, the Java Gods introduced the concept of a shared, APPLICATION_SCOPE, for the PortletSession. When a portlet shoves an object into the PortletSession, and specifies APPLICATION_SCOPE as the visibility of the data, any portlet that is part of that same portlet application, can obtain that data by providing the appropriate key when making a call to the PortletSession?s getAttribute ...
Keywords: portletsession, APPLICATION_SCOPE, war, sharing, data, portletdata, portletrequest, IRAD, RSA, JSR168, passing, values, Pluto, Oracle
PortletSession: How to Manage Portal User State Programatically in doView
Description: Managing State with the PortletSession To view the full screen, high quality and resolution CBT video, go here: jpa.ezhibernate.com If the user is going to be good enough to provide information to us through html forms and http headers, the least we could do is keep track of that information, if only for the duration of the user?s visit to our site. To provide a stateful experience for portal users, portlet developers rely upon the services of the PortletSession, which, by the way, is remarkably similar to the HttpSession object from the Servlet API. The PortletSession is easy to use, and helps maintain a stateful experience for the user, overcoming the stateless nature of the HTTP protocol. This tutorial takes a look at how to use the PortletSession to manage Please support our site, link to us, buy some books, and remember: Happy Java! PortletSession session = request.getPortletSession(); Check out my mock exams at my Sun Certification site: www.scja.com For a great Portlet and Hibernate development book, go here: www.thebookonhibernate.com This tutorial uses IRAD but deployment can go to any JSR168 standards compliant portal application server, including WebSphere, JetSpeed, Pluto, BEA, OpenPortal, LifeRay, Oracle, Sun, IBM, apache and more!
Keywords: portletsession, APPLICATION_SCOPE, SCOPE, new, jsr168, 168, 186, portlet, development, programming, tutorial, portal, admin, jetspeed
Average rating: 5.0
Part I: Portlet Edit Mode and the NumberGuesserPortlet
Description: This tutorial further develops a JSR-168 portlet using Rational Application Developer (IRAD/RSA) with sights on deploying the portlet to the WebSphere Portal Server 6.1 Hi, Cameron McKenzie here, welcoming you to the place where you will get all sorts of free multimedia tutorials on learning how to develop JSR168 compliant portlets, completed portlet applications, mock certification exams for portal, JetSpeed2 and WebSphere Portal administration tutorials, and variety of other, all around great resources for learning J2EE, Java, Portal, WebSphere Administration, and anything else you want me to provide for you. And yes, it's all FREE. Sure, I'm going to beg like a street urchin to try and get you to buy some of my WebSphere, Portlet Development, or SCJA Certification books, like the nervous, wiggling SCJA book you see above, or maybe I'll even beg for you to click on a sponsored link or two, but those are just minor annoyances. The fact is, everything here is yours for the taking. So enjoy it while it's here! The free, portal and portlet development tutorials break down into the following categories: * Working with Open-Source Portal Technologies (JetSpeed2) * The Basics of JSR-168 Portlet Development * Portlet Development with IBM's Rational Application Developer * Common Portlet Development Headaches * PortletModes, PortletSessions and Advanced Portlet Concepts * Portal Administration Tutorials * Developing and Deploying the Struts Portlet * Developing and Deploying the ...
Keywords: portletmode, Number, Guess, tutorial, cbt, edit, mode, processaction, JSP, Java, Pluto, websphere, BEA, Oracle, DB2, Hibernate, SCJA, JE
Average rating: 4.8
Part2: How to forward to a JSP from a Portlet doView Method
Description: This is the second part of two youtube videos that demonstrate how a portlet can forward to a JSP for HTML generation and the essential rendering of a portlet window, minus the skin and theme of the portlet of course. You can watch the full CBT video and get the source code and the deployable war file at: jpa.thebookonhibernate.com You can find more tutorials at www.scja.com Just follow the link to the Portal and Portlet tutorials: The free, portal and portlet development tutorials break down into the following categories: * Working with Open-Source Portal Technologies (JetSpeed2) * The Basics of JSR-168 Portlet Development * Portlet Development with IBM's Rational Application Developer * Common Portlet Development Headaches * PortletModes, PortletSessions and Advanced Portlet Concepts * Portal Administration Tutorials * Developing and Deploying the Struts Portlet * Developing and Deploying the Java Server Faces (JSF) Portlet * Developing Servlets, JSPs and EJBS (External Links) Many of these tutorials use Rational Application Developer IRAD or Rational Software Architect RSA, although the portlets generated work on any JSR168 portal applications server that supports the Sun standard for portlet development. www.thebookonhibernate.com http
Keywords: how, to, forward, JSP, portlet, jsr168, jsr186, jrs168, portal, server, websphere, liferay, pluto, jetspeed, jee5, j2ee, cbt, java
Average rating: 5.0
Saving Data in the PortletSession: Managing Portal State JEE
Description: This tutorial takes the NumberGuesserPortlet one step further by adding PortletSession functionality so that the number of guesses the user has performed to try and guess that magic number is counted. This is a very simple piece of extra functionality, but it is very effective. The portlet tutorial is created with IRAD, but the deployed war file is fully JSR168 compliant, so it can be deployed to any portal server, be it LifeRay, Pluto, JetSpeed, WebSphere Portal Server (WPS), Oracle, BEA Weblogic, OpenPortal or any other 168 compliant portal server on the market. *** Man, have I ever been busy. People seem to love free, online, mock exam simulators. I put together a bunch of free online exams to promote my Sun Certified Java Associate (SCJA) books, and people have been just bugging the life out of me to create some similar online tests for the IBM Portlet Development certification exams 399 and 829. Well, I've managed to do it, and they're online now. There are five different exams, with fifteen questions each. That's 75, free, online exam questions!!! Seriously, when you get all rich and successful, please don't forget about me. I've actually sorta cheated on the exam link names. I've listed them on the links tab as being on five different subjects. That's a bit of bait and switch, because each of the mock exams is a mish-mash of different test 399 topics, including testing, debugging, JSR168 API concepts, C2A (Click-2-Action), WebSphere Portlet Services, Struts and JSF ...
Keywords: JSR168, 168, portlet, portletsession, genericportlet, portletexception, portletrequest, portletresponse, liferay, websphere, WPS
Average rating: 4.0