« Return to Thread: How to isolate application from generated stubs

How to isolate application from generated stubs

by metro-3 :: Rate this Message:

Reply to Author | View in Thread

Hi all,

I've an application with the classic layers: presentation, business and data access.

In my data access layer, I access an Authorization web service to get user roles.

In order to isolate other layers from DAL, I'd like to use my own domain classes instead of the generated stubs with JAX-WS/JAXB.

Can someone with more experience point to me which a good practice? Would be plain conversion of the stub objects returned from the WS into my domain classes? Or any other solution?

thanks a lot,

Daniel
[Message sent by forum member 'dpmelo' (dpmelo)]

http://forums.java.net/jive/thread.jspa?messageID=353823

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: How to isolate application from generated stubs