You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Dominik Stoklosa <os...@man.poznan.pl> on 2006/04/19 10:34:30 UTC

Re: XmlBeans and Standalone app

Hi Radu,

I just wanted to know whether you are going to comment on my previous mail.

Thanks in advance
Dominik

Dominik Stoklosa wrote:
> Dear Radu,
> 
> Thanks for your response. As I wrote in the previous mail XmlBeans are 
> definitely very useful in many certain ways. The only disadvantage (from 
> my perspective) is the size of the package. I do realize that splitting 
> the jar may be difficult, but it would be very useful.
> 
> Answering your question I am using the xmlbeans in the following ways :
> 1). generate the object model from the XSD schema
> this is done olny ones. Each generated model is packed into the separate 
> jar file, which is then used in the WebStart app.
> 
> 2). having generated the java object model of the schema I am loading 
> xml documents i.e. SomeXSDDocument.Factory.parse(xml_source) , changing 
> them through JavaBeans-style accessors after the fashion of "getFoo" and 
> "setFoo" and finally store them back.
> 
> So to conclude it would be perfect if I could get the functionality to 
> parse the xml documents based on the generated XSD models bundled in one 
>  jar.
> 
> Best regards,
> osa
> 
> Radu Preotiuc-Pietro wrote:
>> Actually, I have looked at that some time ago (like 2 yrs ago...), and 
>> what I remember is reaching the conclusion that there was no easy way 
>> to separate the big jar into multiple small ones in a useful way (I 
>> guess part of the reason was that the appeal of XmlBeans is that is 
>> offers so many things into one tightly integrated package)
>>  
>> What area of functionality that you are currently using you would be 
>> interested in seeing as a standalone jar?
>>  
>> Radu
>>
>> ------------------------------------------------------------------------
>> *From:* Alex Soto [mailto:alex.soto@grifols.com]
>> *Sent:* Friday, March 24, 2006 7:00 AM
>> *To:* user@xmlbeans.apache.org
>> *Subject:* Re: XmlBeans and Standalone app
>>
>> I have the same problem too, but im using an embbeded computer, so it 
>> owuld be great if xml beans can come like spring jars, so you can use, 
>> the jars you really need.
>>
>> El dv 24 de 03 del 2006 a les 15:55 +0100, en/na Dominik Stoklosa va 
>> escriure:
>>> Hello,
>>>
>>> I have an inquiry about the latest release of the Xml Beans  (2.1.0). 
>>> To be more specific about the xbeans.jar size. The size of the jar 
>>> file is   around 2,6 MB, which is not that much taking the 
>>> capabilities of the present computers into consideration. However, I 
>>> am deploying my application using java web start technology. The 
>>> application is pretty big itself, it also uses several jar files (in 
>>> fact none of them is such big as xml beans one) and adding such a 
>>> huge jar to the deployment will affect the download speed, especially 
>>> when the end user possess poor network bandwidth.
>>>
>>> So, finally my question is what are my choices if i want to use xml 
>>> beans? Is is possible to  use some smaller jar file? Do you plan to 
>>> devide xml beans according to the functionality ?
>>>
>>> The way I use the xml beans is to generate my own several object 
>>> models and than I am using them in the application. The most common 
>>> task is to load an existing xml file according to the corresponding xsd.
>>>
>>> Any tips or help would be greatly appreciated.
>>> Please also note that I would prefer to avoid removing unused classes 
>>> manually from the XmlBeans jar file.
>>>
>>> Regards,
>>> osa
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org 
>>> <ma...@xmlbeans.apache.org>
>>> For additional commands, e-mail: user-help@xmlbeans.apache.org 
>>> <ma...@xmlbeans.apache.org>
>>>
>> La información contenida en el presente e-mail es confidencial y está 
>> reservada para el uso exclusivo de su destinatario. Se prohíbe 
>> estrictamente la distribución, copia o utilización de esta información 
>> sin el previo permiso de su destinatario. Si usted no fuera el 
>> destinatario, por favor notifíquelo inmediatamente al remitente y 
>> elimine el presente mensaje de su sistema informático.
>>
>> Information contained in this e-mail is confidential and is intended 
>> for the use of the addressee only. Any dissemination, distribution, 
>> copying or use of this communication without prior permission of the 
>> addressee is strictly prohibited. If you are not the intended 
>> addressee, please notify the sender immediately by reply and then 
>> delete this message from your computer system.
>>
>> _______________________________________________________________________
>> Notice:  This email message, together with any attachments, may contain
>> information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
>> entities,  that may be confidential,  proprietary,  copyrighted  and/or
>> legally privileged, and is intended solely for the use of the individual
>> or entity named in this message. If you are not the intended recipient,
>> and have received this message in error, please immediately return this
>> by email and then delete it.
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
> For additional commands, e-mail: user-help@xmlbeans.apache.org
> 
> 


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