<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: A WebSphere Process Server implementation story</title>
	<atom:link href="http://www.albeesonline.com/blog/2009/04/08/a-websphere-process-server-implementation-story/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.albeesonline.com/blog/2009/04/08/a-websphere-process-server-implementation-story/</link>
	<description>Something about JEE and WebSphere. Java, JEE and WebSphere tips and tutorials</description>
	<lastBuildDate>Mon, 30 Jan 2012 13:08:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Arby</title>
		<link>http://www.albeesonline.com/blog/2009/04/08/a-websphere-process-server-implementation-story/comment-page-1/#comment-61125</link>
		<dc:creator>Arby</dc:creator>
		<pubDate>Fri, 13 Nov 2009 02:10:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=349#comment-61125</guid>
		<description>As I alluded to above, write an EJB on WPS 6.2. Invoke the EJB from WAS 7.0. WPS 6.2 supports EJB 2.* unfortunately and not EJB 3.0, so it is a little bit harder than it has to be.

Locally on WPS 6.2 invoke the &quot;local&quot; EJBs from Business Flow Manager and Human Task Manager.

You CAN use Web Service version of BFM and HTM. I personally found it too cumbersome to configure than the EJB. Which is a testament to how difficult IBM makes its solutions.

Best.</description>
		<content:encoded><![CDATA[<p>As I alluded to above, write an EJB on WPS 6.2. Invoke the EJB from WAS 7.0. WPS 6.2 supports EJB 2.* unfortunately and not EJB 3.0, so it is a little bit harder than it has to be.</p>
<p>Locally on WPS 6.2 invoke the &#8220;local&#8221; EJBs from Business Flow Manager and Human Task Manager.</p>
<p>You CAN use Web Service version of BFM and HTM. I personally found it too cumbersome to configure than the EJB. Which is a testament to how difficult IBM makes its solutions.</p>
<p>Best.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Runa</title>
		<link>http://www.albeesonline.com/blog/2009/04/08/a-websphere-process-server-implementation-story/comment-page-1/#comment-61067</link>
		<dc:creator>Runa</dc:creator>
		<pubDate>Wed, 11 Nov 2009 16:40:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=349#comment-61067</guid>
		<description>Hi  Albin,

I have a scenario where in I have a web application on was 7.0 and WPS server 6.2  is on other sytem.I want to invoke process from the client .to use EJB interface I will have to install  WPS client 6.2  on my client side i.e over was 7.0 .I dont think it is going to work and for this kind of scenario I will have to use webservices api for invoking the process ?Please suggest if I am right on this ?
Thanks,
Runa</description>
		<content:encoded><![CDATA[<p>Hi  Albin,</p>
<p>I have a scenario where in I have a web application on was 7.0 and WPS server 6.2  is on other sytem.I want to invoke process from the client .to use EJB interface I will have to install  WPS client 6.2  on my client side i.e over was 7.0 .I dont think it is going to work and for this kind of scenario I will have to use webservices api for invoking the process ?Please suggest if I am right on this ?<br />
Thanks,<br />
Runa</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Albin Joseph</title>
		<link>http://www.albeesonline.com/blog/2009/04/08/a-websphere-process-server-implementation-story/comment-page-1/#comment-60673</link>
		<dc:creator>Albin Joseph</dc:creator>
		<pubDate>Fri, 30 Oct 2009 07:47:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=349#comment-60673</guid>
		<description>It depends on your requirement. WebService is the easiest way. However the number of methods you can use will be less compared to EJB API.</description>
		<content:encoded><![CDATA[<p>It depends on your requirement. WebService is the easiest way. However the number of methods you can use will be less compared to EJB API.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: runa</title>
		<link>http://www.albeesonline.com/blog/2009/04/08/a-websphere-process-server-implementation-story/comment-page-1/#comment-60657</link>
		<dc:creator>runa</dc:creator>
		<pubDate>Thu, 29 Oct 2009 10:50:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=349#comment-60657</guid>
		<description>Albin,
Thanks for the article .But I am kind of stuck in deciding wihich interface to use EJb or Webservice or rest ,I tried to look into the comaprision for these in http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/index.jsp?topic=/com.ibm.websphere.bpc.z.620.doc/doc/bpc/cbpcapi_compare.html but still not able tp decide please guide.</description>
		<content:encoded><![CDATA[<p>Albin,<br />
Thanks for the article .But I am kind of stuck in deciding wihich interface to use EJb or Webservice or rest ,I tried to look into the comaprision for these in <a href="http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/index.jsp?topic=/com.ibm.websphere.bpc.z.620.doc/doc/bpc/cbpcapi_compare.html" rel="nofollow">http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/index.jsp?topic=/com.ibm.websphere.bpc.z.620.doc/doc/bpc/cbpcapi_compare.html</a> but still not able tp decide please guide.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Albin Joseph</title>
		<link>http://www.albeesonline.com/blog/2009/04/08/a-websphere-process-server-implementation-story/comment-page-1/#comment-60576</link>
		<dc:creator>Albin Joseph</dc:creator>
		<pubDate>Tue, 27 Oct 2009 07:28:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=349#comment-60576</guid>
		<description>I wouldn&#039;t say I am unhappy with WID. I feel it is the best tool available in the market now. However to make some simple things to work we need to struggle a lot. I think IBM could have give a better documentation for this product covering all the scenarios.</description>
		<content:encoded><![CDATA[<p>I wouldn&#8217;t say I am unhappy with WID. I feel it is the best tool available in the market now. However to make some simple things to work we need to struggle a lot. I think IBM could have give a better documentation for this product covering all the scenarios.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve B.</title>
		<link>http://www.albeesonline.com/blog/2009/04/08/a-websphere-process-server-implementation-story/comment-page-1/#comment-60535</link>
		<dc:creator>Steve B.</dc:creator>
		<pubDate>Fri, 23 Oct 2009 13:22:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=349#comment-60535</guid>
		<description>Albin,
I work for a large manufacturing company and have had the exact same experiences.  Everyone has challenges within their corporate culture.  What I would also be interested in hearing are the &quot;challenges&quot; with the tools (WPS/WID).  I&#039;ve worked on several projects now to implement very simple integrations with WID/WESB/WPS and I&#039;m extremely unhappy with the toolset.  The idea&#039;s behind the tools are sound, but the struggles you go through to get simple things to work is astounding.  
Thoughts?</description>
		<content:encoded><![CDATA[<p>Albin,<br />
I work for a large manufacturing company and have had the exact same experiences.  Everyone has challenges within their corporate culture.  What I would also be interested in hearing are the &#8220;challenges&#8221; with the tools (WPS/WID).  I&#8217;ve worked on several projects now to implement very simple integrations with WID/WESB/WPS and I&#8217;m extremely unhappy with the toolset.  The idea&#8217;s behind the tools are sound, but the struggles you go through to get simple things to work is astounding.<br />
Thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arby</title>
		<link>http://www.albeesonline.com/blog/2009/04/08/a-websphere-process-server-implementation-story/comment-page-1/#comment-60052</link>
		<dc:creator>Arby</dc:creator>
		<pubDate>Fri, 09 Oct 2009 15:51:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=349#comment-60052</guid>
		<description>IBM does provide a &quot;web service&quot; invocation route to BFM / HTM service instead of Session Bean. But I found the configuration overly complicated. Configuring RMI security proved to be the lesser evil.

In any event, my basic problem is that IBM solution are unnecessarily complicated. I have to live with their products. But I would like to believe I don&#039;t have to live with their remoting solutions. I earned my stripes in distributed computing. I learned - as someone else has so eloquently put - the effort spent in designing something is inversely proportional to the simplicity of the result. A fact lost on IBM, conveniently, because if they make things simple, they lose consulting dollars. But I&#039;m digressing.

I love, like and understand Web Service technology very well. After getting things to work using the EJB route, I delved into exactly what was happening. Without going into too much details, 3 types of &quot;tokens&quot; aka credentials are getting serialized over the wire through the EJB Proxy. I figured out how to do the same thing manually, confirmed that the serialized payload was identical to what was being generated by the EJB proxy. I then proceeded to ASCII encode it as a SOAP Header and send it over the wire using a CXF service. The idea was to deserialize and get the credentials back. 

When I tried to deserialize the payload over the wire, I got a serializeVersionUID error. Fact of the matter is I know I got the security credentials right. I know because I dumped them into a file, read them at the other end of the wire, and was able to invoke the BFM session bean on behalf of whatever user I wanted.

Sorry for the long drawn out response. I&#039;m sorry but WebSphere Process Server sucks. Someday, maybe I&#039;ll start my own blog. I&#039;m sure I&#039;ve bored yawl enough.

Best.</description>
		<content:encoded><![CDATA[<p>IBM does provide a &#8220;web service&#8221; invocation route to BFM / HTM service instead of Session Bean. But I found the configuration overly complicated. Configuring RMI security proved to be the lesser evil.</p>
<p>In any event, my basic problem is that IBM solution are unnecessarily complicated. I have to live with their products. But I would like to believe I don&#8217;t have to live with their remoting solutions. I earned my stripes in distributed computing. I learned &#8211; as someone else has so eloquently put &#8211; the effort spent in designing something is inversely proportional to the simplicity of the result. A fact lost on IBM, conveniently, because if they make things simple, they lose consulting dollars. But I&#8217;m digressing.</p>
<p>I love, like and understand Web Service technology very well. After getting things to work using the EJB route, I delved into exactly what was happening. Without going into too much details, 3 types of &#8220;tokens&#8221; aka credentials are getting serialized over the wire through the EJB Proxy. I figured out how to do the same thing manually, confirmed that the serialized payload was identical to what was being generated by the EJB proxy. I then proceeded to ASCII encode it as a SOAP Header and send it over the wire using a CXF service. The idea was to deserialize and get the credentials back. </p>
<p>When I tried to deserialize the payload over the wire, I got a serializeVersionUID error. Fact of the matter is I know I got the security credentials right. I know because I dumped them into a file, read them at the other end of the wire, and was able to invoke the BFM session bean on behalf of whatever user I wanted.</p>
<p>Sorry for the long drawn out response. I&#8217;m sorry but WebSphere Process Server sucks. Someday, maybe I&#8217;ll start my own blog. I&#8217;m sure I&#8217;ve bored yawl enough.</p>
<p>Best.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arby</title>
		<link>http://www.albeesonline.com/blog/2009/04/08/a-websphere-process-server-implementation-story/comment-page-1/#comment-60050</link>
		<dc:creator>Arby</dc:creator>
		<pubDate>Fri, 09 Oct 2009 15:39:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=349#comment-60050</guid>
		<description>Thank you. I had already read your article before I asked the question.

The solution I used was EJB/RMI security.  It is easier to explain through code than in English

LoginContext context = new LoginContext(&quot;system.RMI_INBOUND&quot;, 
                                                                         WSCallbackHandlerFactory.getInstance().getCallbackHandler(userId, (String)null));
context.login();
WSSubject.setRunAsSubject(context.getSubject());

We execute this code BEFORE I create instance of BFM or HTM session bean. The thread of invocation transfers the necessary credentials over the wire, effectively &quot;trusting&quot; the caller. Notice, no password for creating the login context. Not that I have it anyways. Needless to say, communication between my Web Application (deployed in WebSphere) and my Process Model (deployed in WebSphere Process Server) happens in the &quot;trusted&quot; layer.

We muddled through configuration of RMI security on both WebSphere and WebSphere Process Server to get this working. Perhaps you or someone else will create a guide for mere mortals in simple English (IBM documentation is Greek, maybe Latin, certainly French, all of which I don&#039;t speak).

Best Regards.
P.S. I did keep my job. For now :-)</description>
		<content:encoded><![CDATA[<p>Thank you. I had already read your article before I asked the question.</p>
<p>The solution I used was EJB/RMI security.  It is easier to explain through code than in English</p>
<p>LoginContext context = new LoginContext(&#8220;system.RMI_INBOUND&#8221;,<br />
                                                                         WSCallbackHandlerFactory.getInstance().getCallbackHandler(userId, (String)null));<br />
context.login();<br />
WSSubject.setRunAsSubject(context.getSubject());</p>
<p>We execute this code BEFORE I create instance of BFM or HTM session bean. The thread of invocation transfers the necessary credentials over the wire, effectively &#8220;trusting&#8221; the caller. Notice, no password for creating the login context. Not that I have it anyways. Needless to say, communication between my Web Application (deployed in WebSphere) and my Process Model (deployed in WebSphere Process Server) happens in the &#8220;trusted&#8221; layer.</p>
<p>We muddled through configuration of RMI security on both WebSphere and WebSphere Process Server to get this working. Perhaps you or someone else will create a guide for mere mortals in simple English (IBM documentation is Greek, maybe Latin, certainly French, all of which I don&#8217;t speak).</p>
<p>Best Regards.<br />
P.S. I did keep my job. For now <img src='http://www.albeesonline.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.albeesonline.com/blog/2009/04/08/a-websphere-process-server-implementation-story/comment-page-1/#comment-59445</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Thu, 24 Sep 2009 15:58:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=349#comment-59445</guid>
		<description>I believe we can secure the WS call using WSS4J. You can check the info at  http://ws.apache.org/wss4j/.A simple example is also given. 
However, I am not sure how the username/pwd sent from ur client in Jboss will be authenticated at WPS side as I haven’t worked with WPS.
I believe WPS must have a user registry configured and if the user name exists there it should authenticate . 
If someone with knowledge of WPS can clarify this, then you got the answer. Usually applications must have LDAP, if you get the uid/pwd authenticated in ur client using a LDAP, make sure to give the same LDAP in the user registry of webservice server (WPS in ur case).</description>
		<content:encoded><![CDATA[<p>I believe we can secure the WS call using WSS4J. You can check the info at  <a href="http://ws.apache.org/wss4j/.A" rel="nofollow">http://ws.apache.org/wss4j/.A</a> simple example is also given.<br />
However, I am not sure how the username/pwd sent from ur client in Jboss will be authenticated at WPS side as I haven’t worked with WPS.<br />
I believe WPS must have a user registry configured and if the user name exists there it should authenticate .<br />
If someone with knowledge of WPS can clarify this, then you got the answer. Usually applications must have LDAP, if you get the uid/pwd authenticated in ur client using a LDAP, make sure to give the same LDAP in the user registry of webservice server (WPS in ur case).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Albin Joseph</title>
		<link>http://www.albeesonline.com/blog/2009/04/08/a-websphere-process-server-implementation-story/comment-page-1/#comment-58854</link>
		<dc:creator>Albin Joseph</dc:creator>
		<pubDate>Wed, 16 Sep 2009 05:57:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=349#comment-58854</guid>
		<description>Raj, What you need is an SSO between JBoss and WAS. I have not configured an SSO between JBoss and WAS yet. However I can give you some pointers which will help you.

I do not think LTPAToken is going to work for you as JBoss does not understand what an LTPAToken is.  You may need to write a JAAS module for making this happen. or you can even think about different alternates like SAML or certificate based SSO.

Please let me know if this helps.</description>
		<content:encoded><![CDATA[<p>Raj, What you need is an SSO between JBoss and WAS. I have not configured an SSO between JBoss and WAS yet. However I can give you some pointers which will help you.</p>
<p>I do not think LTPAToken is going to work for you as JBoss does not understand what an LTPAToken is.  You may need to write a JAAS module for making this happen. or you can even think about different alternates like SAML or certificate based SSO.</p>
<p>Please let me know if this helps.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

