I would recommend keeping all the EJBs in the same layer, but adding new portlets.<br /><br />Check out the Recent Documents portlet. That's a view of the Document Library portlet with stuff missing.<br /><br />A good way would be to create a new portlet, with x functionality, duplicate it in the shopping portlet. Then remove it from the shopping portlet. It's really quite a task. I would question the usefulness of it though. Since we have many portlets besides shopping, it'd be bad if the user picked one portlet but wasn't able to add to cart because their cart portlet wasn't added. It's easier and more useful to just bundle it all in.<br /><br />Now, a very useful refactoring, imho, is to be able to make it hit a CC like CyberSource. <!--emo&;)--><img src='@theme_images_path@/emotions/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif' /><!--endemo--> and having it go from http to https and back. Others have submitted code like it already, we just haven't had time to include it all in.
Please sign in to flag this as inappropriate.