I am currently working on a project with Spring web service sleeping and JAXb.
1) I generated hibernate beans using IDE 's sleeping code generation,
2) also, I created jaxb beans using the maven compiler.
..
Now, my question is:
1) Is this correct? (so there are so many beans).
2) Should I use JAXb beans for service level processing? How can I keep the layers in the decoupling?
3) Or I need to create another set of beans i.e. map (JAXb beans) to (new beans) to (hibernate beans)?
.
Please tell us your opinions?
Thanks adi
source
share