> Beans? Can you elaborate on this approach (if possible use the Common
> Tongue as some of us aren't Java guys).
There is only java in my world ;)
Sorry, should have read all of the posts, I was just looking at the LLRP
stuff we are doing right now and that is java-only stuff.

A bean is just a convention in java on how to lay out a class.
The interesting part is the annotation an jaxb part.
By annotating a java class one can for example specify how parameters
have to look like (max values, min values, regular expressions ...) that
go into a method.
The JAXB compiler gathers that information from the java files and
creates a XSLT file.
The advantage of this is that all information is kept within the
sorucecode and modifications to the sourcecode can instantly be
reflected to the annotations.
I prefer that way over the code generation approach mentioned earlier
for same reasons mentioned earlier.
Just an idea I threw in without having read all of the posts in here.

Cheers
Jochen


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
llrp-toolkit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel

Reply via email to