Using STEs in a WCF Client Using the Java Application Client

I developed my DAL using the Entity Framework (Self Tracking Entities). I wrote a WCF service that provides some CRUDE operations for these STEs.

I want to use my WCF service in a Java application (client).

Will STE work properly in my Java client application? I mean, if a java client application makes changes to my self-examination object, will these changes be tracked?

0
source share
1 answer

Not. STEs only work if you share the collection with their logic between the server and the client application. After your client application is Java, it cannot use your assembly with STE logic (maybe this may be due to advanced interaction, but this is not a solution to the poor design of your service), so Java developers should re-encode all the logic or use simple POCOs / DTO without this automatic magic. A WCF service that displays datasets or STEs is not compatible because it requires specific logic implemented on clients.

Btw. We warned you about STE flaws!

+1
source

All Articles