About Question enthuware.ocejws.v6.2.209 :

Moderators: Site Manager, fjwalraven

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

About Question enthuware.ocejws.v6.2.209 :

Post by javabean68 » Sat Jul 14, 2018 12:35 pm

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: 423
Joined: Tue Jul 24, 2012 2:43 am
Contact:

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

Post by fjwalraven » Sun Jul 15, 2018 3:28 am

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 » Thu Aug 30, 2018 4:34 am

javabean68 wrote:
Sat Jul 14, 2018 12:35 pm
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 phenq worth it 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 3 guests