Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Service Oriented Architecture Tools Platform (STP) » Re: [stp-newsgroup] classes exclusion for runtime version
Re: [stp-newsgroup] classes exclusion for runtime version [message #580692] Wed, 14 June 2006 08:15
keanu is currently offline keanu
Messages: 49
Registered: July 2009
Member
This is a multipart message in MIME format.
--=_alternative 002D5CA74925718D_=
Content-Type: text/plain; charset="US-ASCII"

Hi, Antony

It's been a long time. How have you been?


I have a couple of questions.
- I wonder stp mailing list link is not shown on the eclipse web site. Do
you know that?
- Can I make a SOAP client for the service that BPEL script is exposing? I
mean, can b2j engine create WSDL just as Axis can generate WSDL for a
particular service so that SOAP client can be generated according to the
WSDL?
- Could I share any news for your pluggable b2j runtime?

*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+
Paik, YoungSang (Keanu)
Advanced Mobile Solution Technology Team in Ubiquitous Computing Lab (UCL)
IBM, Korea

Tel: (822)3781-7509, (8211)898-7509 Email: yspaik@kr.ibm.com
Address : The MMAA Bldg 467-12 Dogok-dong. Gangnam-gu, Seoul, Korea




Antony Miguel <antony.miguel@scapatech.com>
Sent by: stp-newsgroup-bounces@eclipse.org
05/16/2006 02:24 AM
Please respond to
"Gateway between eclipse.stp and stp-newsgroup"
<stp-newsgroup@eclipse.org>


To
stp-newsgroup@eclipse.org
cc

Subject
Re: [stp-newsgroup] classes exclusion for runtime version






Hi Keanu,

I've written one test class that generates an engine program and saves
it to disk, and another test class that uses just the local engine to
run the compiled program (these would represent your client side BPEL
compilation step and your embedded device BPEL execution step).

I've used these test classes to chop out bits of unused code from the
runtime only JAR including the distributed engine and make sure the
runtime only test program can still run BPEL using only the cut-down JAR.

The resulting runtime only JAR which is still able to run the
precompiled BPEL files I mentioned below (test_xpath, test_messaging,
test_soapserver_pick) is 304KB. This should need no extra libraries to
run on CDC/FP 1.0 or Java 1.3.

cheers

Antony

Antony Miguel wrote:
> Hi Keanu,
>
> I have converted B2J to use it's own XML parser, got the HTTP
> implementation to load JSSE via reflection and removed all 1.4 JVM
> library dependencies from B2J core (there were a few odd extra
> references such as java.net.URI).
>
> The end result is that the whole of B2J core (including the compilation
> stages - given that javac or some other compiler is present) can now run

> using:
>
> - IBM WEME 6.1 lnx-x86-ppro10 (which I believe is CDC/FP 1.0?)
> - Sun CVM CDC/FP 1.1
>
> Given that it runs on the above IBM WEME JVM it should also run OK on
> Sun CVM CDC/FP 1.0 but I haven't been able to build that JVM yet.
>
> I've been able to run almost all of the example BPEL files. In
> particular on both JVMs I have successfully run
>
> - test_xpath.bpel
> - test_soapserver_pick.bpel
> - test_messaging.bpel
>
> I think these constitute a reasonable all-round test. They include use
> of HTTP/SOAP, XPATH and heavy threading and synchronisation.
>
> Including the new XML parser and all changes the full core JAR stands at

> about 745KB. The runtime only JAR stands at 442KB (but this still
> includes the distributed engine).
>
> I plan to do some more thorough testing as one or two of the example
> files fail (for reasons which may or may be related to recent changes)
> but I don't see any real reason why these changes couldn't go into the
> B2J main stream. They don't in any way degrade the performance of B2J
> and they make it more flexible in it's requirements.
>
> Are these the right JVMs and CDC/FP specifications you were hoping for?
>
> thanks
>
> Antony
>
> Antony Miguel wrote:
>
>> Hi Keanu,
>>
>>>> This may not work in other JVMs, I think in my previous experience
>>>> it might break in an IBM JVM but I'm not sure.
>>>
>>>
>>>
>>> Oh, Really? For me, b2j still works fine with IBM sdk v 1.4.
>>> my version is
>>> - java fullversion "J2RE 1.4.2 IBM Windows 32 build cn142-20050609
>>
>>
>>
>> This was just me remembering an issue from a long time ago. I think
>> that once upon a time I saw some very subtle difference to do with
>> classloading but like I say I can't remember exactly what the deal was
>> (it was complicated). It occurred to me that if you were having
>> NoClassDefErrors thrown then it could be this issue again but if it
>> works fine for you on an IBM JVM then I expect it was a different
issue.
>>
>>> Only exception I have noticed in b2j is java.io.EOFException with the
>>> test bpel script when I tested with distributed engines. (It is a
>>> endurable bug for now. I know b2j is still developing phase.) But I
>>> have not noticed any "error" messages from VM, not the exception
>>> messages from program, during the test run.
>>
>>
>>
>> That's not so good. Can you tell me what script it is that fails and
>> email me the EOFException stacktrace please?
>>
>> Does it only occur with the distributed engine?
>>
>>> Oh, I see. Yes, I am temporarily doing with the full B2J jar on a
>>> common PC. I am transitting from design phase to development phase.
>>> Feasibility is the main activity. Right. Sure, I will wait.
>>> I really appreciate you effort.
>>
>>
>>
>> No problem, I am making progress with the conversion to the B2J XML
>> parser and it seems like it will be feasible to make B2J use it all
>> over (B2J has turned out to be quite a thorough test of my XML parser
>> and thrown up a variety of bugs). It adds a total of 16.5K to the jar
>> (compressed) and would mean (i think) that the only requirement would
>> be for JSSE libraries, which I should be able to remove just by using
>> reflection and catching the ClassNotFoundException. These changes
>> (plus perhaps one or two other ones I expect I have missed) should
>> make B2J able to run with only 1.3 JVM libraries. Once thats done I
>> will try running on a Java ME JVM.
>>
>> thanks
>>
>> Antony
_______________________________________________
stp-newsgroup mailing list
stp-newsgroup@eclipse.org
https://dev.eclipse.org/mailman/listinfo/stp-newsgroup


--=_alternative 002D5CA74925718D_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi, Antony</font>
<br>
<br><font size=2 face="sans-serif">It's been a long time. How have you
been?</font>
<br>
<br>
<br><font size=2 face="sans-serif">I have a couple of questions.</font>
<br><font size=2 face="sans-serif">- I wonder stp mailing list link is
not shown on the eclipse web site. Do you know that?</font>
<br><font size=2 face="sans-serif">- Can I make a SOAP client for the service
that BPEL script is exposing? I mean, can b2j engine create WSDL just as
Axis can generate WSDL for a particular service so that SOAP client can
be generated according to the WSDL?</font>
<br><font size=2 face="sans-serif">- Could I share any news for your pluggable
b2j runtime?</font>
<br>
<br><font size=2 face="sans-serif">*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ <br>
Paik, YoungSang (Keanu)<br>
Advanced Mobile Solution Technology Team in Ubiquitous Computing Lab (UCL)<br>
IBM, Korea<br>
<br>
Tel: (822)3781-7509, (8211)898-7509 &nbsp;Email: yspaik@kr.ibm.com<br>
Address : The MMAA Bldg 467-12 Dogok-dong. Gangnam-gu, Seoul, Korea<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Antony Miguel &lt;antony.miguel@scapatech.com&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: stp-newsgroup-bounces@eclipse.org</font>
<p><font size=1 face="sans-serif">05/16/2006 02:24 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
&quot;Gateway between eclipse.stp and stp-newsgroup&quot; &lt;stp-newsgroup@eclipse.org&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">stp-newsgroup@eclipse.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [stp-newsgroup] classes exclusion
for runtime version</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Hi Keanu,<br>
<br>
I've written one test class that generates an engine program and saves
<br>
it to disk, and another test class that uses just the local engine to <br>
run the compiled program (these would represent your client side BPEL <br>
compilation step and your embedded device BPEL execution step).<br>
<br>
I've used these test classes to chop out bits of unused code from the <br>
runtime only JAR including the distributed engine and make sure the <br>
runtime only test program can still run BPEL using only the cut-down JAR.<br>
<br>
The resulting runtime only JAR which is still able to run the <br>
precompiled BPEL files I mentioned below (test_xpath, test_messaging, <br>
test_soapserver_pick) is 304KB. &nbsp;This should need no extra libraries
to <br>
run on CDC/FP 1.0 or Java 1.3.<br>
<br>
cheers<br>
<br>
Antony<br>
<br>
Antony Miguel wrote:<br>
&gt; Hi Keanu,<br>
&gt; <br>
&gt; I have converted B2J to use it's own XML parser, got the HTTP <br>
&gt; implementation to load JSSE via reflection and removed all 1.4 JVM
<br>
&gt; library dependencies from B2J core (there were a few odd extra <br>
&gt; references such as java.net.URI).<br>
&gt; <br>
&gt; The end result is that the whole of B2J core (including the compilation
<br>
&gt; stages - given that javac or some other compiler is present) can now
run <br>
&gt; using:<br>
&gt; <br>
&gt; &nbsp; - IBM WEME 6.1 lnx-x86-ppro10 (which I believe is CDC/FP 1.0?)<br>
&gt; &nbsp; - Sun CVM CDC/FP 1.1<br>
&gt; <br>
&gt; Given that it runs on the above IBM WEME JVM it should also run OK
on <br>
&gt; Sun CVM CDC/FP 1.0 but I haven't been able to build that JVM yet.<br>
&gt; <br>
&gt; I've been able to run almost all of the example BPEL files. &nbsp;In
<br>
&gt; particular on both JVMs I have successfully run<br>
&gt; <br>
&gt; &nbsp; - test_xpath.bpel<br>
&gt; &nbsp; - test_soapserver_pick.bpel<br>
&gt; &nbsp; - test_messaging.bpel<br>
&gt; <br>
&gt; I think these constitute a reasonable all-round test. &nbsp;They include
use <br>
&gt; of HTTP/SOAP, XPATH and heavy threading and synchronisation.<br>
&gt; <br>
&gt; Including the new XML parser and all changes the full core JAR stands
at <br>
&gt; about 745KB. &nbsp;The runtime only JAR stands at 442KB (but this
still <br>
&gt; includes the distributed engine).<br>
&gt; <br>
&gt; I plan to do some more thorough testing as one or two of the example
<br>
&gt; files fail (for reasons which may or may be related to recent changes)
<br>
&gt; but I don't see any real reason why these changes couldn't go into
the <br>
&gt; B2J main stream. &nbsp;They don't in any way degrade the performance
of B2J <br>
&gt; and they make it more flexible in it's requirements.<br>
&gt; <br>
&gt; Are these the right JVMs and CDC/FP specifications you were hoping
for?<br>
&gt; <br>
&gt; thanks<br>
&gt; <br>
&gt; Antony<br>
&gt; <br>
&gt; Antony Miguel wrote:<br>
&gt; <br>
&gt;&gt; Hi Keanu,<br>
&gt;&gt;<br>
&gt;&gt;&gt;&gt; &nbsp;This may not work in other JVMs, I think in my previous
experience <br>
&gt;&gt;&gt;&gt; it might break in an IBM JVM but I'm not sure.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Oh, Really? For me, b2j still works fine with IBM sdk v 1.4.<br>
&gt;&gt;&gt; my version is<br>
&gt;&gt;&gt; - java fullversion &quot;J2RE 1.4.2 IBM Windows 32 build cn142-20050609<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; This was just me remembering an issue from a long time ago. &nbsp;I
think <br>
&gt;&gt; that once upon a time I saw some very subtle difference to do
with <br>
&gt;&gt; classloading but like I say I can't remember exactly what the
deal was <br>
&gt;&gt; (it was complicated). &nbsp;It occurred to me that if you were
having <br>
&gt;&gt; NoClassDefErrors thrown then it could be this issue again but
if it <br>
&gt;&gt; works fine for you on an IBM JVM then I expect it was a different
issue.<br>
&gt;&gt;<br>
&gt;&gt;&gt; Only exception I have noticed in b2j is java.io.EOFException
with the <br>
&gt;&gt;&gt; test bpel script when I tested with distributed engines. (It
is a <br>
&gt;&gt;&gt; endurable bug for now. I know b2j is still developing phase.)
But I <br>
&gt;&gt;&gt; have not noticed any &quot;error&quot; messages from VM, not
the exception <br>
&gt;&gt;&gt; messages from program, during the test run.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; That's not so good. &nbsp;Can you tell me what script it is that
fails and <br>
&gt;&gt; email me the EOFException stacktrace please?<br>
&gt;&gt;<br>
&gt;&gt; Does it only occur with the distributed engine?<br>
&gt;&gt;<br>
&gt;&gt;&gt; Oh, I see. Yes, I am temporarily doing with the full B2J jar
on a <br>
&gt;&gt;&gt; common PC. I am transitting from design phase to development
phase. <br>
&gt;&gt;&gt; Feasibility is the main activity. Right. Sure, I will wait.<br>
&gt;&gt;&gt; I really appreciate you effort.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; No problem, I am making progress with the conversion to the B2J
XML <br>
&gt;&gt; parser and it seems like it will be feasible to make B2J use it
all <br>
&gt;&gt; over (B2J has turned out to be quite a thorough test of my XML
parser <br>
&gt;&gt; and thrown up a variety of bugs). &nbsp;It adds a total of 16.5K
to the jar <br>
&gt;&gt; (compressed) and would mean (i think) that the only requirement
would <br>
&gt;&gt; be for JSSE libraries, which I should be able to remove just by
using <br>
&gt;&gt; reflection and catching the ClassNotFoundException. &nbsp;These
changes <br>
&gt;&gt; (plus perhaps one or two other ones I expect I have missed) should
<br>
&gt;&gt; make B2J able to run with only 1.3 JVM libraries. &nbsp;Once thats
done I <br>
&gt;&gt; will try running on a Java ME JVM.<br>
&gt;&gt;<br>
&gt;&gt; thanks<br>
&gt;&gt;<br>
&gt;&gt; Antony<br>
_______________________________________________<br>
stp-newsgroup mailing list<br>
stp-newsgroup@eclipse.org<br>
https://dev.eclipse.org/mailman/listinfo/stp-newsgroup<br>
</font></tt>
<br>
--=_alternative 002D5CA74925718D_=--
Previous Topic:[stp-newsgroup] classes exclusion for runtime version
Next Topic:[stp-newsgroup] Phil Coulthard/Toronto/IBM is out of the office
Goto Forum:
  


Current Time: Thu Sep 18 18:04:51 GMT 2014

Powered by FUDForum. Page generated in 0.18055 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software