Using WebSphere Commerce services in portlets

There are two ways to use WebSphere Commerce services from a WebSphere Commerce portlet: