[jboss-user] [JBoss Seam] - Re: Public members as bean properties within EL?

christian.bauer@jboss.com do-not-reply at jboss.com
Mon Jan 8 02:28:40 EST 2007


"SmokingAPipe" wrote : 
  | 
  |   | class Foo {
  |   |    private String name;
  |   |    public String getName() { return name; }
  |   | }
  |   | 
  | 
  | JAXB was giving me an error that there were two fields with the same name. 
  | 

That would mean JAXB is not JavaBeans compliant. It's either properties (with getter and setter methods) or fields, not both.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998864#3998864

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998864



More information about the jboss-user mailing list