Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I'm not sure what they want to know. <BR> You can use frameworks such as <a href="http://commons.apache.org/beanutils/" rel="nofollow">apache-bean-utils</a> to query information about bean structure. <BR> I developed such a code manually (big mistake! :) ) - <BR> I used a recursive mechanism based on java bean notation (i.e - setters must begin with "set", <BR> getters begin with "is" for boolean or "get" for all types)<BR> You then can us this code to automate some behavior - <BR> At my case fo example I wrote a tool that parses WSDL, and creates binding between WS calls and our application entitites via code. <BR> The user of our application provided an XML indicating how to perform a mapping - <BR> i.e - let's say that a WS call returned a Person object, but in our application we had a student entity<BR> so the XML defined how to perform the mapping, and I used code like apache-bean-utils to perform introspection <BR> and to understand what setters and getters to invoke. <BR> This was done in contrast to what is done usually in java applications: <BR> 1. Generate Java clients (i.e - use wsdl2java) from WSDL <BR> 2. Compile the application with the client code. <BR><BR> I can assume introspection can be used in profilers code - for example, <BR> Since there are many frameworks that use getters and setters , it is very improtant that these methods will be efficient, <BR> so it's something that mabye profiles should first look into. <BR></p> <p>Feel free to add more questions</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload