Re: XMLBeans ? is there a better approach

2008-08-01 Thread David Ojeda
Hello Sriram,

Yes, scomp compiles without any OutofMemoryExceptions. However, I had to 
increase the memory to 384mb, -Xmx and -Xms work fine also in case you need to 
increase the memory.


When using wsdl2java I use the following options, it doesn't compile the schema 
at all since it uses the -Edwc option.








   
 
  



  
   



 

Service classes generated with WSDL2Java, erasing classes that 
will 
be replaced by xmlbeans classes














This is my xmlbeans task:








On Friday 01 August 2008 05:04:01 am sri ram wrote:
> Hi David,
>    I just wanted to confirm regarding this.
> Does the scomp compiler doesn't show any Out of Memory Exeptions?
> And Moreover when we use  wsdl2java command we do mention the databinding
> using -d option ,if we mention XMLBeans in that option will it not
> recompile the schema.Or is there a way to eliminate the recompiling of the
> schema .
>
> Would like to know your ideas on this which is of a great help .
> Thanks And Regards
> Sriram P
>
>
>
>
> --- On Fri, 1/8/08, David Ojeda <[EMAIL PROTECTED]> wrote:
> From: David Ojeda <[EMAIL PROTECTED]>
> Subject: Re: XMLBeans ? is there a better approach
> To: axis-user@ws.apache.org
> Date: Friday, 1 August, 2008, 3:50 AM
>
> Hello,
> I had a similar problem with XMLBeans, but regarding file generation.
> The XSDs I used were very big (10k classes), so this caused an
> OutOfMemoryException when doing wsdl2java.
> The solution I found was generating the XMLBeans classes in a separate xml
> with
>
> scomp and using wsdl2java with the -Ewdc option.
>
> Maybe this idea will help you.
>
> On Thursday 31 July 2008 04:31:13 am sri ram wrote:
> > Hi all,
> >  Can anyone give me the better approach of databinding that I have
>
> to
>
> > follow for my project.This project  has almost 396 method and can be more
> > in the upcoming releases, which are exposed as webservices. So while
> > using XMLBeans  as databinding it created many .java and xsb files .
> > These
>
> files
>
> > take ,quite a long time to get compiled and sometimes have
> > OutOfMemoryException and we have to set out heap size to get rid of this
> > exception. Once the aar file is deployed into the server and send a SOAP
> > request ,the Axis Servlet takes more time to get initialized which is one
> > of the main performance drawback. So can any one suggest a better
> > databinding to  have better performance  as a whole A databinding which
>
> can
>
> > give 100% schema support,Quick response and Quick initialization of the
> > servlet.
> >
> > Thanks And Regards
> > Sriram P
> >   
> >
> >
> > .
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >   Unlimited freedom, unlimited storage. Get it now, on
> > http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/



-- 
Ing. David Ojeda
Integra Consultores
Caracas, Venezuela

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: XMLBeans ? is there a better approach

2008-08-01 Thread sri ram

Hi David,
   I just wanted to confirm regarding this.
Does the scomp compiler doesn't show any Out of Memory Exeptions?
And Moreover when we use  wsdl2java command we do mention the databinding
using -d option ,if we mention XMLBeans in that option will it not recompile 
the schema.Or is there a way to eliminate the recompiling of the schema .

Would like to know your ideas on this which is of a great help .
Thanks And Regards
Sriram P




--- On Fri, 1/8/08, David Ojeda <[EMAIL PROTECTED]> wrote:
From: David Ojeda <[EMAIL PROTECTED]>
Subject: Re: XMLBeans ? is there a better approach
To: axis-user@ws.apache.org
Date: Friday, 1 August, 2008, 3:50 AM

Hello,
I had a similar problem with XMLBeans, but regarding file generation.
The XSDs I used were very big (10k classes), so this caused an 
OutOfMemoryException when doing wsdl2java.
The solution I found was generating the XMLBeans classes in a separate xml with

scomp and using wsdl2java with the -Ewdc option.

Maybe this idea will help you.

On Thursday 31 July 2008 04:31:13 am sri ram wrote:
> Hi all,
>  Can anyone give me the better approach of databinding that I have
to
> follow for my project.This project  has almost 396 method and can be more
> in the upcoming releases, which are exposed as webservices. So while using
> XMLBeans  as databinding it created many .java and xsb files . These
files
> take ,quite a long time to get compiled and sometimes have
> OutOfMemoryException and we have to set out heap size to get rid of this
> exception. Once the aar file is deployed into the server and send a SOAP
> request ,the Axis Servlet takes more time to get initialized which is one
> of the main performance drawback. So can any one suggest a better
> databinding to  have better performance  as a whole A databinding which
can
> give 100% schema support,Quick response and Quick initialization of the
> servlet.
>
> Thanks And Regards
> Sriram P
>   
>
>
> .
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>   Unlimited freedom, unlimited storage. Get it now, on
> http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/



