Hi Wouter


Yep - sounds like Chad is flat out with 3.1!




Quote:
(you mean the controller classes emitted by the bpm4struts cartridge, right ?)
(end of quote)
 



yep




Quote:
I am interested to know why you prefer exposing pojos directly to the clients 
through these webservices .. why are you doing that ?
(end of quote)




Good question - I'm using webservices in a very contained scenario, whereby 
services are only created for a single dedicated client. This makes the 
services application specific. My team creates the services,  my team creates 
the client. Our processes propagate service changes quickly and easily to the 
client. Additionally, for some administration capabilities (eg CRUD) our 
service client auto generates UIs based on the SOAP message received (or the 
WSDL). Therefore, changing an entity and regenerating through andro can be 
immediately reflected in the UI. In this case I especially don't want the extra 
layer of abstraction through value objects.



The client I'm talking about is a stateful AJAX browser framework which calls 
and consumes WebServices directly. We have a complete development paradigm 
based around this, which turns our J2EE web applications into purely a J2EE 
service strategy (no struts, jsp, nothing). 

 

Also - just to clarify re collections, in my example scenario (initial post), 
the webservice methods are only returning single entities and single 
valueobjects (not arrays or collections). The Struts controller is able to 
access the Entity and Value Object perfectly, but with the different webclients 
I tried, the service can't return the entity without serialisation problems.



Cheers,

Simon
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1577#1577
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to