{"id":11,"date":"2003-10-17T14:58:26","date_gmt":"2003-10-17T14:58:26","guid":{"rendered":"http:\/\/www.pleus.net\/blog\/?p=11"},"modified":"2010-08-13T00:13:44","modified_gmt":"2010-08-12T22:13:44","slug":"cripple-objects-in-the-web-services-world","status":"publish","type":"post","link":"https:\/\/www.pleus.net\/blog\/?p=11","title":{"rendered":"Cripple Objects In The Web Services World"},"content":{"rendered":"<p>When you read different forums there is a lot of talk about serialisation of plattform dependent types.<br \/>\nPepole are asking how to get a .NET Type (e.g. DataSet) from Java or vice versa (e.g. Resultset).<br \/>\nIf you are developing end to end .NET or J2EE applications you don&#8217;t have to worry about that. The runtime does most of the work for you and if you ask for a DataSet you will get one.<br \/>\nBut when it comes to cross plattform what will you get when you ask for a DataSet from an J2EE application ?<br \/>\nTo answer this Question we have ask another one.<\/p>\n<p>What makes up an object ? Answer: It&#8217;s state and behaviour.<\/p>\n<p>When you request a DataSet you will only get the state and type information. But what makes a DataSet so powerful ? It&#8217;s the behaviour.<br \/>\nIf you don&#8217;t have the concept of a DataSet on the J2EE platform you can get only the half of the object representation. It&#8217;s a cripple object.<br \/>\nThe same it true when you request a Java Resultset from .NET.<\/p>\n<p>In order to develop interoperable Web Services you have to rely on XML Schema types only. First define the schema and wsdl contract and then generate the service from it.<br \/>\nIt&#8217;s the same as you might know from CORBA or COM Interface Definition Language (IDL).<\/p>\n<p>Tool support is available:<br \/>\n<font face=\"Courier\"><br \/>\n.NET   -> wsdl.exe \/server &#8230; <br \/>\nJWSDP -> wscompile -gen:server &#8230;<br \/>\n<\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you read different forums there is a lot of talk about serialisation of plattform dependent types. Pepole are asking how to get a .NET Type (e.g. DataSet) from Java or vice versa (e.g. Resultset). If you are developing end to end .NET or J2EE applications you don&#8217;t have to worry about that. The runtime &hellip; <a href=\"https:\/\/www.pleus.net\/blog\/?p=11\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Cripple Objects In The Web Services World<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,1],"tags":[],"class_list":["post-11","post","type-post","status-publish","format-standard","hentry","category-soa","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.pleus.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pleus.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pleus.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pleus.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pleus.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11"}],"version-history":[{"count":2,"href":"https:\/\/www.pleus.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11\/revisions"}],"predecessor-version":[{"id":380,"href":"https:\/\/www.pleus.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11\/revisions\/380"}],"wp:attachment":[{"href":"https:\/\/www.pleus.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pleus.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pleus.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}