jPortlet is an open-source implementation of a Portlet Container. The jPortlet API is inspired from the IBM WebSphere Portal Server API. Portlets are web components -like Servlets - specifically designed to be aggregated in the context of a composite page, such as the 'news' and 'new content around the site' panels on TheServerSide homepage.
jPortlet uses Velocity as Template Language, provide a MVC framework.
jPortlet offers the following features:
- Multi-mode: Portlet can be viewed in different modes: VIEW, EDIT, CONFIGURE or HELP
- Multi-device: The API allow portlets to be deployed on WebBrowser, PDA, cell-phones etc.
- Caching: The portlet container is able to cache portlet's content in order to accelerate the portlet rendering
- Security: Role based security
- Internationalization
- Integration with Velocity as Template Language
- Model-View-Controller framework like Struts
http://jportlet.sourceforge.net
-
jPortlet open source portlet container 1.0 released (18 messages)
- Posted by: Herve Tchepannou
- Posted on: April 18 2003 09:05 EDT
Threaded Messages (18)
- Why not work with Jetspeed? by Don Brown on April 19 2003 01:21 EDT
- Jetspeed API by Frans Thamura on April 19 2003 02:27 EDT
-
Can this be used with EJBs ? by Steve Vai on April 19 2003 09:46 EDT
- Can this be used with EJBs ? by Herve Tchepannou on April 19 2003 10:34 EDT
-
Can this be used with EJBs ? by Steve Vai on April 19 2003 09:46 EDT
- Portlet is based on Strucs, Jetspeed is based on Turbine by shelin shieh on August 06 2003 00:16 EDT
- Jetspeed API by Frans Thamura on April 19 2003 02:27 EDT
- jPortlet open source portlet container 1.0 released by Danilo Rheinheimer on April 19 2003 22:55 EDT
- jPortlet open source portlet container 1.0 released by Herve Tchepannou on April 19 2003 23:15 EDT
- It _is_ based on JetSpeed by Jim Cook on April 22 2003 18:32 EDT
- Apache Pluto and Charon Initiative by Stephane Croisier on April 22 2003 05:37 EDT
- Apache Pluto and Charon Initiative by Stephane Croisier on April 22 2003 07:48 EDT
- In a year or so by Jim Cook on April 22 2003 06:26 EDT
- Apache Pluto and Charon Initiative by Stephane Croisier on April 22 2003 07:48 EDT
- Can this be used with Struts/Tiles/JSP? by a a on April 22 2003 14:59 EDT
- Working ? by Arne Vajh??j on April 24 2003 10:08 EDT
- Working ? by Herve Tchepannou on April 24 2003 15:15 EDT
-
Still not fly by Arne Vajh??j on April 26 2003 02:37 EDT
- Still not fly by Herve Tchepannou on April 27 2003 09:10 EDT
-
Still not fly by Arne Vajh??j on April 26 2003 02:37 EDT
- Working ? by Herve Tchepannou on April 24 2003 15:15 EDT
- Portlet resources by Sean Sullivan on April 26 2003 19:00 EDT
- jPortlet open source portlet container 1.0 released by Mark N on May 07 2003 09:47 EDT
-
Why not work with Jetspeed?[ Go to top ]
- Posted by: Don Brown
- Posted on: April 19 2003 01:21 EDT
- in response to Herve Tchepannou
I'm pretty new to portal frameworks, but why not work with Jetspeed? It seems both projects are going for the same thing - open source, standards-based portal API framework. -
Jetspeed API[ Go to top ]
- Posted by: Frans Thamura
- Posted on: April 19 2003 02:27 EDT
- in response to Don Brown
I think Apache Team (David Taylor, Raphael, Paul Spencer) must create something like this, and API that can be use flexibility.
mm JPortlet must be part of Jetspeed, to much good component in Jetspeed, event it is still not a good API, but a good sample of Personalization -
Can this be used with EJBs ?[ Go to top ]
- Posted by: Steve Vai
- Posted on: April 19 2003 21:46 EDT
- in response to Frans Thamura
Can this be used with EJBs ? if so where are all the ejbs going to reside in the recommended file structure ? -
Can this be used with EJBs ?[ Go to top ]
- Posted by: Herve Tchepannou
- Posted on: April 19 2003 22:34 EDT
- in response to Steve Vai
Yes, Portlet can be used by EJB because Portlets are just the UI of your application.
One way to integrate with EJB is via Actions.
When Action are invoked, you can make call to your ejbs.
one suggested file structure can be:
PROJECT_HOME/
src/
java/
com/
xyz/
domain/ <---- Your entity bean here (business object)
services/ <---- Your session beans here
portlets/ <---- Your portlets
PS: Make your portlet call your session beans
Im going to publish an example soon yo show how to integrate Portlet-EJB with xDoclet.
stay tuned -
Portlet is based on Strucs, Jetspeed is based on Turbine[ Go to top ]
- Posted by: shelin shieh
- Posted on: August 06 2003 00:16 EDT
- in response to Don Brown
Why doesn't portlet integrate with Jetspeed?
Jetspeed is developed upon Turbine (another MVC framework, http://jakarta.apache.org/turbine/).
JPortlet is based on Struts. -
jPortlet open source portlet container 1.0 released[ Go to top ]
- Posted by: Danilo Rheinheimer
- Posted on: April 19 2003 22:55 EDT
- in response to Herve Tchepannou
I think this is a good portlet implementation, much cleaner end easier to understand than Jetspeed.
But I was looking the "Portlet with action" example from the site and I have one question.
Why we need the webflow.properties file ?
It is not better to have this information inside the portlet.xml file ? Something like :
<portlet-app>
<portlet-app-name>Portlet Application</portlet-app-name>
<portlet>
<portlet-name>capital</portlet-name>
<portlet-class>net.sf.jportlet.samples.action.CapitalPortlet</portlet-class>
<action-listener>net.sf.jportlet.samples.action.CapitalActionListener</action-listener>
<default-locale>en</default-locale>
<language locale="en">
<title>Capital</title>
</language>
<webflow>
<action name="view">
<return value="success">/success.jsp</return>
<return value="error">/error.jsp</return>
<return value="input">/portlet/capital/mode/view/state/maximized</return>
</action>
</webflow>
<supports>
<markup name="html">
<view />
</markup>
</supports>
</portlet>
</portlet-app>
Or at least webflow.properties should be a xml file too.
This will make it much easier to create some tool to edit it. -
jPortlet open source portlet container 1.0 released[ Go to top ]
- Posted by: Herve Tchepannou
- Posted on: April 19 2003 23:15 EDT
- in response to Danilo Rheinheimer
You made a good point, because the less configuration we have, the better it is..
I'm going to add that to the TODO list -
It _is_ based on JetSpeed[ Go to top ]
- Posted by: Jim Cook
- Posted on: April 22 2003 18:32 EDT
- in response to Danilo Rheinheimer
JetSpeed seems to have died on the vine quite some time ago, however IBM's Websphere portal _is_ based on JetSpeed, therefore so is this effort. In fact the 1.1 version of IBM's portal tutorial contains the actual JetSpeed package imports all over the place. -
Apache Pluto and Charon Initiative[ Go to top ]
- Posted by: Stephane Croisier
- Posted on: April 22 2003 05:37 EDT
- in response to Herve Tchepannou
What about:
http://nagoya.apache.org/wiki/apachewiki.cgi?PlutoProposal
http://nagoya.apache.org/wiki/apachewiki.cgi?CharonProposal
That will certainly become the refercence implementations for the new JSR 168 (community draft plan for the 17th of May) and the Oasis WSRP (web services for remote portlet) standard.
Why such a dual work?
Stephane
- -- --- -----=[ scroisier at jahia dot com ]=---- --- -- -
Jahia : The Open Java CMS and Corporate Portal Solution (www.jahia.org) -
Apache Pluto and Charon Initiative[ Go to top ]
- Posted by: Stephane Croisier
- Posted on: April 22 2003 07:48 EDT
- in response to Stephane Croisier
Sorry the community draft of the JSR 168 seems to be already out for community members of the JCP. 17th of May is the deadline for comments.
Stephane
- -- --- -----=[ scroisier at jahia dot com ]=---- --- -- -
Jahia : The Open Java CMS and Corporate Portal Solution (www.jahia.org) -
In a year or so[ Go to top ]
- Posted by: Jim Cook
- Posted on: April 22 2003 18:26 EDT
- in response to Stephane Croisier
Look at how long it takes a JSR on average to go from community review to final spec. About a year. Look for Portal API sometime in 2004. -
Can this be used with Struts/Tiles/JSP?[ Go to top ]
- Posted by: a a
- Posted on: April 22 2003 14:59 EDT
- in response to Herve Tchepannou
I am working on a project thats Struts/Tiles/JSP. Can jPortlet be integrated in that environment? -
Working ?[ Go to top ]
- Posted by: Arne Vajh??j
- Posted on: April 24 2003 10:08 EDT
- in response to Herve Tchepannou
I think it looked very good.
Portlets, simple setup etc.etc..
But has anybody been able to get this working ?
I get:
java.lang.ClassNotFoundException: No ClassLoaders found for: net.sf.jportlet.portlet.descriptor.ApplicationDescriptor
when I try to deploy a simple test application.
(and when rebuilding the source of the framework I get
several warnings about depracated) -
Working ?[ Go to top ]
- Posted by: Herve Tchepannou
- Posted on: April 24 2003 15:15 EDT
- in response to Arne Vajh??j
There where an error in the previous package that I've just fixed.
please get the lattest release from (1.0.1) here -
Still not fly[ Go to top ]
- Posted by: Arne Vajh??j
- Posted on: April 26 2003 14:37 EDT
- in response to Herve Tchepannou
I got the new kit.
Still a classloader error.
Then I copied a bunch of jar files to the JBoss server default lib
directory.
That solved that classloader errors.
But I stll get:
20:34:49,046 INFO [PortletServiceFactoryImpl] Initializing service: net.sf.jportlet.service.velocity.VelocityService
20:34:49,093 ERROR [PortletServiceFactoryImpl] Unable to initialize service: velocity
net.sf.jportlet.service.PortletServiceException
at net.sf.jportlet.service.velocity.VelocityServiceImpl.init(Unknown Source)
at net.sf.jportlet.impl.PortletServiceFactoryImpl.init(Unknown Source)
at net.sf.jportlet.impl.PortletApplicationImpl.init(Unknown Source)
at net.sf.jportlet.web.servlet.PortletServlet.init(Unknown Source)
PS: We can take this to email - it may be better than this forum. -
Still not fly[ Go to top ]
- Posted by: Herve Tchepannou
- Posted on: April 27 2003 09:10 EDT
- in response to Arne Vajh??j
Please, download the lattest version of jPortlet, this should solve the class loader problems -
Portlet resources[ Go to top ]
- Posted by: Sean Sullivan
- Posted on: April 26 2003 19:00 EDT
- in response to Herve Tchepannou
-
jPortlet open source portlet container 1.0 released[ Go to top ]
- Posted by: Mark N
- Posted on: May 07 2003 09:47 EDT
- in response to Herve Tchepannou
What license is this under. I didn't see it on your web site or SourceForge. (Of course I am almost blind in one eye ...)