· What is Pluto?
Pluto is an open source project developed by Apache. It is an implementation of A Portlet container Based on the Portlet specs. It also provides the sample portal implementation, but its functions are relatively simple:
For example,
1) No complicated layout implementation.
2) not multi-user enabled. For example, the Portlet preferences between different users can share each other.
Remember that Pluto is only the implementation of A Portlet container, not a portal.
· Jetspeed
Compile and deploy jetspeed:
1. Install Maven
2. Download The wincvs client and jetspeed source code.
CVS-D: pserver: anoncvs@cvs.apache.org:/home/cvspublic Login Password: NULL
CVS-D: pserver: anoncvs@cvs.apache.org:/home/cvspublic checkout Jakarta-jetspeed
3. Build jetspeed
Maven war
4. install Tomcat 4.1.24
5. Upload the jetspeed. War file to the Tomcat webapps directory.
6. start Tomcat and access it at: http: // localhost: 8080/jetspeed.
Jetspeed plug-in
Our own project is separated from jetspeed development, with no coupling. jetspeed is used as a component.
Procedure: Modify maven. xml Maven-dtutorial = N in the C:/Jakarta-jetspeed/tutorial directory.
Jportal5: Add a helloworld Portlet
A. Implement a helloworldportlet class
B. Add it to the. xreg file.
C. Use customizer to access the page
Jportal7: velocity content
Jportal8: JSP content
Jportal9: connect to the database
Jportal10: XML
Jportal12: CSS
Currently, jetspeed may be slow due to a connection. The connection times out and the method to remove the connection is not found yet. Unplugging the network cable is much faster.
Causes of jetspeed slowness
Jetspeed2 and Pluto all implement the jsr168 specification, but the framework is implemented.
Jetspeed displays tutorial5 and 6 content, using the getcontent () method of the Portlet interface; other methods using configuring VM (JSP) and action.
Portlet initialization parameters and attributes, xreg and psml (portal structure Markup Language)
Web service calling (SOAP)
The web layer can use JSP and velocity, and adopt the MVC mode.
The database layer uses torque.
Biggest disadvantage: jsr168 specification not followed