User Profile

Collapse

Profile Sidebar

Collapse
cstacy
cstacy
Last Activity: Jun 4 '10, 04:38 PM
Joined: May 11 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • cstacy
    replied to problem with classes: client v. web service
    Let me ask this a different way.

    What is the best practice for using the same object definitions on the client and service side? My objects happen to be trivial to serialize, but are composite objects (eg. Foo.title, Foo.text, Foo.issueNumber ; members are just strings and ints and such).

    The way I am doing it now is that I have a third project that has class definitions in it; both client and server side have references...
    See more | Go to post

    Leave a comment:


  • cstacy
    replied to problem with classes: client v. web service
    Thanks, but your tutorial doesn't seem to have anything to do with what I asked.
    See more | Go to post

    Leave a comment:


  • cstacy
    started a topic problem with classes: client v. web service

    problem with classes: client v. web service

    My application sometimes wants to process objects it gets from a web service, but sometimes wants to process purely local objects. In either case, the objects implement the same protocol. For example, both locally created and ws created objects have a "title" property that I want to read.

    I would like to have a shared definition of this common protocol, and I would like to call the same method names on both kinds of...
    See more | Go to post
No activity results to display
Show More
Working...