The Artima Developer Community
Sponsored Link

Java Buzz Forum
Portlets vs. Social Container

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Wilfred Springer

Posts: 176
Nickname: springerw
Registered: Sep, 2006

Wilfred Springer is a Software Architect at Xebia
Portlets vs. Social Container Posted: Feb 10, 2009 1:23 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Wilfred Springer.
Original Post: Portlets vs. Social Container
Feed Title: Distributed Reflections of the Third Kind
Feed URL: http://blog.flotsam.nl/feeds/posts/default/-/Java
Feed Description: Anything coming to my mind having to do with Java
Latest Java Buzz Posts
Latest Java Buzz Posts by Wilfred Springer
Latest Posts From Distributed Reflections of the Third Kind

Advertisement

Portals are... peculiar. I am a little conflicted about them though. First, what I like about them. I think portals in way are the SOA dream come true. Basically, it's all about composition of existing smaller services. Admittedly, the level of integration is not very intimate, but that's actually a good thing. Think of portlets as objects that have their own lifecycle and state. And instead of exposing all of their state to the rest of the world - which would be very MVC, but very not OO, because it breaks the encapsulation, they basically control themselves how humans interact with them. Very much like the visual proxy ideas laid out in this article 10 years ago.

So yes, I kind a like them. Ultimately, I don't believe in partitioning systems horizontally. I believe in partitioning systems vertically. Have systems that are capable of doing some particular in a very decent way, and offering several interfaces and type of endpoints to interact with it.

But at the same time, I don't really like portals. And that largely has to do with the fact that portals do the composition on the server, and you wonder why. Especially in today's world, where many things are essentially getting mashed up on the server. It just doesn't scale very nice. (Well, I can tell you why, but you have to promise not to tell anyone else... It's a conspiracy. Hardware vendors make you think you need it, and then it turns out it requires a lot of processing power.)

Now, on the plus side, I think portals probably paved the way for client side social container technology. And it seems to me that if you happen to have an investment in portal technology, it should eventually not be all that hard to turn that into a social container type of solution, in which the composition is done where it needs to be done: on the client. (And then we can also forget about edge side includes and all of that. You ain't gonna need it.) Once it's on the client, it will scale just fine. 

I had a hunch that there would be something out there that would leverage the portlet programming model to move the composition to the client. And it turns out, there is something out there. It's called Light Portal, and it's doing exactly what you might expect. Have AJAX portlet type of components call into JSR 168 portlets. Sweet. I am not sure if it would be as robust as you would like, but you got to at least appreciate the attempt. 

Read: Portlets vs. Social Container

Topic: Data Constructors and Readability Previous Topic   Next Topic Topic: The Apache Project has released Qpid M4, an open source,

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use