Matt RaibleMatt Raible is a Web Developer and Java Champion. Connect with him on LinkedIn.

The Angular Mini-Book The Angular Mini-Book is a guide to getting started with Angular. You'll learn how to develop a bare-bones application, test it, and deploy it. Then you'll move on to adding Bootstrap, Angular Material, continuous integration, and authentication.

Spring Boot is a popular framework for building REST APIs. You'll learn how to integrate Angular with Spring Boot and use security best practices like HTTPS and a content security policy.

For book updates, follow @angular_book on Twitter.

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

Installing Jetspeed 2 and deploying Struts/JSF Portlets

One of things we're moving to on my current project is portlet development. The client has a bunch of apps they want developed and it makes a lot of sense to develop them as portlets and deploy them in a portlet container. Because of this, we spent some time this week mucking around with Jetspeed-2. Bruce and I figured out how to install it, and then I did a bit of work with Equinox to deploy the Struts and JSF versions as portlets.

I didn't get equinox-struts or equinox-jsf fully functioning in Jetspeed, but I did get them to deploy and bring up the first page. I expect to do some more work in the next month to get these apps fully functional. In the meantime, I've put together the following tutorials.

If you have any tips on getting JSF or Struts WARs working in Jetspeed, please let me know.

Posted in Java at Jan 13 2005, 08:44:53 PM MST 10 Comments
Comments:

Have you tested Liferay? Seems the most interesting portlet container and is the one with more portlets out of the box. It's very easy to install. One of the drawbacks is that portlets are not bundled in war files (yet) and depend on Liferay classes.

Posted by Carlos Sanchez on January 14, 2005 at 01:39 AM MST #

We use Jetspeed 1.5 at work and have integrated some Struts portlets into it. We developed our own proxy UFSProxyPortlet to integrate remote portlets. It works decently. 1.6 is going to/or has WSRP support so that make things better. We haven't moved to Jetspeed2 because it is still to early. If you need a JSR-168 compliant portal that is ready to go and open source, have you looked at eXo portal? http://www.exoplatform.org/portal/faces/public/exo

Posted by John Christopher on January 14, 2005 at 09:52 AM MST #

Matt and Bruce, you might be interested to know I'm currently working on a newer version of the Struts Bridge which will allow easier (nearly transparent) migration of existing Struts applications. I'll also will provide more documentation as well as a tutorial and migration instructions using the JPetstore application as an example. My target is to create a JPetstore.war which will equally run as web application as portlet application. I hope to commit the first release of this version sometime next week (no promises though). If you run into problems getting the Equinox-struts example working on Jetspeed-2 feel free to contact me and I'll see if I can help you out with it.

Posted by Ate Douma on January 14, 2005 at 04:01 PM MST #

I thought I'd mention that the psml step on your struts-portlet page is not really needed. You can just add a portlet through the interface and the psml is created for you.

Posted by Jeff Sheets on January 15, 2005 at 10:22 AM MST #

Hey Matt, I've been using portals for over 2 years now. Out of curiousity what made your client pick Jetspeed2? I've been using WebSphere and BEA and both has it's pro's and con's. But I'm looking at now using an opensource to create a pet project so I'm looking for some suggestions that will swing me to a specific opensoure portal framework. Thanks! Steven

Posted by Steven on January 17, 2005 at 01:45 PM MST #

Sun has promised portlet (JSR-168) support in JSF, but hasn't delivered yet. They say JSF was designed for it, and it's easy by changing the ExternalContext class. This guy at IBM describes how, including some code: http://javaoneonline.mentorware.net/servlet/mware.servlets.StudentServlet?mwaction=showDescr&class_id=28142&subsysid=2000&topic=technical&avail_frames=true This guy comments on the above presentation: http://www.benigma.com/javaone/archives/2004/06/putting_faces_o.html I've researched portals for JSR-168+JSF support. Many are working in it, not many have it. Exo has support for 168 and JSF, but they use Pico not Spring. Liferay (uses Spring) supports 168 and will support JSF in Q2. Jetspeed 2 will support 168, but I don't see any plans for JSF. It would also be cool if Sun Java Studio Creator supported 168, but I think that's a ways off.

Posted by Greg Holmberg on January 25, 2005 at 06:47 PM MST #

this was very useful and much easier to follow than the instructions posted at jetspeed's site.

Posted by jason on May 04, 2005 at 03:46 PM MDT #

Ate Douma, Do you have any document on how to depoy your own struts based application on JetSpeed2 as a portlet? Thanks, --Tushar

Posted by Tushar on June 19, 2006 at 11:54 AM MDT #

Ate Douma, Do you have any document on how to depoy your own struts based application on JetSpeed2 as a portlet? Thanks!

Posted by yhcai on November 09, 2006 at 08:26 PM MST #

Ate Douma, Do you have any document on how to depoy your own struts based application on JetSpeed2 as a portlet? Thanks! Sindhu

Posted by Sindhu on January 23, 2007 at 08:16 AM MST #

Post a Comment:
  • HTML Syntax: Allowed