Hi,
I'd like to announce release 1.07 of the JaxMe Java/XML
binding tool. It introduces a new feature, which is of
special interest for the JBoss community: JaxMe views.
A JaxMe view can be imagined as a stateless EJB session
bean, that gives access to certain predefined SQL queries.
The SQL queries are returned as a set of XML documents.
For example, a list of addresses might be returned by
methods
List listByZip(String pZip);
List listByCountry(String pCountry);
List listByType(Integer pType);
all of which return XML documents of the same structure.
By "XML documents" I refer to a set of Java objects like
public class Address {
public String getZip();
public void setZip(String pZip);
...
public String toXML();
}
which can be converted into XML using the toXML() method
or be parsed from XML using an automatically generated
SAX parser.
JaxMe can also create the associated EJB entity bean with
methods like
List findByZip(String pZip);
List findByCountry(String pCountry);
List findByType(Integer pType);
however, the use of the session bean and the listXXX() methods
is typically faster, because the entity beans need not be
instantiated.
JaxMe is available from http://jaxme.sourceforge.net/.
Comments welcome,
Jochen Wiedmann
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user