About Question enthuware.ocejws.v6.2.209 :

Moderators: Site Manager, fjwalraven

Post Reply
javabean68
Posts: 31
Joined: Wed Mar 16, 2016 8:38 am
Contact:

About Question enthuware.ocejws.v6.2.209 :

Post by javabean68 »

Hi Frits

you says
The MathTable class is a JAXB application class (and JAX-RS provides a standard MessageBodyReader and MessageBodyWriter for JAXB classes)
@XmlRootElement
Is the toString method in the JAXB class then necessary? :?:

Thanks
Regards
Fabio

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

Re: About Question enthuware.ocejws.v6.2.209 :

Post by fjwalraven »

Hi Fabio,

Have you tried it without?

Regards,
Frits

PaulWheeler
Posts: 1
Joined: Wed Aug 29, 2018 2:58 pm
Contact:

Re: About Question enthuware.ocejws.v6.2.209 :

Post by PaulWheeler »

javabean68 wrote:
Sat Jul 14, 2018 12:35 pm
Hi Frits

you says
The MathTable class where can i find phen375 gnc is a JAXB application class (and JAX-RS provides a standard MessageBodyReader and MessageBodyWriter for JAXB classes)
@XmlRootElement
the toString method in the JAXB class then necessary? :?:

Thanks
Regards
Fabio
toString is used to reprsent the record values to human in a readable format. System.out.println(t) its the same System.out.println(t.toString()) toString is for other people to see what you class have so they can have an idea about you class.

Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests