You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Periklis Tsirakidis <pe...@mayflower.de> on 2007/08/17 19:49:34 UTC

BeanUtil Potentials

Hi,

i am trying to figure out how powerful the BeanUtil is and read couple
of articles on the net, as well as the article on wso2.org. The BeanUtil
class is as far as i understood the api from the java-docs able to
create an OMElement from a bean and also deserialize an OMElement to Bean.

Unfortunately i found only examples where the beans are quite simple
with properties of the set of primitives datatypes. Is BeanUtil then
also able to handle a nested object structure like this:

Sheet (Sheet.java)
---> name
---> date
---> List of Sections (Section.java)
	-> Section 1
     	 ----> List of Positions (Position.java)
	.
	.
	.
	-> Section n

If not, what i assume, what is the best practice with axis to expose
such a bean in a service?
Let's say a fictive service exposes to functions that get Sheets as
parameters and return again sheets back.

It should work on an tomcat 5.5 with axis2 1.3.

periklis

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: BeanUtil Potentials

Posted by Deepal jayasinghe <de...@gmail.com>.
Periklis Tsirakidis wrote:
> Hi,
>
> i am trying to figure out how powerful the BeanUtil is and read couple
> of articles on the net, as well as the article on wso2.org. The BeanUtil
> class is as far as i understood the api from the java-docs able to
> create an OMElement from a bean and also deserialize an OMElement to Bean.
>
> Unfortunately i found only examples where the beans are quite simple
> with properties of the set of primitives datatypes. Is BeanUtil then
> also able to handle a nested object structure like this:
>
> Sheet (Sheet.java)
> ---> name
> ---> date
> ---> List of Sections (Section.java)
> 	-> Section 1
>      	 ----> List of Positions (Position.java)
> 	.
> 	.
> 	.
> 	-> Section n
>
> If not, what i assume, what is the best practice with axis to expose
> such a bean in a service?
>   
yes , it does support that . Why don't you write a sample application
and see what happen ?

Thanks
Deepal

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org