Originally posted by H. Hafer:
Parag,
since the web tier shouldn't know too much about the internals of the ejb tier and there're several patterns to achieve that (e.g., BD, Facade) my guess would be VO using an update strategy if that's necessary.
HTH,
Harbo
Harbo,
Yeah, the VO update strategy works where updates are needed to be sent across to the ejb tier. Thats not a problem.
My problem can be best illustrated with an example : I have a service interface which prices a Product and I want to pass the Product which it should price,my problem is that the Product is passed as a ProductVO from tier to tier and as a result of which, my interface method is now getPrice(ProductVO) instead of getPrice(Product), which doesnt look nice as anyone requiring that service would have to create a ProductVO first and then access this service, which seems rather restricting.
what is the way out of this VO-ness?
Parag