Web Portal Project CS 526 Class Project Lee
Web Portal Project CS 526 Class Project - -Lee, Austin -Narayan, Sujeeth -Viswanathan, Arun 1
Agenda l l l Part 1 – Portals Introduction Part 2 – u. Portal Introduction Part 3 – u. Portal Architecture Part 4 – Channels Part 5 – Individual Explorations Part 6 - Conclusion 28 – Apr - 2005 Web Portal 2
Motivation l l Yes!! Portal jobs in market!! Middleware Technologies – Portlets, Web. Services, XML, CSS, … CU-Boulder has implemented. UCCS too. . Bigger team size, different experiences and more learning 28 – Apr - 2005 Web Portal 3
What is a Portal ? Portals wrap an organization’s documents and applications in a single web interface that provides distributed access, cross-platform usability, personalization, management, and security features. 28 – Apr - 2005 Web Portal 4
List of Portal Features • Categorization of content (taxonomy) • Content management & aggregation • Personalization • Robust application integration • Development tools • Mobile/wireless support • Single Sign-On • Security 28 – Apr - 2005 Web Portal 5
Available Portals Open Source Portals with Java l l e. Xo Jet. Speed – Apache Web. Sphere Portal – IBM u. Portal - JASIG Open Source Portals with Microsoft Technologies l l Dot. Net. Nuke Rainbow Others PHPNuke, Microsoft Share Point, Oracle Portal, Peoplesoft Portal, . . 28 – Apr - 2005 Web Portal 6
Portals Survey by: http: //portlets. blogspot. com 28 – Apr - 2005 Web Portal 7
Part 2 – u. Portal Introduction 28 – Apr - 2005 Web Portal 8
What is u. Portal ? l Developed under JA-SIG (Java in Administration Special Interest Group) by institutions of higher-education including Princeton, Yale, and University of Delaware l An open source, open standards effort built upon Java, XML, XSL, JSP, J 2 EE, and JDBC l More of a framework for building custom portals than a proper portal 28 – Apr - 2005 Web Portal 9
u. Portal extended - SAKAI l l Developed by Universities – MIT, Stanford, Indiana and O. K. I SAKAI = Collaboration & Learning Environment Includes : • • • Course Management System Research collaboration system Tool Portability Profile Tool – standard for future educational application SEPP – Sakai Education Partners Program 28 – Apr - 2005 Web Portal 10
u. Portal Sample Screen 28 – Apr - 2005 Web Portal 11
Part 3 - u. Portal Architecture 28 – Apr - 2005 Web Portal 12
Architecture 28 – Apr - 2005 Web Portal 13
System Requirements l l Microsoft Windows Solaris Linux Mac OS X 28 – Apr - 2005 Web Portal 14
Software Requirements l l Sun JDK 1. 3 or above Ant 1. 5. 3 or above (Java build tool) Servlet Container/Engine compatible with Servlet 2. 2 and JSP 1. 1 API (Tomcat 3. 3. 2) JDBC Compliant Database (Hypersonic SQL) 28 – Apr - 2005 Web Portal 15
Browser Compatibility l l l Netscape 4 and above Internet Explorer 4 and above Mozilla 5 and above 28 – Apr - 2005 Web Portal 16
J 2 EE l l l The portal architecture can take advantage of the J 2 EE services provided by the Web Container. Can use JMS, JTA as available Can handle Applets, Servlets, JSP pages 28 – Apr - 2005 Web Portal 17
Custom Channel Creation l l l Custom channels are written in Java: CHello. World. java CHello. World. ssl (stylesheet) normal_explorer. xsl normal_netscape. xsl about. xsl (optional) 28 – Apr - 2005 Web Portal 18
Portlet l l l Packaged channel Requires compiled java class(es) Portlet library (lib/portlet-api-1. 0. 1. jar) Web descriptor (portlet. xml) When finished, package into a JAR file, then rename to. war 28 – Apr - 2005 Web Portal 19
Pushed Fragments l l A channel forced on a group of users Fragment owner has access to modify settings of a fragment 28 – Apr - 2005 Web Portal 20
Part 4 - Channels 28 – Apr - 2005 Web Portal 21
Channel Types l l l l l Custom Applet Image Inline Frame Portlet RSS Web Proxy WSRP Consumer XML Transformation 28 – Apr - 2005 Web Portal 22
Channels - Demo 28 – Apr - 2005 Web Portal 23
Individual Explorations 28 – Apr - 2005 Web Portal 24
System Info OS: Fedora Core 3 (2. 6. 11 kernel) l Processor/Memory: Pentium 4, 256 MB l Browser: Mozilla Firefox v 1. 0. 3 l u. Portal Quick Start v 2. 4. 2 l JDK v 1. 4. 2 & v 1. 5. 0 l 28 – Apr - 2005 Web Portal 25
Configuration Download zip file l Extract l Set JAVA_HOME, PATH env variables l Start up HSQL server and Tomcat server l On browser, http: //localhost: 8080/u. Portal l Login as admin, developer, demo, student, faculty, staff l 28 – Apr - 2005 Web Portal 26
My Channel l A campus news channel (RSS) • current happenings • discussion forums • student comments Weather channel ( WSRP) l Usage-tracking functionality (implement? !) l 28 – Apr - 2005 Web Portal 27
Individual Explorations 28 – Apr - 2005 Web Portal 28
Pay. Pal Channel - Demo 28 – Apr - 2005 Web Portal 29
My. SQL caveat l l Documentation refers to older version of My. SQL and JDBC connector Current version (My. SQL 4. 1. 11 and My. SQL-JDBC-Connector 3. 1. 8) uses different naming schemes when you modify dbloader. xml, names and versions must be exact! (see Jdbc. Example 1. java) 28 – Apr - 2005 Web Portal 30
Individual Explorations 28 – Apr - 2005 Web Portal 31
Classifieds Channel l Goals: • Enable users to have a separate classifieds channel • It could be either push-fragment or user subscription • Classifieds publish time frame • Customizable by user • • • Only Titles and Link (View) Title and Details (View) Subscribe to interested Categories – Cars , Rental 28 – Apr - 2005 Web Portal 32
Classifieds - Roles l l Admin Channel Admin • • Content Manager Time Frame Manager Request User • Fill in the content details and time period General Users • Subscribe to the channel 28 – Apr - 2005 Web Portal 33
Classifieds Channel - Design l Built using XML and Portlets XML Schema used : <Classifieds> <Classified> <Title></Title> <Details></Details> <Link></Link> </Classifieds> 28 – Apr - 2005 Web Portal 34
Design (Continue) l l Portlet JSR -168 Use IPersonal Interface by u. Portal for user Identification 28 – Apr - 2005 Web Portal 35
Part 6 - Conclusion 28 – Apr - 2005 Web Portal 36
Lessons Learnt l u. Portal documentation refers to old versions, and/or is incomplete l JDK 1. 4 or higher. . but JDK 1. 5. 0? l RSS Portlet example fails to render with 1. 5. 0 CLASSPATH is also necessary when using the JDBC database connector JAR l Environment variable setting l l l • • Set them once-and-for-all Running u. Portal • • • First time, start both servers as root user Subsequent startup, no need to be root Not mentioned in README!! Modify ant. bat (or ant. sh) with fixed path of Ant folder. Use ‘ant deploy’ in uportal folder to recompile java for your JDK! 28 – Apr - 2005 Web Portal 37
References l l l www. uportal. org www. sakaiproject. org www. cuconnect. colorado. edu www. portlets. blogspot. com www. w 3 c. org l http: //people. emich. edu/kmanickam/uportal_2_0_1 /channel_2_0_1. htm l www. mysql. com 28 – Apr - 2005 Web Portal 38
Questions ? ? 28 – Apr - 2005 Web Portal 39
- Slides: 39