Download Building Portals with the Java Portlet API (Expert's Voice) by Jeff Linwood, Dave Minter PDF

By Jeff Linwood, Dave Minter

This booklet is an intensive creation into JSR 168 that would support get portal builders in control into this quite new specification. — Thomas Paul, JavaRanch Sheriff How do builders carry latest purposes right into a portal? How do builders combine content material administration structures and se's with a portal? and the way do builders start with the Portlet API? Jeff Linwood and Dave Minter allow you to clear up those actual difficulties in construction Portals with the Java Portlet API. This ebook describes the hot Java portlet API, together with defense, portlet lifestyles cycles, and portlet interplay with servlets and JSP. The examples will paintings on any portal that complies with the JSR-168 portlet API. a number of instance portlets are constructed to provide you hands-on portlet event. you are going to even easy methods to port current servlet and JSP purposes right into a new portal setting. The authors additionally talk about unmarried Sign-On (SSO) utilizing Kerberos and the GSS-API, syndicating content material with RSS, and integrating a charting answer with JFreeChart. different themes coated are the open-source Apache Jakarta Lucene seek engine, personalization, portlet configuration, portlet personal tastes, and net prone for distant Portals (WSRP). XDoclet can also be used all through parts of this ebook.

Show description

Read or Download Building Portals with the Java Portlet API (Expert's Voice) (v. 2) PDF

Best storage & retrieval books

Data Compression for Real Programmers

In existence, time is funds, and on the net, the dimensions of information is funds. Small courses and small records take much less disk area and value much less to ship over the net. Compression Algorithms for genuine Programmers describes the fundamental algorithms and methods for compressing details so that you can create the smallest documents attainable.

Applied Computing and Information Technology

This e-book offers the chosen result of the first foreign Symposium on utilized pcs and knowledge expertise (ACIT 2013) hung on August 31 – September four, 2013 in Matsue urban, Japan, which introduced jointly researchers, scientists, engineers, practitioners and scholars to debate all features of utilized pcs & info know-how and its functional demanding situations.

Proceedings of the 5th International Asia Conference on Industrial Engineering and Management Innovation (IEMI2014)

The fifth foreign Asia convention on business Engineering and administration Innovation is backed by means of the chinese language business Engineering establishment and arranged via Xi’an Jiaotong college. The convention goals to proportion and disseminate info at the latest and correct researches, theories and practices in business and approach engineering to advertise their improvement and alertness in collage and organizations.

Pro SQL Server Relational Database Design and Implementation

Research powerful and scalable database layout ideas in a SQL Server 2016 and better setting. This publication is revised to hide in-memory on-line transaction processing, temporal facts garage, row-level safeguard, toughness improvements, and different design-related positive factors which are new or replaced in SQL Server 2016.

Extra info for Building Portals with the Java Portlet API (Expert's Voice) (v. 2)

Example text

Portlets can set parameters on portlet URLs to pass information in a request when the user clicks on a link that contains a portlet URL. These parameters are name/value pairs, with String objects representing both the name and the value. The parameters are accessible through a set of methods on the request object. You would use portlet request parameters just as you would use HTTP parameters in a normal web application. One important point to make clear is the distinction between action requests and render requests.

As an aside, you can also have the same portlet in more than one place in the portal page. The element contains a name that is suitable for presenting to the user or administrator. xml deployment descriptor. We need to specify the Java class we are going to use for this portlet in the element. The class name specified here should be a fully qualified class name. The class itself either should be in a directory under WEB-INF/classes, or packaged up in a JAR file in the WEB-INF/lib directory of the portlet application.

Write(""); } The doEdit() method first sets the content type and gets the writer. Then the portlet checks for any render parameters on the request. It uses these render parameters, title and contents, to set the defaults for the HTML form. The HTML form is displayed by writing strings to the PrintWriter object of the portlet. We set the value of the HTML

element’s ACTION attribute to an action URL we create and then immediately render as a String. Next, we add two HTML elements with the default values, if any, and a submit button for the form.

Download PDF sample

Rated 4.74 of 5 – based on 36 votes