-- 
Ing. David Ojeda
Integra Consultores
Caracas, Venezuela

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




  Connect with friends all over the world. Get Yahoo! India Messenger at 
http://in.messenger.yahoo.com/?wm=n/

Re: XMLBeans ? is there a better approach

2008-08-01 Thread Amila Suriarachchi
On Fri, Aug 1, 2008 at 1:48 PM, sri ram <[EMAIL PROTECTED]>wrote:

> Hi Amila ,
> The other databindings provided by axis2 are ADB and  JIBX
> However XMLBeans provides 100% schema support which is a great advantage of
> using this databinding which may not be there in other databinding's .
> So can any one please tell the advantages of other databindings.


Axis2 provides jaxb data binding as well (-d jaxbri)

ADB - Does not support Xml schema 100% (but it provides most of the common
schema constructs), but faster than others.
Jaxbri - Provides 100% Xml schema support. this is the java standard.
Jibx - Can bind wsdl to use existing classes.

thanks,
Amila.

>
> Thanks And Regards
> Sriram P
>
> --- On *Fri, 1/8/08, Amila Suriarachchi <[EMAIL PROTECTED]>*wrote:
>
> From: Amila Suriarachchi <[EMAIL PROTECTED]>
> Subject: Re: XMLBeans ? is there a better approach
> To: axis-user@ws.apache.org
> Date: Friday, 1 August, 2008, 10:56 AM
>
>
>
>
> On Thu, Jul 31, 2008 at 2:31 PM, sri ram <[EMAIL PROTECTED]>wrote:
>
>>  Hi all,
>>  Can anyone give me the better approach of databinding that I have to
>> follow for my project.This project  has almost 396 method and can be more in
>> the upcoming releases, which are exposed as webservices.
>>  So while using XMLBeans  as databinding it created many .java and xsb
>> files .
>> These files take ,quite a long time to get compiled and sometimes have
>> OutOfMemoryException and we have to set out heap size to get rid of this
>> exception.
>> Once the aar file is deployed into the server and send a SOAP request ,the
>> Axis Servlet takes more time to get initialized which is one of the main
>> performance drawback.
>>   So can any one suggest a better databinding to  have better
>> performance  as a whole A databinding which can give 100% schema
>> support,Quick response and Quick initialization of the servlet.
>
>
> try to use ADB or jaxbri
>
> thanks
> Amila.
>
>>
>>
>> Thanks And Regards
>> Sriram P
>>
>>
>>
>> .
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> Unlimited freedom, unlimited storage. Get it 
>> now<http://in.rd.yahoo.com/tagline_mail_2/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/>
>
>
>
>
> --
> Amila Suriarachchi,
> WSO2 Inc.
>
>
> --
> Unlimited freedom, unlimited storage. Get it 
> now<http://in.rd.yahoo.com/tagline_mail_2/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/>
>



-- 
Amila Suriarachchi,
WSO2 Inc.


Re: XMLBeans ? is there a better approach

2008-08-01 Thread sri ram
Hi Amila ,
The other databindings provided by axis2 are ADB and  JIBX 
However XMLBeans provides 100% schema support which is a great advantage of 
using this databinding which may not be there in other databinding's .
So can any one please tell the advantages of other databindings.
Thanks And Regards
Sriram P
 
--- On Fri, 1/8/08, Amila Suriarachchi <[EMAIL PROTECTED]> wrote:
From: Amila Suriarachchi <[EMAIL PROTECTED]>
Subject: Re: XMLBeans ? is there a better approach
To: axis-user@ws.apache.org
Date: Friday, 1 August, 2008, 10:56 AM



On Thu, Jul 31, 2008 at 2:31 PM, sri ram <[EMAIL PROTECTED]> wrote:


Hi all,
 Can anyone give me the better approach of databinding that I have to 
follow for my project.This project  has almost 396 method and can be more in 
the upcoming releases, which are exposed as webservices.

 So while using XMLBeans  as databinding it created many .java and xsb 
files .
These files take ,quite a long time to get compiled and sometimes have 
OutOfMemoryException and we have to set out heap size to get rid of this 
exception.

Once the aar file is deployed into the server and send a SOAP request ,the Axis 
Servlet takes more time to get initialized which is one of the main performance 
drawback.
  So can any one suggest a better databinding to  have better performance  
as a whole A databinding which can give 100% schema support,Quick
 response and Quick initialization of the servlet.
try to use ADB or jaxbri

thanks
Amila. 




Thanks And Regards 
Sriram P
   


.
















   Unlimited freedom, unlimited storage. Get it now



