::::::::::::::::::::::::::
Home
Home Page
Method of generation of a code
Displays
Result of binding of the data
Systems of patterns of pages
Data acquisition without use XML
Data acquisition without use XML
Use JSON on the party of the client
Improved online shop
Review Ajax
Departure XMLHttpRequest
Processing of search servleta
 The search processing with help JavaScript
Problems of use Ajax
As it was more than once spoken, organization W3C is engaged mainly in development and creation of b
OASIS
Hands off PHP!
Automatic redirect (Auto Redirect) on PHP
Breaking of passwords becomes more accessible
Web2.0 Layout
Links
:::::::::::::::::::::::::

 

Method of generation of a code


Circuits of linkage which include generation of a code, are carried out by means of programs, such as XMLBeans, JAXB, Zeus and Jbind. Castor also can apply this technics{technical equipment}. The beginning of any structure is the XML-circuit which describes types of given your documents. Using the means caused by structure, you then generate Java-classes which represent these types determined by the circuit. At last you write your application, using these generated classes for performance of your data of model and their serialization in XML by means of the convenient mechanism caused by structure.


The approach of generation of a code is very good, when your application processes great volume of the XML-given. There is a certain problem of a spelling of usual XML-serialization of methods for tens classes. On the other hand you any more will not need to define{determine} your own JavaBean. the Java-classes generated by structure, usually follow XML-structures that can result to that they will be extremely bulky for a code. Also the generated classes sometimes become dust as you cannot simply add to them type. Figuratively speaking, you will need to go on the compromise in your code of the application much{a lot of;many} to play with the types generated by structure. Other "reef" is that change in the circuit will lead to to updating in the generated classes that can put the big harm to the applications written with such classes.


XML-structures of linkage of such type are most useful in an arrangement of the data (t. e, use of XML-documents and their transformation to Java-objects). Until then while you will not have model of the data for great volume and you do not want to benefit from use of the classes generated for you, the structures based on generation of a code, probably, will be excessive for Ajax-applications.