did you check ByteArrayOutputStream? Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau
2014-04-10 10:41 GMT+02:00 mauro2java2011 <[email protected]>: > Supoose i have a ejb named DAO and a entity named Photo. > The Photo contains a properties bytes[] immagine . > the entyty is persisted with jpa into db. > so into my class for rest i can : > @Inject DAO dao; > Photo photo= dao.getPhoto(Long id); > byte by=photo.getImmagine(); > > and how is it the code for output stream ??? > > > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/how-stream-a-image-from-a-web-service-apache-cxf-tp4668691p4668696.html > Sent from the OpenEJB User mailing list archive at Nabble.com.