-- 
Amila Suriarachchi,
WSO2 Inc.





  Unlimited freedom, unlimited storage. Get it now, on 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/

Re: XMLBeans ? is there a better approach

2008-07-31 Thread Amila Suriarachchi
On Thu, Jul 31, 2008 at 2:31 PM, sri ram <[EMAIL PROTECTED]>wrote:

> Hi all,
>  Can anyone give me the better approach of databinding that I have to
> follow for my project.This project  has almost 396 method and can be more in
> the upcoming releases, which are exposed as webservices.
>  So while using XMLBeans  as databinding it created many .java and xsb
> files .
> These files take ,quite a long time to get compiled and sometimes have
> OutOfMemoryException and we have to set out heap size to get rid of this
> exception.
> Once the aar file is deployed into the server and send a SOAP request ,the
> Axis Servlet takes more time to get initialized which is one of the main
> performance drawback.
>   So can any one suggest a better databinding to  have better
> performance  as a whole A databinding which can give 100% schema
> support,Quick response and Quick initialization of the servlet.


try to use ADB or jaxbri

thanks
Amila.

>
>
> Thanks And Regards
> Sriram P
>
>
>
> .
>
>
>
>
>
>
>
>
>
>
>
>
> --
> Unlimited freedom, unlimited storage. Get it 
> now




-- 
Amila Suriarachchi,
WSO2 Inc.


Re: XMLBeans ? is there a better approach

2008-07-31 Thread David Ojeda
Hello,
I had a similar problem with XMLBeans, but regarding file generation.
The XSDs I used were very big (10k classes), so this caused an 
OutOfMemoryException when doing wsdl2java.
The solution I found was generating the XMLBeans classes in a separate xml with 
scomp and using wsdl2java with the -Ewdc option.

Maybe this idea will help you.

On Thursday 31 July 2008 04:31:13 am sri ram wrote:
> Hi all,
>  Can anyone give me the better approach of databinding that I have to
> follow for my project.This project  has almost 396 method and can be more
> in the upcoming releases, which are exposed as webservices. So while using
> XMLBeans  as databinding it created many .java and xsb files . These files
> take ,quite a long time to get compiled and sometimes have
> OutOfMemoryException and we have to set out heap size to get rid of this
> exception. Once the aar file is deployed into the server and send a SOAP
> request ,the Axis Servlet takes more time to get initialized which is one
> of the main performance drawback. So can any one suggest a better
> databinding to  have better performance  as a whole A databinding which can
> give 100% schema support,Quick response and Quick initialization of the
> servlet.
>
> Thanks And Regards
> Sriram P
>   
>
>
> .
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>   Unlimited freedom, unlimited storage. Get it now, on
> http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/



-- 
Ing. David Ojeda
Integra Consultores
Caracas, Venezuela

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: XMLBeans ? is there a better approach

2008-07-31 Thread Samisa Abeysinghe
If you have too many classes, it is hard to help at Axis2 level. May be 
you should break the service up into set of services that are of 
manageable sizes using the service group concepts.


Samisa...

sri ram wrote:

Hi all,
 Can anyone give me the better approach of databinding that I have 
to follow for my project.This project  has almost 396 method and can 
be more in the upcoming releases, which are exposed as webservices.
 So while using XMLBeans  as databinding it created many .java and 
xsb files .
These files take ,quite a long time to get compiled and sometimes have 
OutOfMemoryException and we have to set out heap size to get rid of 
this exception.
Once the aar file is deployed into the server and send a SOAP request 
,the Axis Servlet takes more time to get initialized which is one of 
the main performance drawback.
  So can any one suggest a better databinding to  have better 
performance  as a whole A databinding which can give 100% schema 
support,Quick response and Quick initialization of the servlet.


Thanks And Regards
Sriram P
  



.













Unlimited freedom, unlimited storage. Get it now 
 




--
Samisa Abeysinghe

http://people.apache.org/~samisa/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



XMLBeans ? is there a better approach

2008-07-31 Thread sri ram
Hi all,
 Can anyone give me the better approach of databinding that I have to 
follow for my project.This project  has almost 396 method and can be more in 
the upcoming releases, which are exposed as webservices.
 So while using XMLBeans  as databinding it created many .java and xsb 
files .
These files take ,quite a long time to get compiled and sometimes have 
OutOfMemoryException and we have to set out heap size to get rid of this 
exception.
Once the aar file is deployed into the server and send a SOAP request ,the Axis 
Servlet takes more time to get initialized which is one of the main performance 
drawback.
  So can any one suggest a better databinding to  have better performance  
as a whole A databinding which can give 100% schema support,Quick response and 
Quick initialization of the servlet.

Thanks And Regards 
Sriram P
   


.














  Unlimited freedom, unlimited storage. Get it now, on 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/