You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by ext2 <xu...@tongtech.com> on 2010/07/12 11:25:50 UTC
How to un-serialize the SDO object using a specified Context?
By default, Tuscany sdo's implementation will choose the default context to
un-serialize the sdo.
But how to specified the context to do un-serialize?
If there is no standard way to do so, a special Tuscany SDO API will be
preferred.
Thanks any suggestion
Re: How to un-serialize the SDO object using a specified Context?
Posted by ext2 <xu...@tongtech.com>.
It's great.
thanks a lot
_____
From: Frank Budinsky [mailto:frankb@ca.ibm.com]
Date: 2010/7/12 21:43
To: user@tuscany.apache.org
Subject: Re: How to un-serialize the SDO object using a specified Context?
Forgot to mention, you can create the SDOObjectInputStream by calling:
SDOUtil.createObjectInputStream(inputStream, helperContext);
Frank.
Inactive hide details for Frank Budinsky---07/12/2010 09:23:12 AM---Tuscany
provides a nonstandard way to do this. You need to Frank
Budinsky---07/12/2010 09:23:12 AM---Tuscany provides a nonstandard way to do
this. You need to use org.apache.tuscany.sdo.lib.SDOObjectI
From:
Frank Budinsky/Toronto/IBM@IBMCA
To:
user@tuscany.apache.org
Date:
07/12/2010 09:23 AM
Subject:
Re: How to un-serialize the SDO object using a specified Context?
_____
Tuscany provides a nonstandard way to do this. You need to use
org.apache.tuscany.sdo.lib.SDOObjectInputStream. You can pass a target
HelperContext in the SDOObjectInputStream ctor.
Frank.
"ext2" <xu...@tongtech.com> wrote on 07/12/2010 05:25:50 AM:
> [image removed]
>
> How to un-serialize the SDO object using a specified Context?
>
> ext2
>
> to:
>
> user
>
> 07/12/2010 05:26 AM
>
> Please respond to user
>
> By default, Tuscany sdo's implementation will choose the default context
to
> un-serialize the sdo.
> But how to specified the context to do un-serialize?
> If there is no standard way to do so, a special Tuscany SDO API will be
> preferred.
>
> Thanks any suggestion
>
>
Re: How to un-serialize the SDO object using a specified Context?
Posted by Frank Budinsky <fr...@ca.ibm.com>.
Forgot to mention, you can create the SDOObjectInputStream by calling:
SDOUtil.createObjectInputStream(inputStream, helperContext);
Frank.
From: Frank Budinsky/Toronto/IBM@IBMCA
To: user@tuscany.apache.org
Date: 07/12/2010 09:23 AM
Subject: Re: How to un-serialize the SDO object using a specified Context?
Tuscany provides a nonstandard way to do this. You need to use
org.apache.tuscany.sdo.lib.SDOObjectInputStream. You can pass a target
HelperContext in the SDOObjectInputStream ctor.
Frank.
"ext2" <xu...@tongtech.com> wrote on 07/12/2010 05:25:50 AM:
> [image removed]
>
> How to un-serialize the SDO object using a specified Context?
>
> ext2
>
> to:
>
> user
>
> 07/12/2010 05:26 AM
>
> Please respond to user
>
> By default, Tuscany sdo's implementation will choose the default context
to
> un-serialize the sdo.
> But how to specified the context to do un-serialize?
> If there is no standard way to do so, a special Tuscany SDO API will be
> preferred.
>
> Thanks any suggestion
>
>
Re: How to un-serialize the SDO object using a specified Context?
Posted by Frank Budinsky <fr...@ca.ibm.com>.
Tuscany provides a nonstandard way to do this. You need to use
org.apache.tuscany.sdo.lib.SDOObjectInputStream. You can pass a target
HelperContext in the SDOObjectInputStream ctor.
Frank.
"ext2" <xu...@tongtech.com> wrote on 07/12/2010 05:25:50 AM:
> [image removed]
>
> How to un-serialize the SDO object using a specified Context?
>
> ext2
>
> to:
>
> user
>
> 07/12/2010 05:26 AM
>
> Please respond to user
>
> By default, Tuscany sdo's implementation will choose the default context
to
> un-serialize the sdo.
> But how to specified the context to do un-serialize?
> If there is no standard way to do so, a special Tuscany SDO API will be
> preferred.
>
> Thanks any suggestion
>
>